|
FFmpeg
|
QT SMC Video Decoder by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) For more information about the SMC format, visit: http://www.pcisys.net/~melanson/codecs/. More...
#include <string.h>#include "avcodec.h"#include "bytestream.h"#include "codec_internal.h"#include "decode.h"Go to the source code of this file.
Data Structures | |
| struct | SmcContext |
Macros | |
| #define | CPAIR 2 |
| #define | CQUAD 4 |
| #define | COCTET 8 |
| #define | COLORS_PER_TABLE 256 |
| #define | GET_BLOCK_COUNT() |
| #define | ADVANCE_BLOCK() |
Functions | |
| static int | smc_decode_stream (SmcContext *s, GetByteContext *gb) |
| static av_cold int | smc_decode_init (AVCodecContext *avctx) |
| static int | smc_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
| static av_cold int | smc_decode_end (AVCodecContext *avctx) |
Variables | |
| const FFCodec | ff_smc_decoder |
QT SMC Video Decoder by Mike Melanson (melan.nosp@m.son@.nosp@m.pcisy.nosp@m.s.ne.nosp@m.t) For more information about the SMC format, visit: http://www.pcisys.net/~melanson/codecs/.
The SMC decoder outputs PAL8 colorspace data.
Definition in file smc.c.
| #define CPAIR 2 |
Definition at line 38 of file smc.c.
Referenced by smc_decode_stream(), and smc_encode_stream().
| #define CQUAD 4 |
Definition at line 39 of file smc.c.
Referenced by smc_decode_stream(), and smc_encode_stream().
| #define COCTET 8 |
Definition at line 40 of file smc.c.
Referenced by smc_decode_stream(), and smc_encode_stream().
| #define COLORS_PER_TABLE 256 |
Definition at line 42 of file smc.c.
Referenced by smc_decode_stream(), and smc_encode_stream().
| #define GET_BLOCK_COUNT | ( | ) |
Definition at line 57 of file smc.c.
Referenced by smc_decode_stream().
| #define ADVANCE_BLOCK | ( | ) |
Definition at line 60 of file smc.c.
Referenced by smc_decode_stream().
|
static |
Definition at line 76 of file smc.c.
Referenced by smc_decode_frame().
|
static |
|
static |
|
static |
| const FFCodec ff_smc_decoder |