It's not part of the libavutil ABI.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -73,7 +73,7 @@ typedef struct Mpeg1Context { · 72 unmodified lines | |||
| 73 | MpegEncContext mpeg_enc_ctx; | 73 | MpegEncContext mpeg_enc_ctx; |
| 74 | int repeat_field; /* true if we must repeat the field */ | 74 | int repeat_field; /* true if we must repeat the field */ |
| 75 | AVPanScan pan_scan; /* some temporary storage for the panscan */ | 75 | AVPanScan pan_scan; /* some temporary storage for the panscan */ |
| 76 | AVStereo3D stereo3d; | 76 | enum AVStereo3DType stereo3d_type; |
| 77 | int has_stereo3d; | 77 | int has_stereo3d; |
| 78 | AVBufferRef *a53_buf_ref; | 78 | AVBufferRef *a53_buf_ref; |
| 79 | enum Mpeg2ClosedCaptionsFormat cc_format; | 79 | enum Mpeg2ClosedCaptionsFormat cc_format; |
| @@ -1319,7 +1319,7 @@ static int mpeg_field_start(Mpeg1Context *s1, const uint8_t *buf, int buf_size) · 1239 unmodified lines | |||
| 1319 | if (!stereo) | 1319 | if (!stereo) |
| 1320 | return AVERROR(ENOMEM); | 1320 | return AVERROR(ENOMEM); |
| 1321 | 1321 | ||
| 1322 | *stereo = s1->stereo3d; | 1322 | stereo->type = s1->stereo3d_type; |
| 1323 | s1->has_stereo3d = 0; | 1323 | s1->has_stereo3d = 0; |
| 1324 | } | 1324 | } |
| 1325 | 1325 | ||
| @@ -2118,16 +2118,16 @@ static void mpeg_decode_user_data(AVCodecContext *avctx, · 792 unmodified lines | |||
| 2118 | 2118 | ||
| 2119 | switch (S3D_video_format_type) { | 2119 | switch (S3D_video_format_type) { |
| 2120 | case 0x03: | 2120 | case 0x03: |
| 2121 | s1->stereo3d.type = AV_STEREO3D_SIDEBYSIDE; | 2121 | s1->stereo3d_type = AV_STEREO3D_SIDEBYSIDE; |
| 2122 | break; | 2122 | break; |
| 2123 | case 0x04: | 2123 | case 0x04: |
| 2124 | s1->stereo3d.type = AV_STEREO3D_TOPBOTTOM; | 2124 | s1->stereo3d_type = AV_STEREO3D_TOPBOTTOM; |
| 2125 | break; | 2125 | break; |
| 2126 | case 0x08: | 2126 | case 0x08: |
| 2127 | s1->stereo3d.type = AV_STEREO3D_2D; | 2127 | s1->stereo3d_type = AV_STEREO3D_2D; |
| 2128 | break; | 2128 | break; |
| 2129 | case 0x23: | 2129 | case 0x23: |
| 2130 | s1->stereo3d.type = AV_STEREO3D_SIDEBYSIDE_QUINCUNX; | 2130 | s1->stereo3d_type = AV_STEREO3D_SIDEBYSIDE_QUINCUNX; |
| 2131 | break; | 2131 | break; |
| 2132 | } | 2132 | } |
| 2133 | } | 2133 | } |