interplayacm.c File Reference
Go to the source code of this file.
Data Structures
Macros
Typedefs
Functions
static void
juggle (
int *wrap_p,
int *block_p, unsigned sub_len, unsigned sub_count)
Variables
static const int8_t
map_1bit [] = { -1, +1 }
static const int8_t
map_3bit [] = { -4, -3, -2, -1, +1, +2, +3, +4 }
Macro Definition Documentation
◆ BITSTREAM_READER_LE
#define BITSTREAM_READER_LE
◆ set_pos
Value: do { \
unsigned
pos = ((
r) <<
s->level) + (
c); \
s->block[
pos] =
s->midbuf[(idx)]; \
} while (0)
Definition at line 112 of file interplayacm.c.
Typedef Documentation
◆ filler
Function Documentation
◆ decode_init_static()
static
av_cold void decode_init_static
(
void
)
static
◆ decode_init()
◆ zero()
unsigned
ind,
unsigned
col
)
static
◆ bad()
unsigned
ind,
unsigned
col
)
static
◆ linear()
unsigned
ind,
unsigned
col
)
static
◆ k13()
unsigned
ind,
unsigned
col
)
static
◆ k12()
unsigned
ind,
unsigned
col
)
static
◆ k24()
unsigned
ind,
unsigned
col
)
static
◆ k23()
unsigned
ind,
unsigned
col
)
static
◆ k35()
unsigned
ind,
unsigned
col
)
static
◆ k34()
unsigned
ind,
unsigned
col
)
static
◆ k45()
unsigned
ind,
unsigned
col
)
static
◆ k44()
unsigned
ind,
unsigned
col
)
static
◆ t15()
unsigned
ind,
unsigned
col
)
static
◆ t27()
unsigned
ind,
unsigned
col
)
static
◆ t37()
unsigned
ind,
unsigned
col
)
static
◆ fill_block()
◆ juggle()
static void juggle
(
int *
wrap_p,
unsigned
sub_len,
unsigned
sub_count
)
static
◆ juggle_block()
◆ decode_block()
◆ decode_frame()
◆ decode_close()
Variable Documentation
◆ map_1bit
const int8_t map_1bit[] = { -1, +1 }
static
◆ map_2bit_near
const int8_t map_2bit_near[] = { -2, -1, +1, +2 }
static
◆ map_2bit_far
const int8_t map_2bit_far[] = { -3, -2, +2, +3 }
static
◆ map_3bit
const int8_t map_3bit[] = { -4, -3, -2, -1, +1, +2, +3, +4 }
static
◆ mul_3x3
◆ mul_3x5
◆ mul_2x11
◆ filler_list
◆ ff_interplay_acm_decoder
const
AVCodec ff_interplay_acm_decoder
Initial value:= {
.name = "interplayacm",
}
Definition at line 635 of file interplayacm.c.
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static int k45(InterplayACMContext *s, unsigned ind, unsigned col)
@ AV_CODEC_ID_INTERPLAY_ACM
static int linear(InterplayACMContext *s, unsigned ind, unsigned col)
static int k44(InterplayACMContext *s, unsigned ind, unsigned col)
static int t15(InterplayACMContext *s, unsigned ind, unsigned col)
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *pkt)
static int k35(InterplayACMContext *s, unsigned ind, unsigned col)
static int k34(InterplayACMContext *s, unsigned ind, unsigned col)
static av_cold int decode_init(AVCodecContext *avctx)
static int k12(InterplayACMContext *s, unsigned ind, unsigned col)
static av_cold int decode_close(AVCodecContext *avctx)
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int t27(InterplayACMContext *s, unsigned ind, unsigned col)
static int zero(InterplayACMContext *s, unsigned ind, unsigned col)
static int k23(InterplayACMContext *s, unsigned ind, unsigned col)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static int t37(InterplayACMContext *s, unsigned ind, unsigned col)
static int k13(InterplayACMContext *s, unsigned ind, unsigned col)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static int bad(InterplayACMContext *s, unsigned ind, unsigned col)
static int k24(InterplayACMContext *s, unsigned ind, unsigned col)
Generated on Wed Aug 24 2022 21:38:39 for FFmpeg by
doxygen
1.8.17