1## Frame Info exported from libHEVC 2 3### Introduction 4QP and CU type maps for H265 are defined for each 8x8 coding unit. 5The QP values defined as unsigned 8-bit numbers can range from <1, 51> and CU type can be 6INTER/INTRA/SKIP. HEVC defines them in ihevc_defs.h as PRED_MODE_INTER = 0, PRED_MODE_INTRA = 1 7and PRED_MODE_SKIP = 2. 8Set the “u4_frame_info_enable” flag to enable encoder/decoder to populate and return the qp values 9and CU type data in its output structure ihevcd_cxa_video_decode_op_t via pu1_8x8_blk_qp_map and 10pu1_8x8_blk_type_map. 11 12### Mapping to the frame 13Within a video sequence, CTUs of a fixed size (16x16, 32x32, or 64x64) can be further divided into 14CUs of size as low as 8x8 pixels. A CU’s number of QP entries (each for 8x8 blocks) can range from 151 to 64. A frame with a resolution of WdxHt has a total of (align8(Wd) x align8(Ht)) / 64 entries 16for QP and CU type map each. Qp and CU type values for each 8x8 block are stored in raster scan 17order. Refer to ihevcd_cxa.h for details. 18 19### Plugin/Application 20The encoder/decoder keeps the QP and CU type map as a part of its output handle. The plugins can 21access these data through the output structure. 22