Lines Matching refs:codec_info
57 struct vpu_dec_codec_info codec_info; member
480 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_g_fmt()
481 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_g_fmt()
482 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_g_fmt()
483 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_g_fmt()
507 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_try_fmt()
508 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_try_fmt()
509 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_try_fmt()
510 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_try_fmt()
571 vdec->codec_info.color_primaries = f->fmt.pix_mp.colorspace; in vdec_s_fmt_common()
572 vdec->codec_info.transfer_chars = f->fmt.pix_mp.xfer_func; in vdec_s_fmt_common()
573 vdec->codec_info.matrix_coeffs = f->fmt.pix_mp.ycbcr_enc; in vdec_s_fmt_common()
574 vdec->codec_info.full_range = f->fmt.pix_mp.quantization; in vdec_s_fmt_common()
618 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_s_fmt()
619 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_s_fmt()
620 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_s_fmt()
621 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_s_fmt()
966 if (sibling && vdec->codec_info.pixfmt == sibling->pixfmt) in vdec_check_source_change()
967 vdec->codec_info.pixfmt = inst->cap_format.pixfmt; in vdec_check_source_change()
971 if (inst->cap_format.pixfmt != vdec->codec_info.pixfmt) in vdec_check_source_change()
973 if (inst->cap_format.width != vdec->codec_info.decoded_width) in vdec_check_source_change()
975 if (inst->cap_format.height != vdec->codec_info.decoded_height) in vdec_check_source_change()
979 if (inst->crop.left != vdec->codec_info.offset_x) in vdec_check_source_change()
981 if (inst->crop.top != vdec->codec_info.offset_y) in vdec_check_source_change()
983 if (inst->crop.width != vdec->codec_info.width) in vdec_check_source_change()
985 if (inst->crop.height != vdec->codec_info.height) in vdec_check_source_change()
998 f.fmt.pix_mp.pixelformat = vdec->codec_info.pixfmt; in vdec_init_fmt()
999 f.fmt.pix_mp.width = vdec->codec_info.decoded_width; in vdec_init_fmt()
1000 f.fmt.pix_mp.height = vdec->codec_info.decoded_height; in vdec_init_fmt()
1001 if (vdec->codec_info.progressive) in vdec_init_fmt()
1007 inst->out_format.width = vdec->codec_info.width; in vdec_init_fmt()
1008 inst->out_format.height = vdec->codec_info.height; in vdec_init_fmt()
1015 inst->crop.left = vdec->codec_info.offset_x; in vdec_init_crop()
1016 inst->crop.top = vdec->codec_info.offset_y; in vdec_init_crop()
1017 inst->crop.width = vdec->codec_info.width; in vdec_init_crop()
1018 inst->crop.height = vdec->codec_info.height; in vdec_init_crop()
1025 vdec->mbi.size = vdec->codec_info.mbi_size; in vdec_init_mbi()
1036 vdec->dcp.size = vdec->codec_info.dcp_size; in vdec_init_dcp()
1337 memcpy(&vdec->codec_info, hdr, sizeof(vdec->codec_info)); in vdec_event_seq_hdr()
1341 vdec->codec_info.decoded_width, in vdec_event_seq_hdr()
1342 vdec->codec_info.decoded_height, in vdec_event_seq_hdr()
1343 vdec->codec_info.offset_x, in vdec_event_seq_hdr()
1344 vdec->codec_info.offset_y, in vdec_event_seq_hdr()
1345 vdec->codec_info.width, in vdec_event_seq_hdr()
1346 vdec->codec_info.height, in vdec_event_seq_hdr()
1357 vdec->seq_tag = vdec->codec_info.tag; in vdec_event_seq_hdr()
1365 if (vdec->seq_tag != vdec->codec_info.tag) { in vdec_event_seq_hdr()
1368 inst->id, vdec->seq_tag, vdec->codec_info.tag); in vdec_event_seq_hdr()
1381 vdec->seq_tag = vdec->codec_info.tag; in vdec_event_resolution_change()
1810 vdec->codec_info.progressive ? 0 : 1); in vdec_get_debug_info()
1846 vdec->codec_info.frame_rate.numerator, in vdec_get_debug_info()
1847 vdec->codec_info.frame_rate.denominator); in vdec_get_debug_info()
1851 vdec->codec_info.color_primaries, in vdec_get_debug_info()
1852 vdec->codec_info.transfer_chars, in vdec_get_debug_info()
1853 vdec->codec_info.matrix_coeffs, in vdec_get_debug_info()
1854 vdec->codec_info.full_range, in vdec_get_debug_info()
1855 vdec->codec_info.vui_present); in vdec_get_debug_info()