WO2015159120A1 - Dynamic color depth for hdcp over hdmi - Google Patents
Dynamic color depth for hdcp over hdmi Download PDFInfo
- Publication number
- WO2015159120A1 WO2015159120A1 PCT/IB2014/060717 IB2014060717W WO2015159120A1 WO 2015159120 A1 WO2015159120 A1 WO 2015159120A1 IB 2014060717 W IB2014060717 W IB 2014060717W WO 2015159120 A1 WO2015159120 A1 WO 2015159120A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color depth
- woo
- selected frame
- frame
- video data
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4367—Establishing a secure communication between the client and a peripheral device or smart card
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
- H04N21/43632—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
- H04N21/43635—HDMI
Definitions
- the invention relates to the field of High-bandwidth Digital Content Protection (HDCP) over High Definition Multimedia Interface (HDMI).
- HDCP High-bandwidth Digital Content Protection
- HDMI High Definition Multimedia Interface
- HDMI high definition multimedia
- Color depth is used to describe the number of bits used in a single pixel to make up a color. The more bits per pixel, the better the transition from one color to another and the more detailed the different shades of a specific color that are adjacent to one another. Since passing the color depth information to the downstream device is optional, it is not implemented in all devices.
- the High Definition Multimedia Interface supports video data in four different color depths defined in the frames, namely 24, 30, 36 and 48 bits.
- the beginning of a frame is marked with a vertical synchronization (VSYNC) signal.
- the video frame data is represented by pixels and categorized into three different sets, namely control data, data islands and video data. The size of each pixel corresponds to the color depth. But when the frame is transported, it is transmitted through a 24-bit bus referred to as the Transition-Minimized Differential Signaling (TMDS).
- TMDS Transition-Minimized Differential Signaling
- the window of opportunity is used to mark whether a frame is encrypted or unencrypted. If the frame is encrypted, the control bus in the TMDS is marked with 4'h9 during the WOO. The value 4'h9 can only be seen in the control bus (4-bit wide) during the WOO when transmitting an encrypted frame. If the value 4'h9 is seen in the control bus outside of the WOO or in an unencrypted frame, then it is an erroneous frame.
- the WOO is typically defined as the interval between the 512 th and 527 th pixel clocks after the VSYNC of every frame.
- the start of the WOO is fixed to the 512 bit clock cycles, regardless of the color depths which means that it would be impossible to properly decrypt a frame if the color depth is not set to 24-bits, because the 4'h9 signal will not be found in the proper location.
- an adaptive mechanism is needed to identify whether a frame is encrypted regardless of the color depth.
- a method for determining the color depths of the video data for a selected frame in High-bandwidth Digital Content Protection (HDCP) video data transmitted over a High Definition Multimedia Interface (HDMI), in which (a) the beginning of the selected frame is marked with a vertical synchronization (VSYNC) signal and (b) a mark in a window of opportunity (WOO) for the selected frame indicates whether or not that frame is encrypted.
- HDCP High-bandwidth Digital Content Protection
- HDMI High Definition Multimedia Interface
- the method detects, for the selected frame, the length of the interval between a VSYNC signal and the location of at least one of (i) the start of the corresponding WOO and (ii) the mark indicating whether or not the selected frame is encrypted, and then determines the color depth of the video data for the selected frame based on the detected length.
- FIG. 1 illustrates a pipeline of pixels used for dynamic color depth determination.
- the clock cycles are counted starting at the rising edge of the VSYNC and the correct color depth can be determined by looking at the 4'h9 signal in the control bus.
- the system can adaptively synchronize to the WOO based on two windowing schemes WOO on 24 bit and WOO on color depth depending on which one is used.
- a pipeline of four pixels can be used for establishing the color depth.
- pre-authorization and authorization (pre-AUTH and AUTH) mode as defined in the HDCP standard
- CEE Content Encryption Engine
- a VSYNC pulse is received by a Finite State Machine (FSM) and the counters are reset.
- FSM detects the 4'h9 signal in the TMDS control bus during one of four successive WOO's.
- the location of the 4'h9 control signal in the TMDS control (CTRL) word is determined and the color depth (CD) is inferred based on Table 2.
- the adaptive color depth detection is implemented with Low Hardware Resources Solution and with few Blank Frames.
- the CEE collects the color depth information of a first few encrypted frames based on TMDS-CTRL signal set to 4'h9. Then uses the detected color depth to find the location of the 4'h9 signal to properly decrypt the frames. Until the color depth is determined, all frames are set to the color depth of the last unencrypted frame. [0015] In another embodiment, the adaptive color depth detection is implemented with a High Resources Solution without losing encrypted frames.
- the CEE is prepared for decryption at the rising edge of the Vertical Synchronisation (VSY C) of the first frame in PRE-AUTH and AUTH mode.
- the 4'h9 signal is located in the WOO and the color depth is assigned as per table above then the decryption start immediately.
- HDMI signals are noisy, other variations can be implemented such as collecting statistics on the position of the 4'h9 signals to increase the speed at which it is located.
- a histogram of the location can be generated over a period of time and the histogram along with optional additional statistical methods can be used to predict the location of the 4'h9 signal, which is the color depth as per table 1.
Abstract
A method for determining the color depths of the video data for a selected frame in High- bandwidth Digital Content Protection (HDCP) video data transmitted over a High Definition Multimedia Interface (HDMI), in which (a) the beginning of the selected frame is marked with a vertical synchronization (VSYNC) signal and (b) a mark in a window of opportunity (WOO) for the selected frame indicates whether or not that frame is encrypted. The method detects, for the selected frame, the length of the interval between a VSYNC signal and the location of at least one of (i) the start of the corresponding WOO and (ii) the mark indicating whether or not the selected frame is encrypted, and then determines the color depth of the video data for the selected frame based on the detected length.
Description
DYNAMIC COLOR DEPTH FOR HDCP OVER HDMI
FIELD OF THE INVENTION
[0001] The invention relates to the field of High-bandwidth Digital Content Protection (HDCP) over High Definition Multimedia Interface (HDMI).
BACKGROUND OF THE INVENTION
[0002] (HDMI) standardizes the transfer of color depth information during the initialization of the transfer (at pre-setup). Color depth is used to describe the number of bits used in a single pixel to make up a color. The more bits per pixel, the better the transition from one color to another and the more detailed the different shades of a specific color that are adjacent to one another. Since passing the color depth information to the downstream device is optional, it is not implemented in all devices.
[0003] The High Definition Multimedia Interface (HDMI) supports video data in four different color depths defined in the frames, namely 24, 30, 36 and 48 bits. The beginning of a frame is marked with a vertical synchronization (VSYNC) signal. The video frame data is represented by pixels and categorized into three different sets, namely control data, data islands and video data. The size of each pixel corresponds to the color depth. But when the frame is transported, it is transmitted through a 24-bit bus referred to as the Transition-Minimized Differential Signaling (TMDS).
[0004] When the High-bandwidth Digital Content Protection (HDCP) standard encryption mechanism applied over HDMI, for data islands and video data. The window of opportunity (WOO) is used to mark whether a frame is encrypted or unencrypted. If the frame is encrypted, the control bus in the TMDS is marked with 4'h9 during the WOO. The value 4'h9 can only be seen in the control bus (4-bit wide) during the WOO when transmitting an encrypted frame. If the value 4'h9 is seen in the control bus outside of the WOO or in an unencrypted frame, then it is an erroneous frame. The WOO is typically defined as the interval between the 512th and 527th pixel clocks after the VSYNC of every frame.
[0005] With higher color depth (30, 36 or 48-bit), the pixel size is different from the TMDS bus width, therefore the WOO should be adjusted accordingly as per Table 1, which indicates the TMDS clock cycles from the rising edge of the VSYNC:
Color depth WOO start WOO end
24 512 527
30 640 659
36 768 791
48 1024 1055
Table 1
[0006] In some implementation, the start of the WOO is fixed to the 512 bit clock cycles, regardless of the color depths which means that it would be impossible to properly decrypt a frame if the color depth is not set to 24-bits, because the 4'h9 signal will not be found in the proper location. In order to support these implementations along with the standard- compliant ones, an adaptive mechanism is needed to identify whether a frame is encrypted regardless of the color depth.
SUMMARY OF THE INVENTION
[0007] In accordance with one embodiment, a method is provided for determining the color depths of the video data for a selected frame in High-bandwidth Digital Content Protection (HDCP) video data transmitted over a High Definition Multimedia Interface (HDMI), in which (a) the beginning of the selected frame is marked with a vertical synchronization (VSYNC) signal and (b) a mark in a window of opportunity (WOO) for the selected frame indicates whether or not that frame is encrypted. The method detects, for the selected frame, the length of the interval between a VSYNC signal and the location of at least one of (i) the start of the corresponding WOO and (ii) the mark indicating whether or not the selected frame is encrypted, and then determines the color depth of the video data for the selected frame based on the detected length.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Exemplary embodiments of the invention will now be described in conjunction with the following drawings, in which:
[0009] FIG. 1 illustrates a pipeline of pixels used for dynamic color depth determination.
DETAILED DESCRIPTION THE INVENTION
[0010] In one embodiment, the clock cycles are counted starting at the rising edge of the VSYNC and the correct color depth can be determined by looking at the 4'h9 signal in the control bus. The system can adaptively synchronize to the WOO based on two windowing schemes WOO on 24 bit and WOO on color depth depending on which one is used.
[0011] Referring to FIG. 1 as an example, a pipeline of four pixels can be used for establishing the color depth. When pre-authorization and authorization (pre-AUTH and AUTH) mode (as defined in the HDCP standard) of the Content Encryption Engine (CEE) are observed, a VSYNC pulse is received by a Finite State Machine (FSM) and the counters are reset. The FSM detects the 4'h9 signal in the TMDS control bus during one of four successive WOO's. The location of the 4'h9 control signal in the TMDS control (CTRL) word is determined and the color depth (CD) is inferred based on Table 2.
Table 2
[0012] If the 4'h9 bits are not found at these locations the previous color depth is used. Once the color depth is established, the location of the 4'h9 control signal is known and frames can properly be decrypted.
[0013] In one embodiment, the adaptive color depth detection is implemented with Low Hardware Resources Solution and with few Blank Frames.
[0014] The CEE collects the color depth information of a first few encrypted frames based on TMDS-CTRL signal set to 4'h9. Then uses the detected color depth to find the location of the 4'h9 signal to properly decrypt the frames. Until the color depth is determined, all frames are set to the color depth of the last unencrypted frame.
[0015] In another embodiment, the adaptive color depth detection is implemented with a High Resources Solution without losing encrypted frames.
[0016] In this case, the CEE is prepared for decryption at the rising edge of the Vertical Synchronisation (VSY C) of the first frame in PRE-AUTH and AUTH mode. The 4'h9 signal is located in the WOO and the color depth is assigned as per table above then the decryption start immediately.
[0017] These embodiments are implemented on a frame by frame basis and can be performed using software, hardware or a combination of both.
[0018] If the HDMI signals are noisy, other variations can be implemented such as collecting statistics on the position of the 4'h9 signals to increase the speed at which it is located. Optionally a histogram of the location can be generated over a period of time and the histogram along with optional additional statistical methods can be used to predict the location of the 4'h9 signal, which is the color depth as per table 1.
[0019] Numerous other embodiments may be envisaged without departing from the spirit or scope of the invention.
Claims
1. A method of processing a video data frame in High- bandwidth Digital Content Protection (HDCP) video data transmitted over a High Definition Multimedia Interface (HDMI), in which (a) a beginning of a selected frame is marked with a vertical synchronization (VSY C) signal and (b) a mark in a window of opportunity (WOO) for the selected frame indicates whether or not that frame is encrypted, said method comprising:
determining a color depth of the video data in the selected frame, and
adjusting a starting of the window of opportunity for the selected frame, based on the determined color depth.
2. The method of claim 1 in which the color depth of the video data is determined from a General Control Packet (GCP) transmitted over the HDMI. (see section 6.5.3 of the HDMI spec)
3. The method of claim 1 in which the location of the starting point of the WOO is 512 clock cycles multiplied by the ratio of the color depth to 24.
4. The method of claim 1 further comprising adjusting an ending point of the window of opportunity.
5. The method of claim 4 in which the location of an ending point of the WOO is 528 clock cycles multiplied by the ratio of the color depth to 24 minus 1.
6. The method of claim 1 further comprising maintaining statistics on the location of the WOO to increase the speed at which it is located.
7. The method of claim 6 further comprising maintaining histogram on the historical values of the WOO locations.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201480079633.4A CN106464948B (en) | 2014-04-14 | 2014-04-14 | The method of the video data frame encryption in HDCP video data on correct identification HDMI |
PCT/IB2014/060717 WO2015159120A1 (en) | 2014-04-14 | 2014-04-14 | Dynamic color depth for hdcp over hdmi |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/IB2014/060717 WO2015159120A1 (en) | 2014-04-14 | 2014-04-14 | Dynamic color depth for hdcp over hdmi |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015159120A1 true WO2015159120A1 (en) | 2015-10-22 |
Family
ID=54323534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/IB2014/060717 WO2015159120A1 (en) | 2014-04-14 | 2014-04-14 | Dynamic color depth for hdcp over hdmi |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106464948B (en) |
WO (1) | WO2015159120A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070009060A1 (en) * | 2005-06-24 | 2007-01-11 | Lavelle Michael G | Method and system for transmiting N-bit video data over a serial link |
US20120274849A1 (en) * | 2006-05-16 | 2012-11-01 | Sony Corporation | Transmission system, transmission apparatus, and transmission method for transmitting video data |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7088398B1 (en) * | 2001-12-24 | 2006-08-08 | Silicon Image, Inc. | Method and apparatus for regenerating a clock for auxiliary data transmitted over a serial link with video data |
US7634090B2 (en) * | 2003-09-26 | 2009-12-15 | Genesis Microchip Inc. | Packet based high definition high-bandwidth digital content protection |
-
2014
- 2014-04-14 WO PCT/IB2014/060717 patent/WO2015159120A1/en active Application Filing
- 2014-04-14 CN CN201480079633.4A patent/CN106464948B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070009060A1 (en) * | 2005-06-24 | 2007-01-11 | Lavelle Michael G | Method and system for transmiting N-bit video data over a serial link |
US20120274849A1 (en) * | 2006-05-16 | 2012-11-01 | Sony Corporation | Transmission system, transmission apparatus, and transmission method for transmitting video data |
Non-Patent Citations (1)
Title |
---|
"High-Definition Multimedia Interface Specification Version 1.3a", 10 November 2006 (2006-11-10), XP055113810, Retrieved from the Internet <URL:http://www.microprocessor.org/HDMISpecification13a.pdf> * |
Also Published As
Publication number | Publication date |
---|---|
CN106464948A (en) | 2017-02-22 |
CN106464948B (en) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102344545B1 (en) | Image processing apparatus and control method thereof | |
US10432435B2 (en) | Methods and apparatus for enabling and disabling scrambling of control symbols | |
US7555693B2 (en) | Auxiliary data transmitted within a display's serialized data stream | |
US9491332B2 (en) | Clock transfer circuit, video processing system, and semiconductor integrated circuit | |
US9413986B1 (en) | Video switch and switching method thereof | |
US20050195894A1 (en) | Method and circuit for adaptive equalization of multiple signals in response to a control signal generated from one of the equalized signals | |
EP3223431B1 (en) | Adjustment of clock signals regenerated from a data stream | |
US20190028262A1 (en) | Data transmission system | |
US9503253B2 (en) | Serial data transmission circuit and reception circuit, transmission system using the same, electronic device, and serial data transmission method | |
US20140340579A1 (en) | Encoding Guard Band Data For Transmission Via A Communications Interface Utilizing Transition-Minimized Differential Signaling (Tmds) Coding | |
US11368650B2 (en) | Dynamic direction control in active cable | |
US10070018B2 (en) | Device for vertical and horizontal synchronization in display system | |
JP6038046B2 (en) | Clock recovery mechanism for streaming content transmitted over packet communication networks | |
KR20100078604A (en) | Apparatus for transmitting and receiving data | |
US9794623B2 (en) | Dynamic color depth for HDCP over HDMI | |
JP6120798B2 (en) | Transmission device, reception device, and transmission / reception system | |
WO2015159120A1 (en) | Dynamic color depth for hdcp over hdmi | |
US9088750B2 (en) | Apparatus and method for generating picture-in-picture (PIP) image | |
CN107197365A (en) | A kind of method and system of signal transmission | |
KR102546765B1 (en) | Video monitoring system | |
KR20170059757A (en) | Video signal transmission device, method for video signal transmission thereof, video signal reception device and method for video signal reception thereof | |
CN117440122A (en) | HDMI device and power saving method | |
JP2012037750A (en) | Image signal generator | |
JP2013150072A (en) | Image data communication device, image data communication method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14889576 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14889576 Country of ref document: EP Kind code of ref document: A1 |