Dynamic color depth for HDCP over HDMI
09794623 · 2017-10-17
Assignee
Inventors
Cpc classification
H04N21/44008
ELECTRICITY
H04N21/4302
ELECTRICITY
H04N21/4408
ELECTRICITY
G09G2370/12
PHYSICS
International classification
H04N7/167
ELECTRICITY
H04N21/43
ELECTRICITY
H04N21/4363
ELECTRICITY
H04N21/4408
ELECTRICITY
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.
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 (VSYNC) 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 number of clock cycles to a starting location 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.
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 a number of clock cycles to 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.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Exemplary embodiments of the invention will now be described in conjunction with the following drawings, in which:
(2)
DETAILED DESCRIPTION THE INVENTION
(3) 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.
(4) Referring to
(5) TABLE-US-00002 TABLE 2 Location of 4′h9 in TMDS CTRL word Color depth 512 24 640 30 768 36 1024 48
(6) 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.
(7) In one embodiment, the adaptive color depth detection is implemented with Low Hardware Resources Solution and with few Blank Frames.
(8) 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.
(9) In another embodiment, the adaptive color depth detection is implemented with a High Resources Solution without losing encrypted frames.
(10) In this case, the CEE is prepared for decryption at the rising edge of the Vertical Synchronisation (VSYNC) 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.
(11) These embodiments are implemented on a frame by frame basis and can be performed using software, hardware or a combination of both.
(12) 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.
(13) Numerous other embodiments may be envisaged without departing from the spirit or scope of the invention.