diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-17 14:02:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-18 14:40:06 +0100 |
commit | 090b673aba211a263802d0bcd78f26129e2cffa4 (patch) | |
tree | 99761d2b619dc4abcc1f155094c8355bb34ae442 /libavformat/internal.h | |
parent | da94d619f6419aa5feca2cd1eac868a5711d47eb (diff) | |
download | ffmpeg-090b673aba211a263802d0bcd78f26129e2cffa4.tar.gz |
avformat: add ff_reshuffle_raw_rgb()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index fee823d32f..93be63249e 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -560,4 +560,12 @@ void ff_format_io_close(AVFormatContext *s, AVIOContext **pb); */ int ff_parse_creation_time_metadata(AVFormatContext *s, int64_t *timestamp, int return_seconds); +/** + * Reshuffles the lines to use the user specified stride. + * + * @param ppkt input and output packet + * @return negative error code or 0 or 1, 1 indicates that ppkt needs to be freed + */ +int ff_reshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecContext *enc, int expected_stride); + #endif /* AVFORMAT_INTERNAL_H */ |