Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmpeg12dec.c65 AVPanScan pan_scan; /* some temporary storage for the panscan */ member
1194 (AVRational) { s1->pan_scan.width, in mpeg_decode_postinit()
1195 s1->pan_scan.height }), in mpeg_decode_postinit()
1202 if ((s1->pan_scan.width == 0) || (s1->pan_scan.height == 0) || in mpeg_decode_postinit()
1211 (AVRational) { s1->pan_scan.width, s1->pan_scan.height }); in mpeg_decode_postinit()
1434 s1->pan_scan.width = 16 * w; in mpeg_decode_sequence_display_extension()
1435 s1->pan_scan.height = 16 * h; in mpeg_decode_sequence_display_extension()
1461 s1->pan_scan.position[i][0] = get_sbits(&s->gb, 16); in mpeg_decode_picture_display_extension()
1463 s1->pan_scan.position[i][1] = get_sbits(&s->gb, 16); in mpeg_decode_picture_display_extension()
1470 s1->pan_scan.position[0][0], s1->pan_scan.position[0][1], in mpeg_decode_picture_display_extension()
[all …]
Dmpeg12enc.c373 const AVPanScan *pan_scan = (AVPanScan *)side_data->data; in mpeg1_encode_sequence_header() local
374 if (pan_scan->width && pan_scan->height) { in mpeg1_encode_sequence_header()
375 width = pan_scan->width >> 4; in mpeg1_encode_sequence_header()
376 height = pan_scan->height >> 4; in mpeg1_encode_sequence_header()