Raw Video Decoder. More...
#include "avcodec.h"#include "imgconvert.h"#include "raw.h"#include "libavutil/intreadwrite.h"#include "libavutil/imgutils.h"Go to the source code of this file.
Data Structures | |
| struct | RawVideoContext |
Typedefs | |
| typedef struct RawVideoContext | RawVideoContext |
Functions | |
| static enum PixelFormat | find_pix_fmt (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, AVPacket *avpkt) |
| static av_cold int | raw_close_decoder (AVCodecContext *avctx) |
Variables | |
| static const PixelFormatTag | pix_fmt_bps_avi [] |
| static const PixelFormatTag | pix_fmt_bps_mov [] |
| AVCodec | ff_rawvideo_decoder |
Raw Video Decoder.
Definition in file rawdec.c.
| typedef struct RawVideoContext RawVideoContext |
| static enum PixelFormat find_pix_fmt | ( | const PixelFormatTag * | tags, | |
| unsigned int | fourcc | |||
| ) | [static] |
Definition at line 66 of file rawdec.c.
Referenced by raw_init_decoder().
| static void flip | ( | AVCodecContext * | avctx, | |
| AVPicture * | picture | |||
| ) | [static] |
Definition at line 110 of file rawdec.c.
Referenced by audio_open(), config_input(), config_props(), draw_slice(), get_video_buffer(), raw_decode(), and start_frame().
| static av_cold int raw_close_decoder | ( | AVCodecContext * | avctx | ) | [static] |
| static int raw_decode | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
| static av_cold int raw_init_decoder | ( | AVCodecContext * | avctx | ) | [static] |
{
.name = "rawvideo",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_RAWVIDEO,
.priv_data_size = sizeof(RawVideoContext),
.init = raw_init_decoder,
.close = raw_close_decoder,
.decode = raw_decode,
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
}
const PixelFormatTag pix_fmt_bps_avi[] [static] |
const PixelFormatTag pix_fmt_bps_mov[] [static] |