FFmpeg
|
Commodore CDXL video decoder. More...
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.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 | import_format (CDXLVideoContext *c, int linesize, uint8_t *out) |
static void | cdxl_decode_rgb (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 36 of file cdxl.c.
Referenced by cdxl_decode_frame(), and import_format().
#define BIT_LINE 0x80 |
Definition at line 39 of file cdxl.c.
Referenced by cdxl_decode_frame(), and import_format().
|
static |
|
static |
Definition at line 65 of file cdxl.c.
Referenced by cdxl_decode_ham6(), cdxl_decode_ham8(), and cdxl_decode_rgb().
|
static |
Definition at line 78 of file cdxl.c.
Referenced by import_format().
|
static |
Definition at line 93 of file cdxl.c.
Referenced by import_format().
|
static |
Definition at line 108 of file cdxl.c.
Referenced by cdxl_decode_ham6(), cdxl_decode_ham8(), and cdxl_decode_rgb().
|
static |
Definition at line 122 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
Definition at line 131 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
Definition at line 174 of file cdxl.c.
Referenced by cdxl_decode_frame().
|
static |
|
static |
AVCodec ff_cdxl_decoder |