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.
Detailed Description
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.
Macro Definition Documentation
#define ADVANCE_BLOCK |
( |
| ) |
|
Value:{ \
pixel_ptr += 4; \
if (pixel_ptr >=
width) \
{ \
pixel_ptr = 0; \
} \
total_blocks--; \
if (total_blocks < !!n_blocks) \
{ \
av_log(s->avctx,
AV_LOG_INFO,
"warning: block counter just went negative (this should not happen)\n"); \
return; \
} \
}
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); |
Typedef Documentation
Function Documentation
Variable Documentation
Initial value:
Definition at line 467 of file smc.c.