#include "avcodec.h"
#include "raw.h"
Go to the source code of this file.
Data Structures | |
| struct | RawVideoContext |
Functions | |
| static enum PixelFormat | findPixelFormat (const PixelFormatTag *tags, unsigned int fourcc) |
| static av_cold int | raw_init_decoder (AVCodecContext *avctx) |
| static void | flip (AVCodecContext *avctx, AVPicture *picture) |
| static int | raw_decode (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) |
| static av_cold int | raw_close_decoder (AVCodecContext *avctx) |
Variables | |
| static const PixelFormatTag | pixelFormatBpsAVI [] |
| static const PixelFormatTag | pixelFormatBpsMOV [] |
| AVCodec | rawvideo_decoder |
Definition in file rawdec.c.
| static enum PixelFormat findPixelFormat | ( | const PixelFormatTag * | tags, | |
| unsigned int | fourcc | |||
| ) | [static] |
| static void flip | ( | AVCodecContext * | avctx, | |
| AVPicture * | picture | |||
| ) | [static] |
| static av_cold int raw_close_decoder | ( | AVCodecContext * | avctx | ) | [static] |
| static int raw_decode | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static av_cold int raw_init_decoder | ( | AVCodecContext * | avctx | ) | [static] |
const PixelFormatTag pixelFormatBpsAVI[] [static] |
Initial value:
{
{ PIX_FMT_PAL8, 4 },
{ PIX_FMT_PAL8, 8 },
{ PIX_FMT_RGB555, 15 },
{ PIX_FMT_RGB555, 16 },
{ PIX_FMT_BGR24, 24 },
{ PIX_FMT_RGB32, 32 },
{ PIX_FMT_NONE, 0 },
}
const PixelFormatTag pixelFormatBpsMOV[] [static] |
Initial value:
{
{ PIX_FMT_PAL8, 4 },
{ PIX_FMT_PAL8, 8 },
{ PIX_FMT_BGR555, 16 },
{ PIX_FMT_RGB24, 24 },
{ PIX_FMT_BGR32_1, 32 },
{ PIX_FMT_NONE, 0 },
}
Initial value:
{
"rawvideo",
CODEC_TYPE_VIDEO,
CODEC_ID_RAWVIDEO,
sizeof(RawVideoContext),
raw_init_decoder,
NULL,
raw_close_decoder,
raw_decode,
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
}
1.5.8