Field DCT Coding and Frame DCT Coding
Field DCT coding and frame DCT coding differ according to the contents of the blocks that make up a macroblock.
In a frame coded macroblock, the four blocks each come from the same frame of video.
In a field coded macroblock, there are two possibilities:
either all four blocks come from a given field of video,
or two blocks come from one field and two from another field.
In frame coded macroblocks, the macroblock consists of a 16x16 spatial area taken from a progressive sequence frame, or from an interlaced sequence frame having both fields in place. The four blocks that compose the macroblock consist of the upper right, upper left, lower right, and lower left blocks of 8x8 pixels taken from the 16x16 macroblock. In other words, the blocks are all from the same frame; if the sequence is interlaced, each of the four blocks contains lines from both fields.
Progressive sequences: FRAME DCT ONLY
For progressive sequences, all pictures are frame pictures with frame DCT coded macroblocks only.
Interlaced sequences: FRAME or FIELD DCT
Field DCT coding can be applied only to interlaced sequences.
For interlaced sequences, the encoder may decide on a frame by frame basis to use a frame picture or two field pictures.
In the case of a field picture, all the blocks in every macroblock come from one field, that is, there are only field coded macroblocks and no frame coded macroblocks.
In the case of an (interlaced) frame picture, the decision to use frame or field DCT coding is made on a macroblock-by-macroblock basis.
- If the interlaced macroblock from an interlaced frame picture is frame DCT coded, each of its four blocks has pixels from both fields.
- If the interlaced macroblock from an interlaced frame picture is field coded, each block consists of pixels from only one of the two fields. Each 16x16 macroblock is split into fields 16 pixels wide x 8 pixels high by taking alternating lines of pixels, then each field is split into left and right parts, making two 8x8 blocks from one field and two from the other field.
- Field DCT Coding and Frame DCT Coding
- GROUP of PICTURES (GOP)
- PACKETIZED ELEMENTARY STREAM
Up to MPEG 2 Video Data Structures