50
Function Library
5: 16bit YCbCr 4:2:2 (YUY2) – 8bit Y + 8bit Cb/Cr
6: 20bit YCbCr 4:2:2 – 10bit Y + 10bit Cb/Cr
‘x’ means ‘don’t care bit’.
Note:
1.
Actual width of image setting in WriteCropping routine
needs to be multiple of 8 and actual height needs to
be an even number.
2.
Total bytes of one scan line need to be aligned to mul-
tiple of 16. If the requirement is not met, HDV62 ap-
pends dummy bytes to the end of each line. For
example, if 20bit YCbCr 4:2:2 is selected and
width = 800 pixels, each line = 2144 bytes (11 dummy
bytes appended);
width = 640 pixles, each line = 1712 bytes (5 dummy
bytes appended);
width = 720 pixles, each line = 1920 bytes (0 dummy
bytes appended).
The formula is: total bytes of each line = ((width * 16 /
6) + 15) & ~15 with all integer calculation.
3.
The formula of YCbCr to RGB is as following:
R = Y + 1.371(Cr-128)
G = Y – 0.698(Cr-128) – 0.336(Cb-128)
B = Y + 1.732(Cb-128)
DWORD
Pixel Data [31:0]
[31:24]
[23:16]
[15:8]
[7:0]
dw0
Cr
Y
Cb
Y
DWORD
Pixel Data [31:0]
[31:24]
[23:16]
[15:8]
[7:0]
dw0
Cr0[1:0]+Y1[9:4]
Y1[3:0]+Cb0[9:6]
Cb0[5:0]+Y0[9:8]
Y0[7:0]
dw1
xxxx+Cb2[9:6]
Cb2[5:0]+Y2[9:8]
Y2[7:0]
Cr0[9:2]
dw2
Cb4[1:0]+Y4[9:4]
Y4[3:0]+Cr2[9:6]
Cr2[5:0]+Y3[9:8]
Y3[7:0]
dw3
xxxx+Cr4[9:6]
Cr4[5:0]+Y5[9:8]
Y5[7:0]
Cb4[9:2]
Summary of Contents for HDV62
Page 11: ...vi List of Figures...
Page 25: ...14 Installation Guide...
Page 26: ...Installation Guide 15...
Page 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Page 105: ...94 Programming Guide Video Proc Amp...
Page 163: ...152 ViewCreatorPro Utility...