FFmpeg
|
Commodore CDXL video decoder. More...
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | CDXLVideoContext |
Macros | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#define | BIT_PLANAR 0x00 |
#define | CHUNKY 0x20 |
#define | BYTE_PLANAR 0x40 |
#define | BIT_LINE 0x80 |
#define | BYTE_LINE 0xC0 |
Functions | |
static av_cold int | cdxl_decode_init (AVCodecContext *avctx) |
static void | import_palette (CDXLVideoContext *c, uint32_t *new_palette) |
static void | bitplanar2chunky (CDXLVideoContext *c, int linesize, uint8_t *out) |
static void | bitline2chunky (CDXLVideoContext *c, int linesize, uint8_t *out) |
static void | chunky2chunky (CDXLVideoContext *c, int linesize, uint8_t *out) |
static void | import_format (CDXLVideoContext *c, int linesize, uint8_t *out) |
static void | cdxl_decode_rgb (CDXLVideoContext *c, AVFrame *frame) |
static void | cdxl_decode_raw (CDXLVideoContext *c, AVFrame *frame) |
static void | cdxl_decode_ham6 (CDXLVideoContext *c, AVFrame *frame) |
static void | cdxl_decode_ham8 (CDXLVideoContext *c, AVFrame *frame) |
static int | cdxl_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *pkt) |
static av_cold int | cdxl_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_cdxl_decoder |
Commodore CDXL video decoder.
Definition in file cdxl.c.
#define BIT_PLANAR 0x00 |
Definition at line 37 of file cdxl.c.
Referenced by cdxl_decode_frame(), and import_format().
#define CHUNKY 0x20 |
Definition at line 38 of file cdxl.c.
Referenced by cdxl_decode_frame(), and import_format().
#define BIT_LINE 0x80 |
Definition at line 40 of file cdxl.c.
Referenced by cdxl_decode_frame(), and import_format().
|
static |
|
static |
Definition at line 66 of file cdxl.c.
Referenced by cdxl_decode_ham6(), cdxl_decode_ham8(), and cdxl_decode_rgb().
|
static |
Definition at line 79 of file cdxl.c.
Referenced by import_format().
|
static |
Definition at line 95 of file cdxl.c.
Referenced by import_format().
|
static |
Definition at line 111 of file cdxl.c.
Referenced by import_format().
|
static |
Definition at line 122 of file cdxl.c.
Referenced by cdxl_decode_ham6(), cdxl_decode_ham8(), cdxl_decode_raw(), and cdxl_decode_rgb().
|
static |
Definition at line 139 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
Definition at line 148 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
Definition at line 153 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
Definition at line 196 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
|
static |
AVCodec ff_cdxl_decoder |