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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
Go to the source code of this file.
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 ADVANCE_BLOCK |
( |
| ) |
|
Value:{ \
{ \
pixel_ptr = 0; \
} \
av_log(s->avctx,
AV_LOG_INFO,
"warning: block counter just went negative (this should not happen)\n");
\
} \
}
void av_log(void *avcl, int level, const char *fmt,...)
if(!(ptr_align%ac->ptr_align)&&samples_align >=aligned_len)
Definition at line 63 of file smc.c.
Referenced by smc_decode_stream().
#define COLORS_PER_TABLE 256 |
#define GET_BLOCK_COUNT |
( |
| ) |
(opcode & 0x10) ? (1 + bytestream2_get_byte(&s->gb)) : 1 + (opcode & 0x0F); |
Initial value:= {
.name = "smc",
}
static av_cold int smc_decode_init(AVCodecContext *avctx)
static int smc_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
static int init(AVCodecParserContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int smc_decode_end(AVCodecContext *avctx)
static void close(AVCodecParserContext *s)
struct SmcContext SmcContext
Definition at line 467 of file smc.c.