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 v210_decoder


Define Documentation

#define READ_PIXELS ( a,
b,
 ) 

Value:

do {                             \
        val  = le2me_32(*src++);     \
        *a++ =  val <<  6;           \
        *b++ = (val >>  4) & 0xFFC0; \
        *c++ = (val >> 14) & 0xFFC0; \
    } 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:36:53 2012 for FFmpeg by  doxygen 1.5.8