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 READ_PIXELS | ( | a, | |
| b, | |||
| c | |||
| ) |
do { \ val = av_le2ne32(*src++); \ *a++ = val & 0x3FF; \ *b++ = (val >> 10) & 0x3FF; \ *c++ = (val >> 20) & 0x3FF; \ } 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] |
{
.name = "v210",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_V210,
.init = decode_init,
.close = decode_close,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
}