Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavcodec/
Dh264_parser.c59 int picture_structure; member
174 slice_type_nos, p->picture_structure, logctx) < 0) in scan_mmco_reset()
208 &pwt, p->picture_structure, logctx); in scan_mmco_reset()
262 s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN; in parse_nal_units()
412 p->picture_structure = PICT_FRAME; in parse_nal_units()
415 p->picture_structure = PICT_TOP_FIELD + get_bits1(&nal.gb); // bottom_field_flag in parse_nal_units()
417 p->picture_structure = PICT_FRAME; in parse_nal_units()
427 p->picture_structure == PICT_FRAME) in parse_nal_units()
436 p->picture_structure == PICT_FRAME) in parse_nal_units()
444 &p->poc, p->picture_structure, nal.ref_idc); in parse_nal_units()
[all …]
Dh264_parse.h59 int picture_structure, void *logctx);
78 int slice_type_nos, int picture_structure, void *logctx);
82 int picture_structure, int nal_ref_idc);
Dh264_parse.c30 int picture_structure, void *logctx) in ff_h264_pred_weight_table() argument
106 if (picture_structure == PICT_FRAME) { in ff_h264_pred_weight_table()
221 int slice_type_nos, int picture_structure, void *logctx) in ff_h264_parse_ref_count() argument
232 max[0] = max[1] = picture_structure == PICT_FRAME ? 15 : 31; in ff_h264_parse_ref_count()
279 int picture_structure, int nal_ref_idc) in ff_h264_init_poc() argument
303 if (picture_structure == PICT_FRAME) in ff_h264_init_poc()
339 if (picture_structure == PICT_FRAME) in ff_h264_init_poc()
355 if (picture_structure != PICT_BOTTOM_FIELD) in ff_h264_init_poc()
357 if (picture_structure != PICT_TOP_FIELD) in ff_h264_init_poc()
Dvaapi_mpeg2.c39 return s->first_field || s->picture_structure == PICT_FRAME; in mpeg2_get_is_frame_start()
61 .picture_structure = s->picture_structure, in vaapi_mpeg2_start_frame()
159 .slice_vertical_position = s->mb_y >> (s->picture_structure != PICT_FRAME), in vaapi_mpeg2_decode_slice()
Dh264_slice.c376 h->picture_structure = h1->picture_structure; in ff_h264_update_thread_context()
488 pic->reference = h->droppable ? 0 : h->picture_structure; in h264_frame_start()
490 pic->field_picture = h->picture_structure != PICT_FRAME; in h264_frame_start()
556 h->mb_aff_frame = h->ps.sps->mb_aff && (h->picture_structure == PICT_FRAME); in h264_frame_start()
678 if (h->picture_structure == PICT_FRAME) { in implicit_weight_table()
681 cur_poc = h->cur_pic_ptr->field_poc[h->picture_structure - 1]; in implicit_weight_table()
1474 last_pic_structure = h->picture_structure; in h264_field_start()
1476 h->picture_structure = sl->picture_structure; in h264_field_start()
1519 if (!FIELD_PICTURE(h) || h->picture_structure == last_pic_structure) { in h264_field_start()
1539 h->picture_structure == PICT_BOTTOM_FIELD) || in h264_field_start()
[all …]
Dnvdec_mpeg12.c53 .field_pic_flag = s->picture_structure != PICT_FRAME, in nvdec_mpeg12_start_frame()
54 .bottom_field_flag = s->picture_structure == PICT_BOTTOM_FIELD, in nvdec_mpeg12_start_frame()
55 .second_field = s->picture_structure != PICT_FRAME && !s->first_field, in nvdec_mpeg12_start_frame()
Dmpeg12dec.c734 if (s->picture_structure == PICT_FRAME && in mpeg_decode_mb()
743 if (s->picture_structure != PICT_FRAME) in mpeg_decode_mb()
795 if (s->picture_structure == PICT_FRAME) { in mpeg_decode_mb()
796 if (s->picture_structure == PICT_FRAME in mpeg_decode_mb()
803 s->field_select[0][0] = s->picture_structure - 1; in mpeg_decode_mb()
819 if (s->picture_structure == PICT_FRAME && s->frame_pred_frame_dct) { in mpeg_decode_mb()
823 if (s->picture_structure == PICT_FRAME && HAS_CBP(mb_type)) in mpeg_decode_mb()
835 if (s->picture_structure == PICT_FRAME) { in mpeg_decode_mb()
879 if (s->picture_structure == PICT_FRAME) { in mpeg_decode_mb()
924 const int my_shift = s->picture_structure == PICT_FRAME; in mpeg_decode_mb()
[all …]
Ddxva2_mpeg2.c46 int is_field = s->picture_structure != PICT_FRAME; in fill_picture_parameters()
66 pp->bPicStructure = s->picture_structure; in fill_picture_parameters()
92 (s->picture_structure << 12) | in fill_picture_parameters()
129 int is_field = s->picture_structure != PICT_FRAME; in fill_slice()
158 const int is_field = s->picture_structure != PICT_FRAME; in commit_bitstream_and_slice_buffer()
Dh264_refs.c146 cur_poc = h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_FIELD]; in h264_initialise_ref_list()
156 sorted, len, 0, h->picture_structure); in h264_initialise_ref_list()
159 h->long_ref, 16, 1, h->picture_structure); in h264_initialise_ref_list()
177 h->short_ref, h->short_ref_count, 0, h->picture_structure); in h264_initialise_ref_list()
180 h-> long_ref, 16, 1, h->picture_structure); in h264_initialise_ref_list()
263 *structure = h->picture_structure; in pic_num_extract()
712 h->cur_pic_ptr->reference |= h->picture_structure; in ff_h264_execute_ref_pic_marking()
748 h->cur_pic_ptr->reference |= h->picture_structure; in ff_h264_execute_ref_pic_marking()
768 h->cur_pic_ptr->reference |= h->picture_structure; in ff_h264_execute_ref_pic_marking()
822 … || pps_ref_count[0] <= 1 + (h->picture_structure != PICT_FRAME) && pps_ref_count[1] <= 1) in ff_h264_execute_ref_pic_marking()
[all …]
Dmpegutils.c53 int y, int h, int picture_structure, in ff_draw_horiz_band() argument
58 const int field_pic = picture_structure != PICT_FRAME; in ff_draw_horiz_band()
84 picture_structure == PICT_FRAME && in ff_draw_horiz_band()
99 y, picture_structure, h); in ff_draw_horiz_band()
Dmpegvideo_xvmc.c121 render->picture_structure = s->picture_structure; in ff_xvmc_field_start()
243 if (s->picture_structure == PICT_FRAME) { in ff_xvmc_decode_mb()
252 if (s->picture_structure == PICT_FRAME) { in ff_xvmc_decode_mb()
Dvdpau_mpeg12.c58 info->picture_structure = s->picture_structure; in vdpau_mpeg_start_frame()
Ddxva2_h264.c60 h->picture_structure == PICT_BOTTOM_FIELD); in fill_picture_parameters()
100 pp->wBitFields = ((h->picture_structure != PICT_FRAME) << 0) | in fill_picture_parameters()
102 (h->picture_structure == PICT_FRAME)) << 1) | in fill_picture_parameters()
130 if ((h->picture_structure & PICT_TOP_FIELD) && in fill_picture_parameters()
134 if ((h->picture_structure & PICT_BOTTOM_FIELD) && in fill_picture_parameters()
Dcbs_mpeg2_syntax_template.c254 ui(2, picture_structure); in FUNC()
275 if (current->picture_structure == 1 || // Top field. in FUNC()
276 current->picture_structure == 2) { // Bottom field. in FUNC()
Ddxva2_vc1.c50 …if (v->lumscale != 32 || v->lumshift != 0 || (s->picture_structure != PICT_FRAME && (v->lumscale2 … in fill_picture_parameters()
80 if (s->picture_structure & PICT_TOP_FIELD) in fill_picture_parameters()
82 if (s->picture_structure & PICT_BOTTOM_FIELD) in fill_picture_parameters()
140 if (s->picture_structure == PICT_FRAME) { in fill_picture_parameters()
Dxvmc.h125 unsigned int picture_structure; member
Dh264_direct.c65 …const int poc = FIELD_PICTURE(h) ? h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_… in ff_h264_direct_dist_scale_factor()
91 int interl = mbafi || h->picture_structure != PICT_FRAME; in fill_colmap()
126 int sidx = (h->picture_structure & 1) ^ 1; in ff_h264_direct_ref_list_init()
136 if (h->picture_structure == PICT_FRAME) { in ff_h264_direct_ref_list_init()
152 if (h->picture_structure == PICT_FRAME) { in ff_h264_direct_ref_list_init()
164 } else if (!(h->picture_structure & sl->ref_list[1][0].reference) && in ff_h264_direct_ref_list_init()
Dav1_parser.c69 ctx->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN; in av1_parser_parse()
133 ctx->picture_structure = AV_PICTURE_STRUCTURE_FRAME; in av1_parser_parse()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dsurface.c108 desc->picture_structure = surface->picture_structure; in GetPictureDescription()
141 if (surface->picture_structure) { in RecursiveEndFrame()
144 surface->picture_structure = 0; in RecursiveEndFrame()
218 Status XvMCRenderSurface(Display *dpy, XvMCContext *context, unsigned int picture_structure, in XvMCRenderSurface() argument
244 if (picture_structure != XVMC_TOP_FIELD && in XvMCRenderSurface()
245 picture_structure != XVMC_BOTTOM_FIELD && in XvMCRenderSurface()
246 picture_structure != XVMC_FRAME_PICTURE) in XvMCRenderSurface()
285 if (target_surface_priv->picture_structure > 0 && ( in XvMCRenderSurface()
286 target_surface_priv->picture_structure != picture_structure || in XvMCRenderSurface()
298 if (target_surface_priv->picture_structure) in XvMCRenderSurface()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c38 uint16_t picture_structure; // 32 member
229 pic_vp->picture_structure = 3; in nouveau_vp3_fill_picparm_mpeg12_vp()
231 pic_vp->picture_structure = desc->picture_structure; in nouveau_vp3_fill_picparm_mpeg12_vp()
233 assert(desc->picture_structure != 4); in nouveau_vp3_fill_picparm_mpeg12_vp()
234 if (desc->picture_structure == 4) // Untested, but should work in nouveau_vp3_fill_picparm_mpeg12_vp()
247 …pic_vp->unk30 = desc->picture_structure < 3 && (desc->picture_structure == 2 - desc->top_field_fir… in nouveau_vp3_fill_picparm_mpeg12_vp()
469 switch (desc.mpeg12->picture_structure) { in nouveau_vp3_vp_caps()
Dnouveau_video.c167 if (dec->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME) { in nouveau_vpe_mb_dct_header()
172 if (dec->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FIELD_BOTTOM) in nouveau_vpe_mb_dct_header()
275 bool frame = dec->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME; in nouveau_vpe_mb_mv_header()
324 dec->picture_structure != PIPE_MPEG12_PICTURE_STRUCTURE_FIELD_TOP, in nouveau_vpe_mb_mv_header()
328 dec->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FIELD_TOP, in nouveau_vpe_mb_mv_header()
426 dec->picture_structure = desc->picture_structure; in nouveau_decoder_decode_macroblock()
Dnouveau_vp3_video_bsp.c35 uint8_t picture_structure; member
121 pic_bsp->picture_structure = desc->picture_structure; in nouveau_vp3_fill_picparm_mpeg12_bsp()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn_enc_3_0.c93 RADEON_ENC_CS(enc->enc_pic.h264_enc_params.picture_info_l0_reference_picture0.picture_structure); in radeon_enc_encode_params_h264()
98 RADEON_ENC_CS(enc->enc_pic.h264_enc_params.picture_info_l0_reference_picture1.picture_structure); in radeon_enc_encode_params_h264()
103 RADEON_ENC_CS(enc->enc_pic.h264_enc_params.picture_info_l1_reference_picture0.picture_structure); in radeon_enc_encode_params_h264()
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_mpeg12.c60 context->desc.mpeg12.picture_structure = in vlVaHandlePictureParameterBufferMPEG12()
61 mpeg2->picture_coding_extension.bits.picture_structure; in vlVaHandlePictureParameterBufferMPEG12()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c879 if (bs->desc->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME) { in decode_slice()
888 if (bs->desc->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME) in decode_slice()
894 if (bs->desc->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME && in decode_slice()
908 if (bs->desc->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME) in decode_slice()
915 if (bs->desc->picture_structure == PIPE_MPEG12_PICTURE_STRUCTURE_FRAME) in decode_slice()

123