/third_party/ffmpeg/libavcodec/ |
H A D | h264_parser.c | 61 int picture_structure; member 186 slice_type_nos, p->picture_structure, logctx) < 0) in scan_mmco_reset() 220 &pwt, p->picture_structure, logctx); in scan_mmco_reset() 274 s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN; in parse_nal_units() 425 p->picture_structure = PICT_FRAME; in parse_nal_units() 428 p->picture_structure = PICT_TOP_FIELD + get_bits1(&nal.gb); // bottom_field_flag in parse_nal_units() 430 p->picture_structure = PICT_FRAME; in parse_nal_units() 440 p->picture_structure == PICT_FRAME) in parse_nal_units() 449 p->picture_structure == PICT_FRAME) in parse_nal_units() 457 &p->poc, p->picture_structure, na in parse_nal_units() [all...] |
H A D | h264_parse.h | 98 int picture_structure, void *logctx); 117 int slice_type_nos, int picture_structure, void *logctx); 121 int picture_structure, int nal_ref_idc);
|
H A D | h264_parse.c | 32 int picture_structure, void *logctx) in ff_h264_pred_weight_table() 108 if (picture_structure == PICT_FRAME) { in ff_h264_pred_weight_table() 223 int slice_type_nos, int picture_structure, void *logctx) in ff_h264_parse_ref_count() 234 max[0] = max[1] = picture_structure == PICT_FRAME ? 15 : 31; in ff_h264_parse_ref_count() 281 int picture_structure, int nal_ref_idc) in ff_h264_init_poc() 305 if (picture_structure == PICT_FRAME) in ff_h264_init_poc() 341 if (picture_structure == PICT_FRAME) in ff_h264_init_poc() 357 if (picture_structure != PICT_BOTTOM_FIELD) in ff_h264_init_poc() 359 if (picture_structure != PICT_TOP_FIELD) in ff_h264_init_poc() 29 ff_h264_pred_weight_table(GetBitContext *gb, const SPS *sps, const int *ref_count, int slice_type_nos, H264PredWeightTable *pwt, int picture_structure, void *logctx) ff_h264_pred_weight_table() argument 221 ff_h264_parse_ref_count(int *plist_count, int ref_count[2], GetBitContext *gb, const PPS *pps, int slice_type_nos, int picture_structure, void *logctx) ff_h264_parse_ref_count() argument 279 ff_h264_init_poc(int pic_field_poc[2], int *pic_poc, const SPS *sps, H264POCContext *pc, int picture_structure, int nal_ref_idc) ff_h264_init_poc() argument
|
H A D | vaapi_mpeg2.c | 39 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()
|
H A D | h264_slice.c | 388 h->picture_structure = h1->picture_structure; in ff_h264_update_thread_context() 509 pic->reference = h->droppable ? 0 : h->picture_structure; in h264_frame_start() 511 pic->field_picture = h->picture_structure != PICT_FRAME; in h264_frame_start() 580 h->mb_aff_frame = h->ps.sps->mb_aff && (h->picture_structure == PICT_FRAME); in h264_frame_start() 702 if (h->picture_structure == PICT_FRAME) { in implicit_weight_table() 705 cur_poc = h->cur_pic_ptr->field_poc[h->picture_structure - 1]; in implicit_weight_table() 1560 last_pic_structure = h->picture_structure; in h264_field_start() 1562 h->picture_structure = sl->picture_structure; in h264_field_start() 1841 int picture_structure; h264_slice_header_parse() local [all...] |
H A D | nvdec_mpeg12.c | 56 .field_pic_flag = s->picture_structure != PICT_FRAME, in nvdec_mpeg12_start_frame() 57 .bottom_field_flag = s->picture_structure == PICT_BOTTOM_FIELD, in nvdec_mpeg12_start_frame() 58 .second_field = s->picture_structure != PICT_FRAME && !s->first_field, in nvdec_mpeg12_start_frame()
|
H A D | mpeg12dec.c | 742 if (s->picture_structure == PICT_FRAME && in mpeg_decode_mb() 751 if (s->picture_structure != PICT_FRAME) in mpeg_decode_mb() 800 if (s->picture_structure == PICT_FRAME) { in mpeg_decode_mb() 801 if (s->picture_structure == PICT_FRAME in mpeg_decode_mb() 808 s->field_select[0][0] = s->picture_structure - 1; in mpeg_decode_mb() 824 if (s->picture_structure == PICT_FRAME && s->frame_pred_frame_dct) { in mpeg_decode_mb() 828 if (s->picture_structure == PICT_FRAME && HAS_CBP(mb_type)) in mpeg_decode_mb() 840 if (s->picture_structure == PICT_FRAME) { in mpeg_decode_mb() 884 if (s->picture_structure == PICT_FRAME) { in mpeg_decode_mb() 929 const int my_shift = s->picture_structure in mpeg_decode_mb() [all...] |
H A D | mpegvideo_xvmc.c | 121 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()
|
H A D | mpegutils.c | 53 int y, int h, int picture_structure, in ff_draw_horiz_band() 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() 51 ff_draw_horiz_band(AVCodecContext *avctx, AVFrame *cur, AVFrame *last, int y, int h, int picture_structure, int first_field, int low_delay) ff_draw_horiz_band() argument
|
H A D | h264_refs.c | 145 cur_poc = h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_FIELD]; in h264_initialise_ref_list() 155 sorted, len, 0, h->picture_structure); in h264_initialise_ref_list() 158 h->long_ref, 16, 1, h->picture_structure); in h264_initialise_ref_list() 176 h->short_ref, h->short_ref_count, 0, h->picture_structure); in h264_initialise_ref_list() 179 h-> long_ref, 16, 1, h->picture_structure); in h264_initialise_ref_list() 262 *structure = h->picture_structure; in pic_num_extract() 711 h->cur_pic_ptr->reference |= h->picture_structure; in ff_h264_execute_ref_pic_marking() 747 h->cur_pic_ptr->reference |= h->picture_structure; in ff_h264_execute_ref_pic_marking() 767 h->cur_pic_ptr->reference |= h->picture_structure; in ff_h264_execute_ref_pic_marking() 821 || pps_ref_count[0] <= 1 + (h->picture_structure ! in ff_h264_execute_ref_pic_marking() [all...] |
H A D | dxva2_mpeg2.c | 48 int is_field = s->picture_structure != PICT_FRAME; in fill_picture_parameters() 68 pp->bPicStructure = s->picture_structure; in fill_picture_parameters() 94 (s->picture_structure << 12) | in fill_picture_parameters() 131 int is_field = s->picture_structure != PICT_FRAME; in fill_slice() 160 const int is_field = s->picture_structure != PICT_FRAME; in commit_bitstream_and_slice_buffer()
|
H A D | vdpau_mpeg12.c | 60 info->picture_structure = s->picture_structure; in vdpau_mpeg_start_frame()
|
H A D | cbs_mpeg2_syntax_template.c | 254 ui(2, picture_structure); in picture_coding_extension() 275 if (current->picture_structure == 1 || // Top field. in picture_coding_extension() 276 current->picture_structure == 2) { // Bottom field. in picture_coding_extension()
|
H A D | dxva2_h264.c | 62 h->picture_structure == PICT_BOTTOM_FIELD); in fill_picture_parameters() 102 pp->wBitFields = ((h->picture_structure != PICT_FRAME) << 0) | in fill_picture_parameters() 104 (h->picture_structure == PICT_FRAME)) << 1) | in fill_picture_parameters() 132 if ((h->picture_structure & PICT_TOP_FIELD) && in fill_picture_parameters() 136 if ((h->picture_structure & PICT_BOTTOM_FIELD) && in fill_picture_parameters()
|
H A D | dxva2_vc1.c | 53 if (v->lumscale != 32 || v->lumshift != 0 || (s->picture_structure != PICT_FRAME && (v->lumscale2 != 32 || v->lumshift2 != 0))) in fill_picture_parameters() 83 if (s->picture_structure & PICT_TOP_FIELD) in fill_picture_parameters() 85 if (s->picture_structure & PICT_BOTTOM_FIELD) in fill_picture_parameters() 143 if (s->picture_structure == PICT_FRAME) { in fill_picture_parameters()
|
H A D | xvmc.h | 126 unsigned int picture_structure; member
|
H A D | h264_direct.c | 64 const int poc = FIELD_PICTURE(h) ? h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_FIELD] in ff_h264_direct_dist_scale_factor() 90 int interl = mbafi || h->picture_structure != PICT_FRAME; in fill_colmap() 125 int sidx = (h->picture_structure & 1) ^ 1; in ff_h264_direct_ref_list_init() 135 if (h->picture_structure == PICT_FRAME) { in ff_h264_direct_ref_list_init() 151 if (h->picture_structure == PICT_FRAME) { in ff_h264_direct_ref_list_init() 163 } else if (!(h->picture_structure & sl->ref_list[1][0].reference) && in ff_h264_direct_ref_list_init()
|
H A D | mpegvideo_dec.c | 344 if (s->picture_structure != PICT_FRAME) in ff_mpv_frame_start() 346 (s->picture_structure == PICT_TOP_FIELD) == s->first_field; in ff_mpv_frame_start() 350 s->current_picture_ptr->field_picture = s->picture_structure != PICT_FRAME; in ff_mpv_frame_start() 465 if (s->picture_structure != PICT_FRAME) { in ff_mpv_frame_start() 467 if (s->picture_structure == PICT_BOTTOM_FIELD) { in ff_mpv_frame_start() 547 y, h, s->picture_structure, in ff_mpeg_draw_horiz_band()
|
H A D | av1_parser.c | 68 ctx->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN; in av1_parser_parse() 132 ctx->picture_structure = AV_PICTURE_STRUCTURE_FRAME; in av1_parser_parse()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | surface.c | 108 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 ! in XvMCRenderSurface() [all...] |
H A D | xvmc_private.h | 72 unsigned picture_structure; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_vp3_video_vp.c | 38 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_first); in nouveau_vp3_fill_picparm_mpeg12_vp() 469 switch (desc.mpeg12->picture_structure) { in nouveau_vp3_vp_caps()
|
H A D | nouveau_video.c | 167 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()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | picture_mpeg12.c | 60 context->desc.mpeg12.picture_structure = in vlVaHandlePictureParameterBufferMPEG12() 61 mpeg2->picture_coding_extension.bits.picture_structure; in vlVaHandlePictureParameterBufferMPEG12()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_vcn_enc_3_0.c | 93 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()
|