Lines Matching refs:exh
203 static MPP_RET parse_seq_dispay_ext_header(BitReadCtx_t *bitctx, Avs2dSeqExtHeader_t *exh) in parse_seq_dispay_ext_header() argument
207 READ_BITS(bitctx, 3, &exh->video_format); in parse_seq_dispay_ext_header()
208 READ_ONEBIT(bitctx, &exh->sample_range); in parse_seq_dispay_ext_header()
209 READ_ONEBIT(bitctx, &exh->color_description); in parse_seq_dispay_ext_header()
211 if (exh->color_description) { in parse_seq_dispay_ext_header()
212 READ_BITS(bitctx, 8, &exh->color_primaries); in parse_seq_dispay_ext_header()
213 READ_BITS(bitctx, 8, &exh->transfer_characteristics); in parse_seq_dispay_ext_header()
214 READ_BITS(bitctx, 8, &exh->matrix_coefficients); in parse_seq_dispay_ext_header()
216 READ_BITS(bitctx, 14, &exh->display_horizontal_size); in parse_seq_dispay_ext_header()
218 READ_BITS(bitctx, 14, &exh->display_vertical_size); in parse_seq_dispay_ext_header()
220 READ_ONEBIT(bitctx, &exh->td_mode_flag); in parse_seq_dispay_ext_header()
221 if (exh->td_mode_flag) { in parse_seq_dispay_ext_header()
222 READ_BITS(bitctx, 8, &exh->td_packing_mode); in parse_seq_dispay_ext_header()
223 READ_ONEBIT(bitctx, &exh->view_reverse_flag); in parse_seq_dispay_ext_header()
305 FUN_CHECK(ret = parse_seq_dispay_ext_header(bitctx, &p_dec->exh)); in parse_extension_header()
307 if (p_dec->exh.transfer_characteristics == MPP_FRAME_TRC_BT2020_10 || in parse_extension_header()
308 p_dec->exh.transfer_characteristics == MPP_FRAME_TRC_BT1361_ECG) in parse_extension_header()