Home
last modified time | relevance | path

Searched refs:aspect_ratio_info (Results 1 – 12 of 12) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstmpegvideoparser.c311 READ_UINT8 (&br, seqhdr->aspect_ratio_info, 4); in gst_mpeg_video_packet_parse_sequence_header()
314 set_par_from_asr_mpeg1 (seqhdr, seqhdr->aspect_ratio_info); in gst_mpeg_video_packet_parse_sequence_header()
599 switch (seqhdr->aspect_ratio_info) { in gst_mpeg_video_finalise_mpeg2_sequence_header()
617 seqhdr->aspect_ratio_info); in gst_mpeg_video_finalise_mpeg2_sequence_header()
Dgstmpeg4parser.c145 mpeg4_util_par_from_info (guint8 aspect_ratio_info, guint8 * par_width, in mpeg4_util_par_from_info() argument
148 switch (aspect_ratio_info) { in mpeg4_util_par_from_info()
977 vol->aspect_ratio_info = tmp; in gst_mpeg4_parse_video_object_layer()
978 if (vol->aspect_ratio_info != GST_MPEG4_EXTENDED_PAR) { in gst_mpeg4_parse_video_object_layer()
979 mpeg4_util_par_from_info (vol->aspect_ratio_info, &vol->par_width, in gst_mpeg4_parse_video_object_layer()
Dgstmpegvideoparser.h228 guint8 aspect_ratio_info; member
Dgstmpeg4parser.h335 GstMpeg4AspectRatioInfo aspect_ratio_info; member
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dmpegvideoparser.c103 assert_equals_int (seqhdr.aspect_ratio_info, 3); in GST_START_TEST()
/third_party/ffmpeg/libavcodec/
Dmpeg12dec.c1219 AVRational aspect_inv = av_d2q(ff_mpeg1_aspect[s->aspect_ratio_info], 255); in mpeg_decode_postinit()
1223 if (s->aspect_ratio_info > 1) { in mpeg_decode_postinit()
1225 av_mul_q(av_div_q(ff_mpeg2_aspect[s->aspect_ratio_info], in mpeg_decode_postinit()
1238 av_div_q(ff_mpeg2_aspect[s->aspect_ratio_info], in mpeg_decode_postinit()
1242 av_div_q(ff_mpeg2_aspect[s->aspect_ratio_info], in mpeg_decode_postinit()
1249 ff_mpeg2_aspect[s->aspect_ratio_info].num, in mpeg_decode_postinit()
1250 ff_mpeg2_aspect[s->aspect_ratio_info].den); in mpeg_decode_postinit()
1256 ff_mpeg2_aspect[s->aspect_ratio_info]; in mpeg_decode_postinit()
2109 s->aspect_ratio_info = get_bits(&s->gb, 4); in mpeg1_decode_sequence()
2110 if (s->aspect_ratio_info == 0) { in mpeg1_decode_sequence()
[all …]
Dituh263enc.c195 s->aspect_ratio_info= ff_h263_aspect_to_info(s->avctx->sample_aspect_ratio); in ff_h263_encode_picture_header()
197 put_bits(&s->pb,4,s->aspect_ratio_info); in ff_h263_encode_picture_header()
201 if (s->aspect_ratio_info == FF_ASPECT_EXTENDED){ in ff_h263_encode_picture_header()
Dituh263dec.c1140 s->aspect_ratio_info = get_bits(&s->gb, 4); in ff_h263_decode_picture_header()
1141 ff_dlog(s->avctx, "aspect: %d\n", s->aspect_ratio_info); in ff_h263_decode_picture_header()
1155 if (s->aspect_ratio_info == FF_ASPECT_EXTENDED) { in ff_h263_decode_picture_header()
1160 s->avctx->sample_aspect_ratio= ff_h263_pixel_aspect[s->aspect_ratio_info]; in ff_h263_decode_picture_header()
Dmpeg4videoenc.c990 s->aspect_ratio_info = ff_h263_aspect_to_info(s->avctx->sample_aspect_ratio); in mpeg4_encode_vol_header()
992 put_bits(&s->pb, 4, s->aspect_ratio_info); /* aspect ratio info */ in mpeg4_encode_vol_header()
993 if (s->aspect_ratio_info == FF_ASPECT_EXTENDED) { in mpeg4_encode_vol_header()
Dmpeg4videodec.c2181 s->aspect_ratio_info = get_bits(gb, 4); in decode_vol_header()
2182 if (s->aspect_ratio_info == FF_ASPECT_EXTENDED) { in decode_vol_header()
2186 s->avctx->sample_aspect_ratio = ff_h263_pixel_aspect[s->aspect_ratio_info]; in decode_vol_header()
3192 s->aspect_ratio_info = get_bits(gb, 4); in decode_studio_vol_header()
3193 if (s->aspect_ratio_info == FF_ASPECT_EXTENDED) { in decode_studio_vol_header()
3197 s->avctx->sample_aspect_ratio = ff_h263_pixel_aspect[s->aspect_ratio_info]; in decode_studio_vol_header()
Dmpeg12enc.c273 s->aspect_ratio_info = i; in mpeg1_encode_sequence_header()
277 put_bits(&s->pb, 4, s->aspect_ratio_info); in mpeg1_encode_sequence_header()
Dmpegvideo.h402 int aspect_ratio_info; //FIXME remove member