Searched refs:aspect_ratio_info (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mpeg12dec.c | 72 unsigned aspect_ratio_info; member 1187 AVRational aspect_inv = av_d2q(ff_mpeg1_aspect[s1->aspect_ratio_info], 255); in mpeg_decode_postinit() 1191 if (s1->aspect_ratio_info > 1) { in mpeg_decode_postinit() 1193 av_mul_q(av_div_q(ff_mpeg2_aspect[s1->aspect_ratio_info], in mpeg_decode_postinit() 1206 av_div_q(ff_mpeg2_aspect[s1->aspect_ratio_info], in mpeg_decode_postinit() 1210 av_div_q(ff_mpeg2_aspect[s1->aspect_ratio_info], in mpeg_decode_postinit() 1217 ff_mpeg2_aspect[s1->aspect_ratio_info].num, in mpeg_decode_postinit() 1218 ff_mpeg2_aspect[s1->aspect_ratio_info].den); in mpeg_decode_postinit() 1224 ff_mpeg2_aspect[s1->aspect_ratio_info]; in mpeg_decode_postinit() 2079 s1->aspect_ratio_info = get_bits(&s->gb, 4); in mpeg1_decode_sequence() [all …]
|
D | ituh263enc.c | 201 unsigned aspect_ratio_info = ff_h263_aspect_to_info(s->avctx->sample_aspect_ratio); in ff_h263_encode_picture_header() local 203 put_bits(&s->pb,4, aspect_ratio_info); in ff_h263_encode_picture_header() 207 if (aspect_ratio_info == FF_ASPECT_EXTENDED){ in ff_h263_encode_picture_header()
|
D | ituh263dec.c | 1227 int aspect_ratio_info = get_bits(&s->gb, 4); in ff_h263_decode_picture_header() local 1228 ff_dlog(s->avctx, "aspect: %d\n", aspect_ratio_info); in ff_h263_decode_picture_header() 1242 if (aspect_ratio_info == FF_ASPECT_EXTENDED) { in ff_h263_decode_picture_header() 1247 s->avctx->sample_aspect_ratio= ff_h263_pixel_aspect[aspect_ratio_info]; in ff_h263_decode_picture_header()
|
D | mpeg4videoenc.c | 961 int vo_ver_id, vo_type, aspect_ratio_info; in mpeg4_encode_vol_header() local 986 aspect_ratio_info = ff_h263_aspect_to_info(s->avctx->sample_aspect_ratio); in mpeg4_encode_vol_header() 988 put_bits(&s->pb, 4, aspect_ratio_info); /* aspect ratio info */ in mpeg4_encode_vol_header() 989 if (aspect_ratio_info == FF_ASPECT_EXTENDED) { in mpeg4_encode_vol_header()
|
D | mpeg12enc.c | 277 int aspect_ratio_info; in mpeg1_encode_sequence_header() local 302 aspect_ratio_info = i; in mpeg1_encode_sequence_header() 306 put_bits(&s->pb, 4, aspect_ratio_info); in mpeg1_encode_sequence_header()
|
D | mpeg4videodec.c | 2291 int width, height, aspect_ratio_info; in decode_studio_vol_header() local 2346 aspect_ratio_info = get_bits(gb, 4); in decode_studio_vol_header() 2347 if (aspect_ratio_info == FF_ASPECT_EXTENDED) { in decode_studio_vol_header() 2351 s->avctx->sample_aspect_ratio = ff_h263_pixel_aspect[aspect_ratio_info]; in decode_studio_vol_header() 2377 int width, height, vo_ver_id, aspect_ratio_info; in decode_vol_header() local 2405 aspect_ratio_info = get_bits(gb, 4); in decode_vol_header() 2406 if (aspect_ratio_info == FF_ASPECT_EXTENDED) { in decode_vol_header() 2410 s->avctx->sample_aspect_ratio = ff_h263_pixel_aspect[aspect_ratio_info]; in decode_vol_header()
|