Home
last modified time | relevance | path

Searched refs:pan_scan (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpeg12dec.c61 AVPanScan pan_scan; /* some temporary storage for the panscan */ member
1219 (AVRational) { s1->pan_scan.width, in mpeg_decode_postinit()
1220 s1->pan_scan.height }), in mpeg_decode_postinit()
1227 if ((s1->pan_scan.width == 0) || (s1->pan_scan.height == 0) || in mpeg_decode_postinit()
1236 (AVRational) { s1->pan_scan.width, s1->pan_scan.height }); in mpeg_decode_postinit()
1454 s1->pan_scan.width = 16 * w; in mpeg_decode_sequence_display_extension()
1455 s1->pan_scan.height = 16 * h; in mpeg_decode_sequence_display_extension()
1481 s1->pan_scan.position[i][0] = get_sbits(&s->gb, 16); in mpeg_decode_picture_display_extension()
1483 s1->pan_scan.position[i][1] = get_sbits(&s->gb, 16); in mpeg_decode_picture_display_extension()
1490 s1->pan_scan.position[0][0], s1->pan_scan.position[0][1], in mpeg_decode_picture_display_extension()
[all …]
Dmpeg12enc.c346 AVPanScan *pan_scan = (AVPanScan *)side_data->data; in mpeg1_encode_sequence_header() local
347 if (pan_scan->width && pan_scan->height) { in mpeg1_encode_sequence_header()
348 width = pan_scan->width >> 4; in mpeg1_encode_sequence_header()
349 height = pan_scan->height >> 4; in mpeg1_encode_sequence_header()