CN115834898B - Transmission method for carrying alpha channel value during HDMI transmission - Google Patents
Transmission method for carrying alpha channel value during HDMI transmission Download PDFInfo
- Publication number
- CN115834898B CN115834898B CN202310153874.XA CN202310153874A CN115834898B CN 115834898 B CN115834898 B CN 115834898B CN 202310153874 A CN202310153874 A CN 202310153874A CN 115834898 B CN115834898 B CN 115834898B
- Authority
- CN
- China
- Prior art keywords
- bits
- channel
- bit
- alpha
- video stream
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Color Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及信号传输技术领域,具体是一种HDMI传输时携带α通道值的传输方法。The present invention relates to the technical field of signal transmission, in particular to a transmission method for carrying an alpha channel value during HDMI transmission.
背景技术Background Art
HDMI在传输视频、音频、控制数据时主要通过三个TMD通道0、1、2。HDMI mainly transmits video, audio, and control data through three
HDMI在传输视频时,具有三种像素编码Pixel Encoding:R\G\B4:4:4、Y\Cb\Cr4:2:2、Y\Cb\Cr4:4:4。现有HDMI中Y\Cb\Cr4:2:2数据传输方式如图1所示。When transmitting video, HDMI has three pixel encodings: R\G\B4:4:4, Y\Cb\Cr4:2:2, and Y\Cb\Cr4:4:4. The existing Y\Cb\Cr4:2:2 data transmission method in HDMI is shown in Figure 1.
每个TMDS通道8bits,按照Y、Cb、Y、Cr、Y…的顺序传递,Y\Cb\Cr4:2:2中Y占12bits,C占12bits,根据图1可知TMDS0通道的0-3位传输Y的0-3位,TMDS0通道的4-7位传输C的0-3位,TMDS1通道的0-7位传输Y的4-11位,TMDS2通道的0-7位传输C的4-11位。Each TMDS channel has 8 bits, which are transmitted in the order of Y, Cb, Y, Cr, Y... In Y\Cb\Cr4:2:2, Y occupies 12 bits and C occupies 12 bits. According to Figure 1, bits 0-3 of TMDS0 channel transmit bits 0-3 of Y, bits 4-7 of TMDS0 channel transmit bits 0-3 of C, bits 0-7 of TMDS1 channel transmit bits 4-11 of Y, and bits 0-7 of TMDS2 channel transmit bits 4-11 of C.
现有技术存在HDMIY\Cb\Cr4:2:2传输方式中无法传输α通道值(即Alpha通道值)的问题。The prior art has the problem that the α channel value (ie, the Alpha channel value) cannot be transmitted in the HDMI Y\Cb\Cr 4:2:2 transmission mode.
发明内容Summary of the invention
为克服现有技术的不足,本发明提供了一种HDMI传输时携带α通道值的传输方法,解决现有技术存在的Y\Cb\Cr4:2:2传输方式中无法传输α通道值等问题。In order to overcome the shortcomings of the prior art, the present invention provides a transmission method for carrying α channel values during HDMI transmission, which solves the problem that the α channel value cannot be transmitted in the Y\Cb\Cr4:2:2 transmission mode in the prior art.
本发明解决上述问题所采用的技术方案是:The technical solution adopted by the present invention to solve the above problems is:
一种HDMI传输时携带α通道值的传输方法,在Y\Cb\Cr4:2:2的像素编码方式下,将α通道值的数据替换HDMI传输的视频流中的部分分量数据,替换后总位数和替换前位数保持一致。A transmission method for carrying alpha channel values during HDMI transmission, in which, under a Y\Cb\Cr4:2:2 pixel encoding mode, the data of the alpha channel value replaces part of the component data in a video stream transmitted by HDMI, and the total number of bits after the replacement is consistent with the number of bits before the replacement.
作为一种优选的技术方案,每个TMDS通道的视频流占8位,三个TMDS通道的视频流占24位,将α通道值的数据替换视频流中Y分量和C分量的部分数据;其中,三个TMDS通道分别记为TMDS0通道、TMDS1通道、TMDS2通道,C表示Cb或Cr。As a preferred technical solution, the video stream of each TMDS channel occupies 8 bits, the video stream of three TMDS channels occupies 24 bits, and the data of the α channel value replaces part of the data of the Y component and the C component in the video stream; wherein the three TMDS channels are respectively recorded as TMDS0 channel, TMDS1 channel, and TMDS2 channel, and C represents Cb or Cr.
作为一种优选的技术方案,将α通道值的8位数据替换视频流中Y的0-3位和C的0-3位,形成Y\Cb\Cr\α4:2:2:4视频流。As a preferred technical solution, the 8-bit data of the α channel value replaces the 0-3 bits of Y and the 0-3 bits of C in the video stream to form a Y\Cb\Cr\α 4:2:2:4 video stream.
作为一种优选的技术方案,在第1个24位视频流中:As a preferred technical solution, in the first 24-bit video stream:
TMDS0通道的0-3位传输Yi的0-3位,Bits 0-3 of TMDS0 channel transmit bits 0-3 of Yi ,
TMDS0通道的4-7位传输Cbp的0-3位,Bits 4-7 of TMDS0 channel transmit bits 0-3 of Cb p .
TMDS1通道的0-3位传输Yi的4-7位,Bits 0-3 of TMDS1 channel transmit bits 4-7 of Yi .
TMDS1通道的4-7位传输Cbp的4-7位,4-7 bits of TMDS1 channel transmit 4-7 bits of Cb p ,
TMDS2通道的0-7位传输αi的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i ;
在第2个24位视频流中:In the second 24-bit video stream:
TMDS0通道的0-3位传输Yi+1的0-3位,Bits 0-3 of TMDS0 channel transmit bits 0-3 of Yi +1 .
TMDS0通道的4-7位传输Crp的0-3位,Bits 4-7 of TMDS0 channel transmit bits 0-3 of Cr p .
TMDS1通道的0-3位传输Yi+1的4-7位,Bits 0-3 of TMDS1 channel transmit bits 4-7 of Yi +1 .
TMDS1通道的4-7位传输Crp的4-7位,4-7 bits of TMDS1 channel transmit 4-7 bits of Cr p ,
TMDS2通道的0-7位传输αi+1的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i+1 ;
其中,f表示视频流的编号,i表示α通道值的编号,αi表示第i个α通道值,Yi表示第i个Y分量,Cbp表示第p个Cb分量,Crp表示第p个Cr分量,i、p均≥0且均为整数,f≥1且均为整数;i、p的初始值为0,f的初始值为1。Among them, f represents the number of the video stream, i represents the number of the α channel value, α i represents the i-th α channel value, Yi represents the i-th Y component, Cb p represents the p-th Cb component, Cr p represents the p-th Cr component, i and p are both ≥0 and are integers, f is ≥1 and is an integer; the initial values of i and p are 0, and the initial value of f is 1.
作为一种优选的技术方案,当i=i+1时,,。As a preferred technical solution, when i=i+1, , .
作为一种优选的技术方案,将α通道值的8位数据替换视频流中Y的0-3位和C的0-3位,形成Y\CbCr\α4:4:4视频流。As a preferred technical solution, the 8-bit data of the α channel value replaces the 0-3 bits of Y and the 0-3 bits of C in the video stream to form a Y\CbCr\α4:4:4 video stream.
作为一种优选的技术方案,将α通道值的8位数据替换视频流中Y的0-3位和C的0-3位,并将Cb、Cr放入同一通道中,形成Y\CbCr\α4:4:4视频流。As a preferred technical solution, the 8-bit data of the α channel value replaces the 0-3 bits of Y and the 0-3 bits of C in the video stream, and Cb and Cr are placed in the same channel to form a Y\CbCr\α 4:4:4 video stream.
作为一种优选的技术方案,在第1个24位视频流中:As a preferred technical solution, in the first 24-bit video stream:
TMDS0通道的0-7位传输Yi的0-7位,Bits 0-7 of TMDS0 channel transmit bits 0-7 of Yi ,
TMDS1通道的0-3位传输Cbp的0-3位,TMDS1 channel 0-3 bits transmit Cb p 0-3 bits,
TMDS1通道的4-7位传输Crp的0-3位,Bits 4-7 of TMDS1 channel transmit bits 0-3 of Cr p .
TMDS2通道的0-7位传输αi的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i ;
在第2个24位数据传输中,In the second 24-bit data transfer,
TMDS0通道的0-7位传输Yi+1的0-7位,Bits 0-7 of TMDS0 channel transmit bits 0-7 of Yi +1 .
TMDS1通道的0-3位传输Cbp的4-7位,TMDS1 channel 0-3 bits transmit Cb p 4-7 bits,
TMDS1通道的4-7位传输Crp的4-7位,4-7 bits of TMDS1 channel transmit 4-7 bits of Cr p ,
TMDS2通道的0-7位传输αi+1的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i+1 ;
其中,f表示视频流的编号,i表示α通道值的编号,αi表示第i个α通道值,Yi表示第i个Y分量,Cbp表示第p个Cb分量,Crp表示第p个Cr分量,i、p均≥0且均为整数,f≥1且均为整数;i、p的初始值为0,f的初始值为1。Among them, f represents the number of the video stream, i represents the number of the α channel value, α i represents the i-th α channel value, Yi represents the i-th Y component, Cb p represents the p-th Cb component, Cr p represents the p-th Cr component, i and p are both ≥0 and are integers, f is ≥1 and is an integer; the initial values of i and p are 0, and the initial value of f is 1.
作为一种优选的技术方案,当i=i+1时,,。As a preferred technical solution, when i=i+1, , .
本发明相比于现有技术,具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
(1)本发明所述方法在HDMIY\Cb\Cr4:2:2传输方式中,通过调整各个分量的所占的bits(丢弃原来Y和C的0-3位,从12bits变为8bits),加入α通道值的8位,形成Y\Cb\Cr\α4:2:2:4,但总位数和原来保持一致(仍为24bits)Cb、Cr按照每24bits交错传输,得到YCbCr+α通道值的方法;(1) The method of the present invention adjusts the bits occupied by each component in the HDMI Y\Cb\Cr 4:2:2 transmission mode (discarding the original 0-3 bits of Y and C, changing from 12 bits to 8 bits), adds 8 bits of the α channel value, and forms Y\Cb\Cr\α 4:2:2:4, but the total number of bits remains the same as the original (still 24 bits). Cb and Cr are transmitted in an interlaced manner at every 24 bits to obtain the YCbCr+α channel value;
(2)本发明所述方法在Y\Cb\Cr4:2:2的情况下,通过调整各个分量的所占的bits,(丢弃原来Y和C的0-3位,从12bits变为8bits),并且将Cb、Cr放入同一通道,再加上α通道值的8位,形成Y\CbCr\α4:4:4,但总位数和原来保持一致(仍为24bits)Cb、Cr不再按照每24bits交错传输,得到YCbCr+α通道值的方法;(2) In the case of Y\Cb\Cr4:2:2, the method of the present invention adjusts the bits occupied by each component (discarding the original 0-3 bits of Y and C, changing from 12 bits to 8 bits), and puts Cb and Cr into the same channel, and adds the 8 bits of the α channel value to form Y\CbCr\α4:4:4, but the total number of bits remains the same as the original (still 24 bits). Cb and Cr are no longer transmitted in an interleaved manner every 24 bits, and a method of obtaining the YCbCr+α channel value is obtained;
(3)本发明所述方法中指出的Y、Cb、Cr、α几种数据在TMDS通道中的存放方式。(3) The storage method of the Y, Cb, Cr, and α data in the TMDS channel as described in the method of the present invention.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为现有技术在Y\Cb\Cr4:2:2的像素编码方式下的传输示意图;FIG1 is a transmission schematic diagram of the prior art under the Y\Cb\Cr 4:2:2 pixel encoding method;
图2为实施例1展示的一种HDMI传输时携带α通道值的传输方法的传输示意图;FIG2 is a transmission schematic diagram of a transmission method for carrying α channel values during HDMI transmission shown in Example 1;
图3为实施例2展示的一种HDMI传输时携带α通道值的传输方法的传输示意图。FIG. 3 is a transmission schematic diagram of a transmission method for carrying α channel values during HDMI transmission shown in
具体实施方式DETAILED DESCRIPTION
下面结合实施例及附图,对本发明作进一步的详细说明,但本发明的实施方式不限于此。The present invention will be further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
实施例1Example 1
如图1至图3所示,传输方式1如下:As shown in Figures 1 to 3,
TMDS每个通道8bits,按照Y、Cb、α、Y、Cr、α、Y…的顺序传递。Each TMDS channel has 8 bits and is transmitted in the order of Y, Cb, α, Y, Cr, α, Y…
在第1个24位视频流中:In the first 24-bit video stream:
TMDS0通道的0-3位传输Y0的0-3位,Bits 0-3 of TMDS0 channel are transmitted as bits 0-3 of Y 0 .
TMDS0通道的4-7位传输Cb0的0-3位,Bits 4-7 of TMDS0 channel are transmitted as bits 0-3 of Cb 0 .
TMDS1通道的0-3位传输Y0的4-7位,TMDS1 channel 0-3 bits transmit Y 0 bits 4-7,
TMDS1通道的4-7位传输Cb0的4-7位,Bits 4-7 of TMDS1 channel transmit bits 4-7 of Cb 0 .
TMDS2通道的0-7位传输α0的0-7位;Bits 0-7 of TMDS2 channel transmit bits 0-7 of α 0 ;
在第2个24位视频流中:In the second 24-bit video stream:
TMDS0通道的0-3位传输Y1的0-3位,Bits 0-3 of TMDS0 channel are transmitted as bits 0-3 of Y1 .
TMDS0通道的4-7位传输Cr0的0-3位,Bits 4-7 of TMDS0 channel transmit bits 0-3 of Cr 0 .
TMDS1通道的0-3位传输Y1的4-7位,TMDS1 channel 0-3 bits transmit Y 1 bits 4-7,
TMDS1通道的4-7位传输Cr0的4-7位,Bits 4-7 of TMDS1 channel transmit bits 4-7 of Cr 0 .
TMDS2通道的0-7位传输α1的0-7位;Bits 0-7 of TMDS2 channel transmit bits 0-7 of α 1 ;
三个通道的24bits依次包括Y、Cb、α/Y、Cr、α三种类型的数据,每48bits后,Cb、Cr的下标加2,如图2所示。The 24 bits of the three channels include three types of data, Y, Cb, α/Y, Cr, and α. After every 48 bits, the subscripts of Cb and Cr are increased by 2, as shown in Figure 2.
该方法相当于在Y\Cb\Cr4:2:2的情况下,通过调整各个分量的所占的bits,(丢弃原来Y和C的0-3位,从12bits变为8bits)加入α通道值的8位,形成Y\Cb\Cr\α4:2:2:4,但总位数和原来保持一致(仍为24bits)Cb、Cr按照每24bits交错传输。This method is equivalent to adjusting the bits occupied by each component in the case of Y\Cb\Cr4:2:2 (discarding the original 0-3 bits of Y and C, changing from 12 bits to 8 bits) and adding 8 bits of the α channel value to form Y\Cb\Cr\α4:2:2:4, but the total number of bits remains the same as the original (still 24 bits). Cb and Cr are transmitted interleaved every 24 bits.
进一步地,以上方案进一步拓展为如下:Furthermore, the above scheme is further expanded as follows:
在第1个24位视频流中:In the first 24-bit video stream:
TMDS0通道的0-3位传输Yi的0-3位,Bits 0-3 of TMDS0 channel transmit bits 0-3 of Yi ,
TMDS0通道的4-7位传输Cbp的0-3位,Bits 4-7 of TMDS0 channel transmit bits 0-3 of Cb p .
TMDS1通道的0-3位传输Yi的4-7位,Bits 0-3 of TMDS1 channel transmit bits 4-7 of Yi .
TMDS1通道的4-7位传输Cbp的4-7位,4-7 bits of TMDS1 channel transmit 4-7 bits of Cb p ,
TMDS2通道的0-7位传输αi的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i ;
在第2个24位视频流中:In the second 24-bit video stream:
TMDS0通道的0-3位传输Yi+1的0-3位,Bits 0-3 of TMDS0 channel transmit bits 0-3 of Yi +1 .
TMDS0通道的4-7位传输Crp的0-3位,Bits 4-7 of TMDS0 channel transmit bits 0-3 of Cr p .
TMDS1通道的0-3位传输Yi+1的4-7位,Bits 0-3 of TMDS1 channel transmit bits 4-7 of Yi +1 .
TMDS1通道的4-7位传输Crp的4-7位,4-7 bits of TMDS1 channel transmit 4-7 bits of Cr p ,
TMDS2通道的0-7位传输αi+1的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i+1 ;
其中,f表示视频流的编号,i表示α通道值的编号,αi表示第i个α通道值,Yi表示第i个Y分量,Cbp表示第p个Cb分量,Crp表示第p个Cr分量,i、p均≥0且均为整数,f≥1且均为整数;i、p的初始值为0,f的初始值为1。当i=i+1时,,。Where, f represents the number of the video stream, i represents the number of the α channel value, α i represents the i-th α channel value, Yi represents the i-th Y component, Cb p represents the p-th Cb component, Cr p represents the p-th Cr component, i and p are both ≥ 0 and are integers, f ≥ 1 and are both integers; the initial values of i and p are 0, and the initial value of f is 1. When i=i+1, , .
实施例2Example 2
如图1至图3所示,传输方式2如下:As shown in Figures 1 to 3,
TMDS每个通道8bits,按照Y、Cb、Cr、α、Y、Cb、Cr、α、Y…的顺序传递。Each TMDS channel has 8 bits and is transmitted in the order of Y, Cb, Cr, α, Y, Cb, Cr, α, Y…
在第1个24位视频流中:In the first 24-bit video stream:
TMDS0通道的0-7位传输Y0的0-7位,Bits 0-7 of TMDS0 channel are transmitted as bits 0-7 of Y 0 .
TMDS1通道的0-3位传输Cb0的0-3位,Bits 0-3 of TMDS1 channel are transmitted as bits 0-3 of Cb 0 .
TMDS1通道的4-7位传输Cr0的0-3位,Bits 4-7 of TMDS1 channel transmit bits 0-3 of Cr 0 .
TMDS2通道的0-7位传输α0的0-7位;Bits 0-7 of TMDS2 channel transmit bits 0-7 of α 0 ;
在第2个24位数据传输中,In the second 24-bit data transfer,
TMDS0通道的0-7位传输Y1的0-7位,Bits 0-7 of TMDS0 channel are transmitted as bits 0-7 of Y1 .
TMDS1通道的0-3位传输Cb0的4-7位,Bits 0-3 of TMDS1 channel transmit bits 4-7 of Cb 0 .
TMDS1通道的4-7位传输Cr0的4-7位,Bits 4-7 of TMDS1 channel transmit bits 4-7 of Cr 0 .
TMDS2通道的0-7位传输α1的0-7位;Bits 0-7 of TMDS2 channel transmit bits 0-7 of α 1 ;
三个通道的24bits每次都包括了Y、Cb、Cr、α四种类型的数据,每48bits后,Cb、Cr的下标加2,如图3所示。The 24 bits of the three channels each include four types of data: Y, Cb, Cr, and α. After every 48 bits, the subscripts of Cb and Cr are increased by 2, as shown in Figure 3.
该方法相当于在Y\Cb\Cr4:2:2的情况下,通过调整各个分量的所占的bits,(丢弃原来Y和C的0-3位,取高8位,从12bits变为8bits),并且将Cb、Cr放入同一通道(TMDS2中),再加上α通道值的8位,形成Y\CbCr\α4:4:4,但总位数和原来保持一致(仍为24bits)Cb、Cr不再按照每24bits交错传输。This method is equivalent to adjusting the bits occupied by each component in the case of Y\Cb\Cr4:2:2 (discarding the original 0-3 bits of Y and C, taking the upper 8 bits, changing from 12 bits to 8 bits), and putting Cb and Cr in the same channel (TMDS2), plus the 8 bits of the α channel value, forming Y\CbCr\α4:4:4, but the total number of bits remains the same as the original (still 24 bits) Cb and Cr are no longer transmitted interleaved every 24 bits.
进一步地,以上方案进一步拓展为如下:Furthermore, the above scheme is further expanded as follows:
在第1个24位视频流中:In the first 24-bit video stream:
TMDS0通道的0-7位传输Yi的0-7位,Bits 0-7 of TMDS0 channel transmit bits 0-7 of Yi ,
TMDS1通道的0-3位传输Cbp的0-3位,TMDS1 channel 0-3 bits transmit Cb p 0-3 bits,
TMDS1通道的4-7位传输Crp的0-3位,Bits 4-7 of TMDS1 channel transmit bits 0-3 of Cr p .
TMDS2通道的0-7位传输αi的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i ;
在第2个24位数据传输中,In the second 24-bit data transfer,
TMDS0通道的0-7位传输Yi+1的0-7位,Bits 0-7 of TMDS0 channel transmit bits 0-7 of Yi +1 .
TMDS1通道的0-3位传输Cbp的4-7位,TMDS1 channel 0-3 bits transmit Cb p 4-7 bits,
TMDS1通道的4-7位传输Crp的4-7位,4-7 bits of TMDS1 channel transmit 4-7 bits of Cr p ,
TMDS2通道的0-7位传输αi+1的0-7位;Bits 0-7 of the TMDS2 channel transmit bits 0-7 of α i+1 ;
其中,f表示视频流的编号,i表示α通道值的编号,αi表示第i个α通道值,Yi表示第i个Y分量,Cbp表示第p个Cb分量,Crp表示第p个Cr分量,i、p均≥0且均为整数,f≥1且均为整数;i、p的初始值为0,f的初始值为1。当i=i+1时,,。Where, f represents the number of the video stream, i represents the number of the α channel value, α i represents the i-th α channel value, Yi represents the i-th Y component, Cb p represents the p-th Cb component, Cr p represents the p-th Cr component, i and p are both ≥ 0 and are integers, f ≥ 1 and are both integers; the initial values of i and p are 0, and the initial value of f is 1. When i=i+1, , .
综上:In summary:
传统HDMI中无法传输α通道值,本方法是在HDMI传输Y\Cb\Cr4:2:2的方式下进行的改进,支持在HDMI中传输α通道值,Y、Cb、Cr每个分量输入的数据量最大上限为12bit。传统Y\Cb\Cr4:4:4一般只能够以8bits数据作为输入,当进行每分量12bits传输时,以单TMSclock 24bits为例,由于video阶段的数据编码是串行传输,在每个通道的8bit装满后,高4位的数据要排到下一个24bits对应通道中,相当于3个TMS clock才能完成2个pixel的三分量传输,(12(每分量bits)×3(分量)×2(两个像素)=24(三通道bits)×3(TMDS 时钟)),本方法在每分量12bits的传输过程中,不仅携带了α通道值,并且可实现2个TMS clock中完成2个pixel的三分量传输+2个α通道值的传输。The α channel value cannot be transmitted in the traditional HDMI. This method is an improvement on the HDMI transmission of Y\Cb\Cr4:2:2. It supports the transmission of α channel value in HDMI. The maximum data volume of each component input of Y, Cb, and Cr is 12 bits. The traditional Y\Cb\Cr4:4:4 can generally only take 8 bits of data as input. When transmitting 12 bits per component, taking a single TMSclock 24 bits as an example, since the data encoding in the video stage is serial transmission, after the 8 bits of each channel are filled, the high 4 bits of data must be arranged in the next 24 bits corresponding channel, which is equivalent to 3 TMS clocks to complete the three-component transmission of 2 pixels, (12 (bits per component) × 3 (components) × 2 (two pixels) = 24 (three-channel bits) × 3 (TMDS clocks)). In the process of transmitting 12 bits per component, this method not only carries the α channel value, but also can complete the three-component transmission of 2 pixels + 2 α channel values in 2 TMS clocks.
本发明主要针对HDMIY\Cb\Cr4:2:2的方式下,提出两种携带Alpha通道值的具体方法。The present invention mainly proposes two specific methods for carrying Alpha channel values in the HDMI Y\Cb\Cr 4:2:2 mode.
本发明具有以下特点:The present invention has the following characteristics:
1.本发明所述方法在HDMIY\Cb\Cr4:2:2传输方式中,通过调整各个分量的所占的bits(丢弃原来Y和C的0-3位,从12bits变为8bits),加入α通道值的8位,形成Y\Cb\Cr\α4:2:2:4,但总位数和原来保持一致(仍为24bits)Cb、Cr按照每24bits交错传输,得到YCbCr+α通道值的方法;1. The method of the present invention adjusts the bits occupied by each component in the HDMI Y\Cb\Cr 4:2:2 transmission mode (discarding the original 0-3 bits of Y and C, changing from 12 bits to 8 bits), adds 8 bits of the α channel value, and forms Y\Cb\Cr\α 4:2:2:4, but the total number of bits remains the same as the original (still 24 bits), and Cb and Cr are transmitted in an interlaced manner every 24 bits to obtain the YCbCr+α channel value;
2.本发明所述方法在Y\Cb\Cr4:2:2的情况下,通过调整各个分量的所占的bits,(丢弃原来Y和C的0-3位,从12bits变为8bits),并且将Cb、Cr放入同一通道,再加上α通道值的8位,形成Y\CbCr\α4:4:4,但总位数和原来保持一致(仍为24bits)Cb、Cr不再按照每24bits交错传输,得到YCbCr+α通道值的方法;2. The method of the present invention, in the case of Y\Cb\Cr4:2:2, adjusts the bits occupied by each component (discards the original 0-3 bits of Y and C, changing from 12 bits to 8 bits), puts Cb and Cr into the same channel, and adds 8 bits of the α channel value to form Y\CbCr\α4:4:4, but the total number of bits remains the same as the original (still 24 bits), and Cb and Cr are no longer transmitted in an interleaved manner every 24 bits, thereby obtaining a method of obtaining the YCbCr+α channel value;
3.本发明所述方法中指出的Y、Cb、Cr、α几种数据在TMDS通道中的存放方式。3. The storage method of the Y, Cb, Cr, and α data in the TMDS channel in the method of the present invention.
如上所述,可较好地实现本发明。As described above, the present invention can be preferably implemented.
本说明书中所有实施例公开的所有特征,或隐含公开的所有方法或过程中的步骤,除了互相排斥的特征和/或步骤以外,均可以以任何方式组合和/或扩展、替换。All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and/or steps, can be combined and/or expanded or replaced in any manner.
以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制,依据本发明的技术实质,在本发明的精神和原则之内,对以上实施例所作的任何简单的修改、等同替换与改进等,均仍属于本发明技术方案的保护范围之内。The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310153874.XA CN115834898B (en) | 2023-02-23 | 2023-02-23 | Transmission method for carrying alpha channel value during HDMI transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310153874.XA CN115834898B (en) | 2023-02-23 | 2023-02-23 | Transmission method for carrying alpha channel value during HDMI transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115834898A CN115834898A (en) | 2023-03-21 |
CN115834898B true CN115834898B (en) | 2023-05-12 |
Family
ID=85522184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310153874.XA Active CN115834898B (en) | 2023-02-23 | 2023-02-23 | Transmission method for carrying alpha channel value during HDMI transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115834898B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018205878A1 (en) * | 2017-05-11 | 2018-11-15 | 腾讯科技(深圳)有限公司 | Method for transmitting video information, terminal, server and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7649539B2 (en) * | 2004-03-10 | 2010-01-19 | Microsoft Corporation | Image formats for video capture, processing and display |
US8189908B2 (en) * | 2005-09-02 | 2012-05-29 | Adobe Systems, Inc. | System and method for compressing video data and alpha channel data using a single stream |
RU2013118988A (en) * | 2013-04-24 | 2014-11-10 | Общество С Ограниченной Ответственностью "Э-Студио" | VIDEO STREAM PROCESSING |
KR102642797B1 (en) * | 2019-01-14 | 2024-03-05 | 삼성전자주식회사 | Electronic apparatus and control method thereof |
CN113994708A (en) * | 2020-05-28 | 2022-01-28 | 深圳市大疆创新科技有限公司 | Encoding method, decoding method, device and system |
GB2601504B (en) * | 2020-12-01 | 2023-03-29 | Imagination Tech Ltd | Data compression and packing |
CN115550624B (en) * | 2022-12-02 | 2023-07-18 | 成都索贝数码科技股份有限公司 | A HDMI video data transmission method carrying α channel value |
-
2023
- 2023-02-23 CN CN202310153874.XA patent/CN115834898B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018205878A1 (en) * | 2017-05-11 | 2018-11-15 | 腾讯科技(深圳)有限公司 | Method for transmitting video information, terminal, server and storage medium |
Non-Patent Citations (2)
Title |
---|
Single color image super-resolution using sparse representation and color constraint;XU Zhigang;MA Qiang;YUAN Feixiang;;Journal of Systems Engineering and Electronics(第02期);全文 * |
多层图像叠加处理的低功耗自适应流水线设计;谭腾飞;马德;黄凯;马琪;;浙江大学学报(工学版)(01);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115834898A (en) | 2023-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100568950B1 (en) | A method and system for reducing the effects of intersymbol interference during transmission over a serial link using the ability to map each of the received words of a cluster to a single transmitted word | |
US8605797B2 (en) | Method and system for partitioning and encoding of uncompressed video for transmission over wireless medium | |
CA2665900C (en) | Method and apparatus for encoding channel quality indicator and precoding control information bits | |
EP0453229B1 (en) | Method for transmission of variable length code | |
JP2022169667A (en) | Feedback signaling error detection and error inspection in mimo wireless communication system | |
KR101225081B1 (en) | Transmission packet structure for transmitting uncompressed audio/video data and transceiving apparatus using it | |
US7804855B2 (en) | Method and system for exploiting spare link bandwidth in a multilane communication channel | |
US8711017B2 (en) | Serial transmission system including transmitter apparatus and receiver apparatus, for use in transmission of AV data | |
US8407566B2 (en) | Method and apparatus for channel coding and modulation for unequal error protection in transmitting uncompressed video over wideband high frequency wireless system | |
US20070189383A1 (en) | Method and system for appending redundancy to uncompressed video for transmission over wireless communication channels | |
CN104320215A (en) | Method for signal processing of uplink transmission in base station, and base station | |
KR20080046227A (en) | Data segmentation, encoding method and system for transmitting uncompressed video over wireless communication channel | |
JP2017512030A (en) | Transfer of compressed blanking periods over multimedia links | |
CN116701271B (en) | Data transmission module and method of UCIE adaptation layer compatible with various batch lengths | |
CN115834898B (en) | Transmission method for carrying alpha channel value during HDMI transmission | |
JPWO2020158589A1 (en) | Transmitter, transmit method, receiver, receiver, and transmitter / receiver | |
CN115550624B (en) | A HDMI video data transmission method carrying α channel value | |
US8260091B2 (en) | Apparatus and method for searching for erroneous data | |
CN101282164A (en) | A method and device for reducing wireless communication service delay | |
CN110087074B (en) | Image processing device and method for operating the same | |
US9872035B2 (en) | System and method for transcoding data | |
JP2013115456A (en) | Image transmission apparatus and image transmission method | |
KR100959595B1 (en) | Method for coding a still picture progressively using motion picture encoding scheme | |
CN111757124B (en) | STC-based undistorted steganography method and undistorted secret information extraction method | |
CN107135048A (en) | A data transmission method of Interlaken interface, Interlaken interface and interface system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |