2.2.4.4 RFX_AVC420_BITMAP_STREAM

The RFX_AVC420_BITMAP_STREAM structure encapsulates regions of a graphics frame compressed using the MPEG-4 AVC/H.264 codec in YUV420p mode (as specified in [ITU-H.264-201201]) and conforming to the byte stream format specified in [ITU-H.264-201201] Annex B. The data compressed using these techniques is transported in the bitmapData field of the RD PGFX_WIRE_TO_SURFACE_PDU_1 (section 2.2.2.1) message or encapsulated in the RFX_AVC444_BITMAP_STREAM structure (section 2.2.4.5) or the RFX_AVC444V2_BITMAP_STREAM structure (section 2.2.4.6).

Note that the width and height of the MPEG-4 AVC/H.264 codec bitstream MUST be aligned to a multiple of 16 and MUST be cropped by the region mask specified in the regionRects field that is embedded in the avc420MetaData field.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

avc420MetaData (variable)

...

...

avc420EncodedBitstream (variable)

...

...

avc420MetaData (variable): A variable-length RFX_AVC420_METABLOCK (section 2.2.4.4.1) structure.

avc420EncodedBitstream (variable): An array of bytes that represents a single frame encoded using the MPEG-4 AVC/H.264 codec in YUV420p mode (as specified in [ITU-H.264-201201]) and conforming to the byte stream format specified in [ITU-H.264-201201] Annex B. Color conversion is described in section 3.3.8.3.1.