Lines Matching refs:codec_info
48 struct vpu_dec_codec_info codec_info; member
386 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_g_fmt()
387 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_g_fmt()
388 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_g_fmt()
389 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_g_fmt()
413 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_try_fmt()
414 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_try_fmt()
415 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_try_fmt()
416 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_try_fmt()
477 vdec->codec_info.color_primaries = f->fmt.pix_mp.colorspace; in vdec_s_fmt_common()
478 vdec->codec_info.transfer_chars = f->fmt.pix_mp.xfer_func; in vdec_s_fmt_common()
479 vdec->codec_info.matrix_coeffs = f->fmt.pix_mp.ycbcr_enc; in vdec_s_fmt_common()
480 vdec->codec_info.full_range = f->fmt.pix_mp.quantization; in vdec_s_fmt_common()
524 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_s_fmt()
525 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_s_fmt()
526 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_s_fmt()
527 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_s_fmt()
869 if (sibling && vdec->codec_info.pixfmt == sibling->pixfmt) in vdec_check_source_change()
870 vdec->codec_info.pixfmt = inst->cap_format.pixfmt; in vdec_check_source_change()
874 if (inst->cap_format.pixfmt != vdec->codec_info.pixfmt) in vdec_check_source_change()
876 if (inst->cap_format.width != vdec->codec_info.decoded_width) in vdec_check_source_change()
878 if (inst->cap_format.height != vdec->codec_info.decoded_height) in vdec_check_source_change()
882 if (inst->crop.left != vdec->codec_info.offset_x) in vdec_check_source_change()
884 if (inst->crop.top != vdec->codec_info.offset_y) in vdec_check_source_change()
886 if (inst->crop.width != vdec->codec_info.width) in vdec_check_source_change()
888 if (inst->crop.height != vdec->codec_info.height) in vdec_check_source_change()
901 f.fmt.pix_mp.pixelformat = vdec->codec_info.pixfmt; in vdec_init_fmt()
902 f.fmt.pix_mp.width = vdec->codec_info.decoded_width; in vdec_init_fmt()
903 f.fmt.pix_mp.height = vdec->codec_info.decoded_height; in vdec_init_fmt()
904 if (vdec->codec_info.progressive) in vdec_init_fmt()
910 inst->out_format.width = vdec->codec_info.width; in vdec_init_fmt()
911 inst->out_format.height = vdec->codec_info.height; in vdec_init_fmt()
918 inst->crop.left = vdec->codec_info.offset_x; in vdec_init_crop()
919 inst->crop.top = vdec->codec_info.offset_y; in vdec_init_crop()
920 inst->crop.width = vdec->codec_info.width; in vdec_init_crop()
921 inst->crop.height = vdec->codec_info.height; in vdec_init_crop()
928 vdec->mbi.size = vdec->codec_info.mbi_size; in vdec_init_mbi()
939 vdec->dcp.size = vdec->codec_info.dcp_size; in vdec_init_dcp()
1176 memcpy(&vdec->codec_info, hdr, sizeof(vdec->codec_info)); in vdec_event_seq_hdr()
1180 vdec->codec_info.decoded_width, in vdec_event_seq_hdr()
1181 vdec->codec_info.decoded_height, in vdec_event_seq_hdr()
1182 vdec->codec_info.offset_x, in vdec_event_seq_hdr()
1183 vdec->codec_info.offset_y, in vdec_event_seq_hdr()
1184 vdec->codec_info.width, in vdec_event_seq_hdr()
1185 vdec->codec_info.height, in vdec_event_seq_hdr()
1195 vdec->seq_tag = vdec->codec_info.tag; in vdec_event_seq_hdr()
1203 if (vdec->seq_tag != vdec->codec_info.tag) { in vdec_event_seq_hdr()
1206 inst->id, vdec->seq_tag, vdec->codec_info.tag); in vdec_event_seq_hdr()
1219 vdec->seq_tag = vdec->codec_info.tag; in vdec_event_resolution_change()
1619 vdec->codec_info.progressive ? 0 : 1); in vdec_get_debug_info()
1655 vdec->codec_info.frame_rate.numerator, in vdec_get_debug_info()
1656 vdec->codec_info.frame_rate.denominator); in vdec_get_debug_info()
1660 vdec->codec_info.color_primaries, in vdec_get_debug_info()
1661 vdec->codec_info.transfer_chars, in vdec_get_debug_info()
1662 vdec->codec_info.matrix_coeffs, in vdec_get_debug_info()
1663 vdec->codec_info.full_range, in vdec_get_debug_info()
1664 vdec->codec_info.vui_present); in vdec_get_debug_info()