Home
last modified time | relevance | path

Searched refs:picture_structure (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/media/hantro/
H A Drk3399_vpu_hw_mpeg2_dec.c129 if (picture->picture_structure == PICT_BOTTOM_FIELD) in rk3399_vpu_mpeg2_dec_set_buffers()
139 if (picture->picture_structure == PICT_FRAME || in rk3399_vpu_mpeg2_dec_set_buffers()
141 (picture->picture_structure == PICT_TOP_FIELD && in rk3399_vpu_mpeg2_dec_set_buffers()
143 (picture->picture_structure == PICT_BOTTOM_FIELD && in rk3399_vpu_mpeg2_dec_set_buffers()
147 } else if (picture->picture_structure == PICT_TOP_FIELD) { in rk3399_vpu_mpeg2_dec_set_buffers()
150 } else if (picture->picture_structure == PICT_BOTTOM_FIELD) { in rk3399_vpu_mpeg2_dec_set_buffers()
213 VDPU_REG_PIC_FIELDMODE_E(picture->picture_structure != PICT_FRAME) | in rk3399_vpu_mpeg2_dec_run()
216 VDPU_REG_PIC_TOPFIELD_E(picture->picture_structure == PICT_TOP_FIELD) | in rk3399_vpu_mpeg2_dec_run()
H A Dhantro_g1_mpeg2_dec.c127 if (picture->picture_structure == PICT_BOTTOM_FIELD) in hantro_g1_mpeg2_dec_set_buffers()
137 if (picture->picture_structure == PICT_FRAME || in hantro_g1_mpeg2_dec_set_buffers()
139 (picture->picture_structure == PICT_TOP_FIELD && in hantro_g1_mpeg2_dec_set_buffers()
141 (picture->picture_structure == PICT_BOTTOM_FIELD && in hantro_g1_mpeg2_dec_set_buffers()
145 } else if (picture->picture_structure == PICT_TOP_FIELD) { in hantro_g1_mpeg2_dec_set_buffers()
148 } else if (picture->picture_structure == PICT_BOTTOM_FIELD) { in hantro_g1_mpeg2_dec_set_buffers()
197 G1_REG_PIC_FIELDMODE_E(picture->picture_structure != PICT_FRAME) | in hantro_g1_mpeg2_dec_run()
200 G1_REG_PIC_TOPFIELD_E(picture->picture_structure == PICT_TOP_FIELD) | in hantro_g1_mpeg2_dec_run()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/m2v/
H A Dm2vd_parser.c195 ctx->pic_code_ext_head.picture_structure = M2VD_PIC_STRUCT_FRAME; in m2vd_parser_init_ctx()
721 if (ctx->pic_code_ext_head.picture_structure != M2VD_PIC_STRUCT_FRAME) { in m2vd_decode_picdisp_ext_header()
790 ctx->pic_code_ext_head.picture_structure = m2vd_read_bits(bx, 2); in m2vd_decode_pic_ext_header()
791 if (ctx->pic_code_ext_head.picture_structure == M2VD_PIC_STRUCT_FRAME) in m2vd_decode_pic_ext_header()
797 if (ctx->pic_code_ext_head.picture_structure == M2VD_PIC_STRUCT_TOP_FIELD) in m2vd_decode_pic_ext_header()
1083 if (force || (p->pic_code_ext_head.picture_structure == M2VD_PIC_STRUCT_FRAME) || in m2v_update_ref_frame()
1084 …((p->pic_code_ext_head.picture_structure == M2VD_PIC_STRUCT_BOTTOM_FIELD) && p->pic_code_ext_head.… in m2v_update_ref_frame()
1085 …((p->pic_code_ext_head.picture_structure == M2VD_PIC_STRUCT_TOP_FIELD) && (!p->pic_code_ext_head.t… in m2v_update_ref_frame()
1134 if ((pic_code_ext_head->picture_structure == M2VD_PIC_STRUCT_FRAME ) || in m2vd_alloc_frame()
1135 …((pic_code_ext_head->picture_structure == M2VD_PIC_STRUCT_TOP_FIELD) && pic_code_ext_head->top_fie… in m2vd_alloc_frame()
[all …]
H A Dm2vd_parser.h193 RK_S32 picture_structure; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/avs/
H A Davsd_parse.c257 ph->picture_structure = 1; // default frame in get_i_picture_header()
259 READ_ONEBIT(bitctx, &ph->picture_structure); in get_i_picture_header()
267 if (!ph->progressive_frame && !ph->picture_structure) in get_i_picture_header()
306 READ_ONEBIT(bitctx, &ph->picture_structure); in get_pb_picture_header()
307 if (!ph->picture_structure) { in get_pb_picture_header()
311 ph->picture_structure = 1; //!< frame picture in get_pb_picture_header()
317 if (!(ph->picture_coding_type == B_PICTURE && ph->picture_structure == P_PICTURE)) { in get_pb_picture_header()
471 if (p_dec->ph.picture_structure) { //!< data combine 2 field in avsd_set_dpb()
620 pp->pictureStructure = p_dec->ph.picture_structure; in avsd_fill_parameters()
H A Davsd_parse.h151 RK_U8 picture_structure; member
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/m2vd/
H A Dhal_m2vd_vdpu1.c186 if (dx->pic_code_ext.picture_structure == M2VD_PIC_STRUCT_FRAME) in hal_m2vd_vdpu1_gen_regs()
190 p_regs->sw03.pic_topfield_e = dx->pic_code_ext.picture_structure == 1; in hal_m2vd_vdpu1_gen_regs()
222 if ((dx->pic_code_ext.picture_structure == M2VD_PIC_STRUCT_TOP_FIELD) || in hal_m2vd_vdpu1_gen_regs()
223 (dx->pic_code_ext.picture_structure == M2VD_PIC_STRUCT_FRAME)) { in hal_m2vd_vdpu1_gen_regs()
H A Dhal_m2vd_vdpu2.c236 if (dx->pic_code_ext.picture_structure == M2VD_PIC_STRUCT_FRAME) in hal_m2vd_vdpu2_gen_regs()
240 p_regs->sw57.pic_topfield_e = dx->pic_code_ext.picture_structure == 1; in hal_m2vd_vdpu2_gen_regs()
273 if ((dx->pic_code_ext.picture_structure == M2VD_PIC_STRUCT_TOP_FIELD) || in hal_m2vd_vdpu2_gen_regs()
274 (dx->pic_code_ext.picture_structure == M2VD_PIC_STRUCT_FRAME)) { in hal_m2vd_vdpu2_gen_regs()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/avs2/
H A Davs2d_ps.c663 READ_ONEBIT(bitctx, &ph->picture_structure); in parse_picture_header_intra()
664 AVS2D_PARSE_TRACE("picture_structure %d\n", ph->picture_structure); in parse_picture_header_intra()
666 ph->picture_structure = 1; //!< frame picture in parse_picture_header_intra()
769 READ_ONEBIT(bitctx, &ph->picture_structure); in parse_picture_header_inter()
771 ph->picture_structure = 1; //!< frame picture in parse_picture_header_inter()
786 if (ph->picture_coding_type != 2 || ph->picture_structure == 0) { in parse_picture_header_inter()
H A Davs2d_global.h256 RK_U8 picture_structure; member
/OK3568_Linux_fs/kernel/include/media/
H A Dmpeg2-ctrls.h45 __u8 picture_structure; member
/OK3568_Linux_fs/external/mpp/mpp/common/
H A Dm2vd_syntax.h95 RK_S32 picture_structure; member
/OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/
H A Ddvb_filter.h219 s8 picture_structure[2]; member
/OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_mpeg2.c137 reg |= VE_DEC_MPEG_MP12HDR_INTRA_PICTURE_STRUCTURE(picture->picture_structure); in cedrus_mpeg2_setup()
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c1708 p_mpeg2_slice_params->picture.picture_structure = 1; in std_init_compound()
1878 switch (p_mpeg2_slice_params->picture.picture_structure) { in std_validate_compound()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec.rst2395 - ``picture_structure``