Lines Matching refs:codec_info
48 struct vpu_dec_codec_info codec_info; member
331 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_g_fmt()
332 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_g_fmt()
333 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_g_fmt()
334 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_g_fmt()
358 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_try_fmt()
359 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_try_fmt()
360 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_try_fmt()
361 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_try_fmt()
422 vdec->codec_info.color_primaries = f->fmt.pix_mp.colorspace; in vdec_s_fmt_common()
423 vdec->codec_info.transfer_chars = f->fmt.pix_mp.xfer_func; in vdec_s_fmt_common()
424 vdec->codec_info.matrix_coeffs = f->fmt.pix_mp.ycbcr_enc; in vdec_s_fmt_common()
425 vdec->codec_info.full_range = f->fmt.pix_mp.quantization; in vdec_s_fmt_common()
469 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_s_fmt()
470 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_s_fmt()
471 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_s_fmt()
472 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_s_fmt()
795 if (sibling && vdec->codec_info.pixfmt == sibling->pixfmt) in vdec_check_source_change()
796 vdec->codec_info.pixfmt = inst->cap_format.pixfmt; in vdec_check_source_change()
800 if (inst->cap_format.pixfmt != vdec->codec_info.pixfmt) in vdec_check_source_change()
802 if (inst->cap_format.width != vdec->codec_info.decoded_width) in vdec_check_source_change()
804 if (inst->cap_format.height != vdec->codec_info.decoded_height) in vdec_check_source_change()
808 if (inst->crop.left != vdec->codec_info.offset_x) in vdec_check_source_change()
810 if (inst->crop.top != vdec->codec_info.offset_y) in vdec_check_source_change()
812 if (inst->crop.width != vdec->codec_info.width) in vdec_check_source_change()
814 if (inst->crop.height != vdec->codec_info.height) in vdec_check_source_change()
827 f.fmt.pix_mp.pixelformat = vdec->codec_info.pixfmt; in vdec_init_fmt()
828 f.fmt.pix_mp.width = vdec->codec_info.decoded_width; in vdec_init_fmt()
829 f.fmt.pix_mp.height = vdec->codec_info.decoded_height; in vdec_init_fmt()
830 if (vdec->codec_info.progressive) in vdec_init_fmt()
836 inst->out_format.width = vdec->codec_info.width; in vdec_init_fmt()
837 inst->out_format.height = vdec->codec_info.height; in vdec_init_fmt()
844 inst->crop.left = vdec->codec_info.offset_x; in vdec_init_crop()
845 inst->crop.top = vdec->codec_info.offset_y; in vdec_init_crop()
846 inst->crop.width = vdec->codec_info.width; in vdec_init_crop()
847 inst->crop.height = vdec->codec_info.height; in vdec_init_crop()
854 vdec->mbi.size = vdec->codec_info.mbi_size; in vdec_init_mbi()
865 vdec->dcp.size = vdec->codec_info.dcp_size; in vdec_init_dcp()
1099 memcpy(&vdec->codec_info, hdr, sizeof(vdec->codec_info)); in vdec_event_seq_hdr()
1103 vdec->codec_info.decoded_width, in vdec_event_seq_hdr()
1104 vdec->codec_info.decoded_height, in vdec_event_seq_hdr()
1105 vdec->codec_info.offset_x, in vdec_event_seq_hdr()
1106 vdec->codec_info.offset_y, in vdec_event_seq_hdr()
1107 vdec->codec_info.width, in vdec_event_seq_hdr()
1108 vdec->codec_info.height, in vdec_event_seq_hdr()
1118 vdec->seq_tag = vdec->codec_info.tag; in vdec_event_seq_hdr()
1126 if (vdec->seq_tag != vdec->codec_info.tag) { in vdec_event_seq_hdr()
1129 inst->id, vdec->seq_tag, vdec->codec_info.tag); in vdec_event_seq_hdr()
1142 vdec->seq_tag = vdec->codec_info.tag; in vdec_event_resolution_change()
1544 vdec->codec_info.progressive ? 0 : 1); in vdec_get_debug_info()
1580 vdec->codec_info.frame_rate.numerator, in vdec_get_debug_info()
1581 vdec->codec_info.frame_rate.denominator); in vdec_get_debug_info()
1585 vdec->codec_info.color_primaries, in vdec_get_debug_info()
1586 vdec->codec_info.transfer_chars, in vdec_get_debug_info()
1587 vdec->codec_info.matrix_coeffs, in vdec_get_debug_info()
1588 vdec->codec_info.full_range, in vdec_get_debug_info()
1589 vdec->codec_info.vui_present); in vdec_get_debug_info()