#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 READ_PIXELS | ( | a, | |||
b, | |||||
c | ) |
Value:
do { \ val = le2me_32(*src++); \ *a++ = val << 6; \ *b++ = (val >> 4) & 0xFFC0; \ *c++ = (val >> 14) & 0xFFC0; \ } while (0)
Referenced by decode_frame().
static av_cold int decode_close | ( | AVCodecContext * | avctx | ) | [static] |
static int decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
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"), }