CCIR656 - BT.656




基於Recommandation 601


Considering:




世界的電視標準已經建立,有525 (NTSC) 625 (PAL)兩種掃描線。


需要一個共通的標準方便設備商在世界交換資料(也就是在525625間轉換)。


因為2,有關的digitial television單位已經同意encoding parameter需要有一個標準(recommandation 601)。


要達到Recommandation 601的目的,需要對data streaminterface作規範。


這個規範必須要再525625間有共通性。


that in practical implementation of Recommendation 601 it is desirable that interface be defined in both serial and parallel forms.


that digital television signal produced by these interfaces must be a potential source of interface to other services, and due notice must be taken of No.964 of the Radio Regulation.


1.Introduction




這份Recommendation說明了digital television設備如何在5252625interface連接,並且符合4:2:2encoding parameters.






Part I COMMON SIGNAL FORMAT OF THE INTERFACES




1.General description of the interfaces




這個interface用來作為一個單向的資料介面。


資料的傳輸利用8bit的資料來傳輸,要傳送的資料有:


video data


timing reference codes


ancillary data


identification codes




2.Video data




2.1 Coding characteristics




符合Recommendation 601,資料中field-blanking的部分在525625不同,如下表:


625 525


_______________________________________________________


V-digital field blanking Start Line 624 Line 1


Field 1 (V = 1) Finish Line 23 Line 10 (V = 0)


___________________________________


Start Line 311 Line 264


Field 2 (V = 1) Finish Line 336 Line 273 (V = 0)


_______________________________________________________


F-digital field


identification


Field 1 (F = 0) Line 1 Line 4


Field 2 (F = 1) Line 313 Line 266


______________________________________________________


<<這部分看不懂>>




2.2 Video data format




8 bit資料中的0255 (0xFF)預留為identification用,不能用來代表資料。


video data word轉換為17M words/sdata stream,並且依照Cb, Y, Cr, Y, Cb, Y, Cr, etc.


其中Cb, Y, Cr代表相鄰兩pixle?




2.3 Timing relationship between video data and analogue synchronizing waveform




2.3.1 Line interval




digital active lineanalog line synchronzing pluse leading edge後的第244 word(525 standard), 或是264 word (625 standard)開始,this line being specified between half-amplitude points. << 這個看不懂>>




2.3.2 Field interval




digital line的開始同時也是digital field的開始:the digital field starts 32 words(in 525 line) and 24 words (625 line) prior to the lines indicated in Table I <<這個看不懂>>




2.4 Video timing reference codes (SAV, EAV)




有兩個地方有timing reference code :每個data block的開始(Start of Active Video, SAV),和結尾(End of Active Video, EAV)




Timing reference code4word組成: FF 00 00 XY (hex form)


FF 00 不能表示data,就是預留給timging reference code


FF 00 00 是固定的Timing reference code開頭,


第四個bytebit定義field 2identification,內容如下(Timeing reference codes)




Table II Video timing reference codes




Bit No.


word (MSB) 7 6 5 4 3 2 1 0 (LSB)


_____________________________________________________


First 1 1 1 1 1 1 1 1


_____________________________________________________


Second 0 0 0 0 0 0 0 0


_____________________________________________________


Third 0 0 0 0 0 0 0 0


_____________________________________________________


Fourth 1 F V H P3 P2 P1 P0


_____________________________________________________


F = 0 during field 1, 1 during field 2


V = 0 elsewhere, 1 during field blanking


H = 0 in SAV, 1 in EAV


P0, P1, P2, P3: protection bits (see Table III).


MSB: most significant bit.


LSB: least significant bit.


其中P0,P1,P2,P3F,V,H的資料有關,從下表


Protection bits




Bit No. 7 6 5 4 3 2 1 0


___________________________________________________


Function Fixed


1 F V H P3P2P1P0


__________________________________________________


0 1 0 0 0 0 0 0 0 80


1 1 0 0 1 1 1 0 1 9d


2 1 0 1 0 1 0 1 1 ab


3 1 0 1 1 0 1 1 0 b6


4 1 1 0 0 0 1 1 1 c7


5 1 1 0 1 1 0 1 0 da


6 1 1 1 0 1 1 0 0 ec


7 1 1 1 1 0 0 0 1 f1


___________________________________________________






可以用P0~P3可以correct 1 biterrordetect2biterror




2.5 Ancillary Data




Ancillary Data必須要預先準備,並且同步的插入multiplexblanking interval


Ancillary Data7 bitLSB是用來作odd parity用。




2.6 Data words during blanking




data stream中不用作timing reference codeancillary data的部分是blanking interval,必須填入以下的sequence : 80 10 80 10, etc. (hex form).這相當於是空白時的Cb, Y, Cr, Y的直。






Part II BIT-PARALLEL INTERFACE




1.General description of the interface




介面是8 bit data和一個clk pin


----------------------------------------------------------------------------------------------------------


以下是google所得資料


BT.656 (CCIR656)


規範一個Video資料傳輸的時序和格式,其資料格式符合BT.601 (CCIR601)所規定的Y.Cb.Cr 4:2:2方式。


BT.656定義了:




blanking


embedded sync words


video multiplexing format




for both parallel and serial interface




intersil : BT.656 Video Interface for ICs




使用 8 or 10 bit data 傳送YCbCr,使用27MHzclock作同步


用特殊的data 代表同步信號,不必使用另外的HSYNC, VSYNC,BLABK 信號。


輔助資料可以放在blanking interval


00FF不得使用,作為特殊標記(EAV,SAV用)


SAV (Start Active Video)EAV (End Active Vidwo)codeFF.00.00l.XY


XYbit用來標示SAVEAVduring Vertical BlankingField 1 or 2.




每一條掃描線都要以SAV開頭,EAV結尾:


EAV.Blanking.SAV.Line Data.EAV....




規定一條掃描線有720點。


因為採用4:2:2的格式,所以傳送序列;


Cb0.Y0.Cr0. Y1. Cb2.Y2.Cr2. Y3. Cb4.Y4.Cr4....


所以一條掃描線720點的資料總需要




Y : 720


Cb : 720/2


Cr : 720/2




1440 byte的資料。




在傳送Video Frame時採用交錯的方式,先送Even linefield,在送Odd linefield


line no依照PALNTSC格式而有不同。


除了每一條line之前會有一段的blanking外,一個field的開頭幾條scan line也是blanking

arrow
arrow
    全站熱搜

    立你斯 發表在 痞客邦 留言(1) 人氣()