FFmpeg
|
pictordec.c File Reference
Pictor/PC Paint decoder. More...
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "cga_data.h"
#include "internal.h"
Include dependency graph for pictordec.c:
Go to the source code of this file.
Data Structures | |
struct | PicContext |
Typedefs | |
typedef struct PicContext | PicContext |
Functions | |
static void | picmemset_8bpp (PicContext *s, AVFrame *frame, int value, int run, int *x, int *y) |
static void | picmemset (PicContext *s, AVFrame *frame, int value, int run, int *x, int *y, int *plane, int bits_per_plane) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
static const uint8_t | cga_mode45_index [6][4] |
AVCodec | ff_pictor_decoder |
Detailed Description
Pictor/PC Paint decoder.
Definition in file pictordec.c.
Typedef Documentation
typedef struct PicContext PicContext |
Function Documentation
|
static |
Definition at line 100 of file pictordec.c.
|
static |
Definition at line 60 of file pictordec.c.
Referenced by decode_frame().
|
static |
Definition at line 39 of file pictordec.c.
Referenced by decode_frame().
Variable Documentation
|
static |
Initial value:
= {
[0] = { 0, 3, 5, 7 },
[1] = { 0, 2, 4, 6 },
[2] = { 0, 3, 4, 7 },
[3] = { 0, 11, 13, 15 },
[4] = { 0, 10, 12, 14 },
[5] = { 0, 11, 12, 15 },
}
Definition at line 91 of file pictordec.c.
Referenced by decode_frame().
AVCodec ff_pictor_decoder |
Initial value:
= {
.name = "pictor",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_PICTOR,
.priv_data_size = sizeof(PicContext),
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Pictor/PC Paint"),
}
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:244
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: pictordec.c:100
struct PicContext PicContext
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 254 of file pictordec.c.
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11