45     const uint32_t *
src = (
const uint32_t *)avpkt->
data;
 
   49     int r10 = (avctx->
codec_tag & 0xFFFFFF) == 
MKTAG(
'r', 
'1', 
'0', 0);
 
   54     if (avpkt->
size < 4 * aligned_width * avctx->
height) {
 
   64     dst_line = pic->
data[0];
 
   66     for (h = 0; h < avctx->
height; h++) {
 
   67         uint16_t *dst = (uint16_t *)dst_line;
 
   68         for (w = 0; w < avctx->
width; w++) {
 
   78                 g = (pixel >>  4) & 0xffc0;
 
   79                 r = (pixel >> 14) & 0xffc0;
 
   81                 b = (pixel <<  4) & 0xffc0;
 
   82                 g = (pixel >>  6) & 0xffc0;
 
   83                 r = (pixel >> 16) & 0xffc0;
 
   85             *dst++ = r | (r >> 10);
 
   86             *dst++ = g | (g >> 10);
 
   87             *dst++ = b | (b >> 10);
 
   89         src += aligned_width - avctx->
width;
 
   98 #if CONFIG_R210_DECODER 
  109 #if CONFIG_R10K_DECODER 
  120 #if CONFIG_AVRP_DECODER 
#define AVERROR_INVALIDDATA
Invalid data found when processing input. 
 
This structure describes decoded (raw) audio or video data. 
 
ptrdiff_t const GLvoid * data
 
enum AVPixelFormat pix_fmt
Pixel format, see AV_PIX_FMT_xxx. 
 
int bits_per_raw_sample
Bits per sample/pixel of internal libavcodec pixel/sample format. 
 
uint8_t * extradata
some codecs need / can use extradata like Huffman tables. 
 
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators. 
 
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered. 
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
 
const char * name
Name of the codec implementation. 
 
Libavcodec external API header. 
 
enum AVPictureType pict_type
Picture type of the frame. 
 
int width
picture width / height. 
 
int linesize[AV_NUM_DATA_POINTERS]
For video, size in bytes of each picture line. 
 
main external API structure. 
 
int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags)
Get a buffer for a frame. 
 
unsigned int codec_tag
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A'). 
 
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
uint8_t * data[AV_NUM_DATA_POINTERS]
pointer to the picture/channel planes. 
 
common internal api header. 
 
common internal and external API header 
 
static av_cold int decode_init(AVCodecContext *avctx)
 
int key_frame
1 -> keyframe, 0-> not 
 
#define MKTAG(a, b, c, d)
 
This structure stores compressed data.