mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/h264: Move COPY_PICTURE() to h264.h so it can be used from other parts of the h264 decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
29fd3032cc
commit
ecfd48dc06
@ -892,6 +892,13 @@ void ff_h264_reset_sei(H264Context *h);
|
||||
*/
|
||||
const char* ff_h264_sei_stereo_mode(H264Context *h);
|
||||
|
||||
#define COPY_PICTURE(dst, src) \
|
||||
do {\
|
||||
*(dst) = *(src);\
|
||||
(dst)->f.extended_data = (dst)->f.data;\
|
||||
(dst)->tf.f = &(dst)->f;\
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
* o-o o-o
|
||||
* / / /
|
||||
|
@ -36,13 +36,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#define COPY_PICTURE(dst, src) \
|
||||
do {\
|
||||
*(dst) = *(src);\
|
||||
(dst)->f.extended_data = (dst)->f.data;\
|
||||
(dst)->tf.f = &(dst)->f;\
|
||||
} while (0)
|
||||
|
||||
|
||||
static void pic_as_field(H264Picture *pic, const int parity){
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user