All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rawutils.c File Reference
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.


int ff_reshuffle_raw_rgb (AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_stride)
 Reshuffles the lines to use the user specified stride. More...

Function Documentation

int ff_reshuffle_raw_rgb ( AVFormatContext s,
AVPacket **  ppkt,
AVCodecParameters par,
int  expected_stride 

Reshuffles the lines to use the user specified stride.

ppktinput and output packet
negative error code or 0 if no new packet was allocated non-zero if a new packet was allocated and ppkt has to be freed CONTAINS_PAL if in addition to a new packet the old contained a palette

Definition at line 25 of file rawutils.c.

Referenced by avi_write_packet(), and mov_write_packet().