libavcodec/v210dec.c File Reference

#include "avcodec.h"
#include "libavutil/bswap.h"

Go to the source code of this file.

Defines

#define READ_PIXELS(a, b, c)

Functions

static av_cold int decode_init (AVCodecContext *avctx)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int decode_close (AVCodecContext *avctx)

Variables

AVCodec ff_v210_decoder


Define Documentation

#define READ_PIXELS ( a,
b,
c   ) 

Value:

do {                             \
        val  = av_le2ne32(*src++);   \
        *a++ =  val & 0x3FF;         \
        *b++ = (val >> 10) & 0x3FF;  \
        *c++ = (val >> 20) & 0x3FF;  \
    } while (0)

Referenced by decode_frame().


Function Documentation

static av_cold int decode_close ( AVCodecContext avctx  )  [static]

Definition at line 113 of file v210dec.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 41 of file v210dec.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 27 of file v210dec.c.


Variable Documentation

Initial value:

 {
    "v210",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_V210,
    0,
    decode_init,
    NULL,
    decode_close,
    decode_frame,
    CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
}

Definition at line 123 of file v210dec.c.


Generated on Fri Oct 26 02:39:46 2012 for FFmpeg by  doxygen 1.5.8