FFmpeg  4.0
Data Structures | Macros | Functions | Variables
mace.c File Reference

MACE decoder. More...

#include "avcodec.h"
#include "internal.h"
#include "libavutil/common.h"

Go to the source code of this file.

Data Structures

struct  ChannelData
 
struct  MACEContext
 

Macros

#define QT_8S_2_16S(x)   (((x) & 0xFF00) | (((x) >> 8) & 0xFF))
 

Functions

static int16_t mace_broken_clip_int16 (int n)
 MACE version of av_clip_int16(). More...
 
static int16_t read_table (ChannelData *chd, uint8_t val, int tab_idx)
 
static void chomp3 (ChannelData *chd, int16_t *output, uint8_t val, int tab_idx)
 
static void chomp6 (ChannelData *chd, int16_t *output, uint8_t val, int tab_idx)
 
static av_cold int mace_decode_init (AVCodecContext *avctx)
 
static int mace_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 

Variables

static const int16_t MACEtab1 [] = {-13, 8, 76, 222, 222, 76, 8, -13}
 
static const int16_t MACEtab3 [] = {-18, 140, 140, -18}
 
static const int16_t MACEtab2 [][4]
 
static const int16_t MACEtab4 [][2]
 
struct {
   const int16_t *   tab1
 
   const int16_t *   tab2
 
   int   stride
 
tabs []
 
AVCodec ff_mace3_decoder
 
AVCodec ff_mace6_decoder
 

Detailed Description

MACE decoder.

Definition in file mace.c.

Macro Definition Documentation

◆ QT_8S_2_16S

#define QT_8S_2_16S (   x)    (((x) & 0xFF00) | (((x) >> 8) & 0xFF))

Definition at line 151 of file mace.c.

Referenced by chomp3(), and chomp6().

Function Documentation

◆ mace_broken_clip_int16()

static int16_t mace_broken_clip_int16 ( int  n)
inlinestatic

MACE version of av_clip_int16().

We have to do this to keep binary identical output to the binary decoder.

Definition at line 165 of file mace.c.

Referenced by chomp3(), and chomp6().

◆ read_table()

static int16_t read_table ( ChannelData chd,
uint8_t  val,
int  tab_idx 
)
static

Definition at line 175 of file mace.c.

Referenced by chomp3(), and chomp6().

◆ chomp3()

static void chomp3 ( ChannelData chd,
int16_t *  output,
uint8_t  val,
int  tab_idx 
)
static

Definition at line 190 of file mace.c.

Referenced by mace_decode_frame().

◆ chomp6()

static void chomp6 ( ChannelData chd,
int16_t *  output,
uint8_t  val,
int  tab_idx 
)
static

Definition at line 201 of file mace.c.

Referenced by mace_decode_frame().

◆ mace_decode_init()

static av_cold int mace_decode_init ( AVCodecContext avctx)
static

Definition at line 227 of file mace.c.

◆ mace_decode_frame()

static int mace_decode_frame ( AVCodecContext avctx,
void data,
int got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 236 of file mace.c.

Variable Documentation

◆ MACEtab1

const int16_t MACEtab1[] = {-13, 8, 76, 222, 222, 76, 8, -13}
static

Definition at line 37 of file mace.c.

◆ MACEtab3

const int16_t MACEtab3[] = {-18, 140, 140, -18}
static

Definition at line 39 of file mace.c.

◆ MACEtab2

const int16_t MACEtab2[][4]
static

Definition at line 41 of file mace.c.

◆ MACEtab4

const int16_t MACEtab4[][2]
static

Definition at line 108 of file mace.c.

◆ tab1

const int16_t* tab1

Definition at line 144 of file mace.c.

Referenced by compute_stereo(), dequant(), dxv_decompress_cocg(), and main().

◆ tab2

const int16_t* tab2

Definition at line 144 of file mace.c.

Referenced by dxv_decompress_cocg(), and main().

◆ stride

int stride

Definition at line 144 of file mace.c.

Referenced by aasc_decode_frame(), add_gradient_pred_c(), add_pixels_clamped_msa(), add_rect_clamped_c(), add_residual(), add_residual16x16(), add_residual32x32(), add_residual4x4(), add_residual8x8(), adpcm_compress_trellis(), advance_line(), alloc_buffers(), apply_loop_filter(), apply_lut(), av_image_check_size2(), avc_biwgt_4x8_msa(), avc_biwgt_8x16_msa(), avc_chroma_hv_2x2_msa(), avc_chroma_hv_4x8_msa(), avc_chroma_hv_8x4_msa(), avc_chroma_hv_8x8_msa(), avc_chroma_hv_and_aver_dst_2x2_msa(), avc_chroma_hv_and_aver_dst_4x8_msa(), avc_chroma_hv_and_aver_dst_8x4_msa(), avc_chroma_hv_and_aver_dst_8x8_msa(), avc_chroma_hz_2x2_msa(), avc_chroma_hz_and_aver_dst_2x2_msa(), avc_chroma_hz_nonmult_msa(), avc_chroma_vt_2x2_msa(), avc_chroma_vt_4x8_msa(), avc_chroma_vt_8x8_msa(), avc_chroma_vt_and_aver_dst_2x2_msa(), avc_chroma_vt_and_aver_dst_4x8_msa(), avc_chroma_vt_and_aver_dst_8x8_msa(), avc_h_loop_filter_chroma422_mbaff_msa(), avc_h_loop_filter_chroma422_msa(), avc_h_loop_filter_luma_mbaff_intra_msa(), avc_h_loop_filter_luma_mbaff_msa(), avc_luma_hv_qrt_16x16_msa(), avc_luma_hv_qrt_4x4_msa(), avc_luma_hv_qrt_8x8_msa(), avc_luma_hv_qrt_and_aver_dst_16x16_msa(), avc_luma_hv_qrt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_and_aver_dst_8x8_msa(), avc_wgt_8x16_msa(), avg_no_rnd_vc1_chroma_mc4_c(), avg_no_rnd_vc1_chroma_mc8_c(), avg_tpel_pixels_mc01_c(), avg_tpel_pixels_mc02_c(), avg_tpel_pixels_mc10_c(), avg_tpel_pixels_mc11_c(), avg_tpel_pixels_mc12_c(), avg_tpel_pixels_mc20_c(), avg_tpel_pixels_mc21_c(), avg_tpel_pixels_mc22_c(), avg_width4_msa(), avg_width8_msa(), avs_decode_frame(), bink_decode_plane(), bink_put_pixels(), binkb_decode_plane(), bitplane_decoding(), block_cmp(), blur(), cavs_idct8_add_c(), cdg_copy_rect_buf(), cdg_scroll(), cdg_tile_block(), celt_deinterleave_hadamard(), celt_exp_rotation(), celt_exp_rotation_impl(), celt_haar1(), celt_interleave_hadamard(), check_add_gradient_pred(), check_add_res(), check_bidir_mv(), check_idct(), check_idct_dc4(), check_idct_multiple(), check_intra_mode(), check_ipred(), check_itxfm(), check_loopfilter(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_sao_band(), check_sao_edge(), check_sub_left_pred(), checkasm_check_h264qpel(), checkline(), cmp_direct_inline(), cmp_inline(), codec37_mv(), compress_alpha(), compute_default_clut(), compute_metric(), compute_vmaf_score(), copy_block(), copy_width4_msa(), copy_width8_msa(), correlate(), dc_127_16x16_c(), dc_127_32x32_c(), dc_127_8x8_c(), dc_128_16x16_c(), dc_128_32x32_c(), dc_128_8x8_c(), dc_129_16x16_c(), dc_129_32x32_c(), dc_129_8x8_c(), dc_16x16_c(), dc_32x32_c(), dc_8x8_c(), dc_left_16x16_c(), dc_left_32x32_c(), dc_left_8x8_c(), dc_top_16x16_c(), dc_top_32x32_c(), dc_top_8x8_c(), dct_sad8x8_c(), dctA_c(), deblock_v8_luma_intra_8_mmi(), decode(), decode_13(), decode_555(), decode_dct_block(), decode_fill_block(), decode_frame(), decode_haar_block(), decode_hybrid(), decode_image_block(), decode_init(), decode_p_block(), decode_pixel_in_context(), decode_plane(), decode_plane10(), decode_region(), decode_region_intra(), decode_region_masked(), decode_rgb_frame(), decode_rowskip(), decorrelate(), deInterlaceBlendLinear(), deInterlaceFF(), deInterlaceInterpolateCubic(), deInterlaceInterpolateLinear(), deInterlaceL5(), deInterlaceMedian(), deinterleave(), dequant(), dequantize(), dering(), diff_pixels_c(), diff_pixels_mvi(), dirac_hpel_filter(), do_a_deblock_C(), doHorizDefFilter_C(), doHorizLowPass_C(), doVertDefFilter(), doVertLowPass(), doVertLowPass_altivec(), draw_line(), draw_n_color(), duplicate(), dx2_decode_slice_5x5(), dx2_decode_slice_rgb(), dxn3dc_block(), dxt1_block_internal(), dxt3_block_internal(), dxt5_block_internal(), encode_block(), encode_frame(), encode_q_branch(), encode_rgb_frame(), encode_subband_c0run(), epic_decode_tile(), extend_edges(), fdct_get(), ff_apply_vector_2x2(), ff_apply_vector_4x4(), ff_avg_h264_chroma_mc2_msa(), ff_avg_h264_chroma_mc4_mmi(), ff_avg_h264_chroma_mc8_mmi(), ff_avg_h264_qpel16_mc00_msa(), ff_avg_h264_qpel16_mc01_msa(), ff_avg_h264_qpel16_mc02_msa(), ff_avg_h264_qpel16_mc03_msa(), ff_avg_h264_qpel16_mc10_msa(), ff_avg_h264_qpel16_mc12_msa(), ff_avg_h264_qpel16_mc20_msa(), ff_avg_h264_qpel16_mc21_msa(), ff_avg_h264_qpel16_mc22_msa(), ff_avg_h264_qpel16_mc23_msa(), ff_avg_h264_qpel16_mc30_msa(), ff_avg_h264_qpel16_mc32_msa(), ff_avg_h264_qpel4_mc01_msa(), ff_avg_h264_qpel4_mc02_msa(), ff_avg_h264_qpel4_mc03_msa(), ff_avg_h264_qpel4_mc12_msa(), ff_avg_h264_qpel4_mc21_msa(), ff_avg_h264_qpel4_mc22_msa(), ff_avg_h264_qpel4_mc23_msa(), ff_avg_h264_qpel4_mc32_msa(), ff_avg_h264_qpel8_mc00_msa(), ff_avg_h264_qpel8_mc01_msa(), ff_avg_h264_qpel8_mc02_msa(), ff_avg_h264_qpel8_mc03_msa(), ff_avg_h264_qpel8_mc12_msa(), ff_avg_h264_qpel8_mc21_msa(), ff_avg_h264_qpel8_mc22_msa(), ff_avg_h264_qpel8_mc23_msa(), ff_avg_h264_qpel8_mc32_msa(), ff_avg_no_rnd_vc1_chroma_mc4_mmi(), ff_avg_no_rnd_vc1_chroma_mc8_mmi(), ff_biweight_h264_pixels16_8_msa(), ff_ccitt_unpack(), ff_deblock_h_chroma_8_mmi(), ff_deblock_h_chroma_intra_8_mmi(), ff_deblock_h_luma_8_mmi(), ff_deblock_h_luma_intra_8_mmi(), ff_deblock_v8_luma_8_mmi(), ff_deblock_v_chroma_8_mmi(), ff_deblock_v_chroma_intra_8_mmi(), ff_diff_pixels_mmi(), ff_get_pixels_8_mmi(), ff_gmc_c(), ff_h263_decode_mb(), ff_h264_add_pixels4(), ff_h264_add_pixels4_8_mmi(), ff_h264_add_pixels8(), ff_h264_biweight_pixels16_8_mmi(), ff_h264_biweight_pixels4_8_mmi(), ff_h264_biweight_pixels8_8_mmi(), ff_h264_idct8_add_8_mmi(), ff_h264_idct8_dc_add_8_mmi(), ff_h264_idct_add_8_mmi(), ff_h264_idct_dc_add_8_mmi(), ff_h264_intra_pred_dc_128_16x16_msa(), ff_h264_intra_pred_dc_128_8x8_msa(), ff_h264_intra_pred_dc_16x16_msa(), ff_h264_intra_pred_dc_left_16x16_msa(), ff_h264_intra_pred_dc_top_16x16_msa(), ff_h264_weight_pixels16_8_mmi(), ff_h264_weight_pixels4_8_mmi(), ff_h264_weight_pixels8_8_mmi(), ff_hevc_hls_residual_coding(), ff_init_me(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_jpegls_decode_picture(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mss34_dct_put(), ff_pred16x16_dc_8_mmi(), ff_pred16x16_horizontal_8_mmi(), ff_pred16x16_vertical_8_mmi(), ff_pred4x4_dc_8_mmi(), ff_pred8x16_horizontal_8_mmi(), ff_pred8x16_vertical_8_mmi(), ff_pred8x8_dc_8_mmi(), ff_pred8x8_horizontal_8_mmi(), ff_pred8x8_top_dc_8_mmi(), ff_pred8x8_vertical_8_mmi(), ff_pred8x8l_dc_8_mmi(), ff_pred8x8l_top_dc_8_mmi(), ff_pred8x8l_vertical_8_mmi(), ff_put_h264_chroma_mc2_msa(), ff_put_h264_chroma_mc4_mmi(), ff_put_h264_chroma_mc8_mmi(), ff_put_h264_qpel16_mc00_msa(), ff_put_h264_qpel16_mc01_msa(), ff_put_h264_qpel16_mc02_msa(), ff_put_h264_qpel16_mc03_msa(), ff_put_h264_qpel16_mc10_msa(), ff_put_h264_qpel16_mc12_msa(), ff_put_h264_qpel16_mc20_msa(), ff_put_h264_qpel16_mc21_msa(), ff_put_h264_qpel16_mc22_msa(), ff_put_h264_qpel16_mc23_msa(), ff_put_h264_qpel16_mc30_msa(), ff_put_h264_qpel16_mc32_msa(), ff_put_h264_qpel4_mc01_msa(), ff_put_h264_qpel4_mc02_msa(), ff_put_h264_qpel4_mc03_msa(), ff_put_h264_qpel4_mc12_msa(), ff_put_h264_qpel4_mc21_msa(), ff_put_h264_qpel4_mc22_msa(), ff_put_h264_qpel4_mc23_msa(), ff_put_h264_qpel4_mc32_msa(), ff_put_h264_qpel8_mc00_msa(), ff_put_h264_qpel8_mc01_msa(), ff_put_h264_qpel8_mc02_msa(), ff_put_h264_qpel8_mc03_msa(), ff_put_h264_qpel8_mc12_msa(), ff_put_h264_qpel8_mc21_msa(), ff_put_h264_qpel8_mc22_msa(), ff_put_h264_qpel8_mc23_msa(), ff_put_h264_qpel8_mc32_msa(), ff_put_no_rnd_vc1_chroma_mc4_mmi(), ff_put_no_rnd_vc1_chroma_mc8_mmi(), ff_reshuffle_raw_rgb(), ff_snow_pred_block(), ff_vc1_h_overlap_mmi(), ff_vc1_v_overlap_mmi(), ff_vp6_filter_diag4_c(), ff_vp8_idct_add_mmi(), ff_vp8_idct_dc_add_mmi(), ff_weight_h264_pixels16_8_msa(), fic_decode_slice(), fic_idct_put(), fillPlane(), fillPlane16(), filter(), filter16_3x3(), filter16_5x5(), filter16_7x7(), filter16_prewitt(), filter16_roberts(), filter16_sobel(), filter181(), filter_3x3(), filter_5x5(), filter_7x7(), filter_common(), filter_frame(), filter_mbedge(), filter_prewitt(), filter_roberts(), filter_sobel(), for(), fraps2_decode_plane(), g2m_paint_cursor(), get(), get_dc(), get_frame_mb(), get_intra_count(), get_pixels_8_c(), get_pixels_mvi(), get_visual_weight(), gmc1_c(), gradient_predict(), guess_dc(), h261_loop_filter(), h263_h_loop_filter_msa(), h263_mv4_search(), h263_v_loop_filter_c(), h263_v_loop_filter_msa(), h264_v_loop_filter_chroma(), h264_v_loop_filter_chroma_intra(), h264_v_loop_filter_luma(), h264_v_loop_filter_luma_intra(), h_block_filter(), hadamard_func(), hard_thresholding(), hdcd_analyze(), hdcd_analyze_prepare(), hdcd_envelope(), hdcd_process(), hdcd_process_stereo(), hdcd_scan(), hev(), hevc_addblk_16x16_msa(), hevc_addblk_32x32_msa(), hevc_addblk_8x8_msa(), hevc_h_loop_filter_chroma(), hevc_h_loop_filter_luma(), hevc_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_dc_16x16_msa(), hevc_intra_pred_dc_32x32_msa(), hevc_intra_pred_dc_8x8_msa(), hevc_intra_pred_horiz_16x16_msa(), hevc_intra_pred_horiz_32x32_msa(), hevc_intra_pred_plane_16x16_msa(), hevc_intra_pred_plane_32x32_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_intra_pred_vert_8x8_msa(), hevc_loopfilter_chroma_hor_msa(), hevc_loopfilter_chroma_ver_msa(), hevc_loopfilter_luma_hor_msa(), hevc_loopfilter_luma_ver_msa(), hl_decode_mb(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), hls_transform_unit(), hor_16x16_c(), hor_32x32_c(), hor_8x8_c(), horizX1Filter(), hpel_motion_lowres(), hq_idct_put(), idct(), idct_put(), imdct15_half(), init_mv4_ref(), init_ref(), interlaced_search(), INTERPOLATE_METHOD(), intra_pred(), intra_predict_dc_4blk_8x8_msa(), intra_predict_hor_dc_8x8_msa(), intra_predict_mad_cow_dc_0l0_8x8_msa(), intra_predict_mad_cow_dc_0lt_8x8_msa(), intra_predict_mad_cow_dc_l00_8x8_msa(), intra_predict_mad_cow_dc_l0t_8x8_msa(), intra_predict_plane_16x16_msa(), intra_predict_plane_8x8_msa(), intra_predict_vert_dc_8x8_msa(), isHorizDC_C(), isHorizMinMaxOk_C(), isVertDC_C(), iterative_me(), kempf_restore_buf(), lag_decode_arith_plane(), lag_pred_line(), lag_pred_line_yuy2(), left_predict(), loco_decode_plane(), loco_predict(), ls_decode_line(), ls_encode_line(), m101_decode_frame(), magy_decode_slice(), magy_decode_slice10(), main(), mc_block(), mcdc(), median_predict(), memset_zero_16width_msa(), mpeg4_decode_partition_a(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), multiply3x3_c(), nsse16_c(), nsse8_c(), old_codec37(), old_codec47(), optimize_colors(), paint_raw(), paint_rect(), pcx_decode_frame(), pix_abs16_c(), pix_abs16_x2_c(), pix_abs16_xy2_c(), pix_abs16_y2_c(), pix_abs8_c(), pix_abs8_x2_c(), pix_abs8_xy2_c(), pix_abs8_y2_c(), pix_median_abs16_c(), pix_median_abs8_c(), postProcess(), pp_get_context(), pred16x16_dc(), pred16x16_horizontal(), pred16x16_left_dc(), pred16x16_plane(), pred16x16_plane_compat_mmi(), pred16x16_tm_vp8_c(), pred16x16_top_dc(), pred16x16_vertical(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_dc(), pred4x4_dc(), pred4x4_down_left(), pred4x4_down_left_rv40_c(), pred4x4_down_left_rv40_nodown_c(), pred4x4_down_left_svq3_c(), pred4x4_down_right(), pred4x4_horizontal(), pred4x4_horizontal_add(), pred4x4_horizontal_down(), pred4x4_horizontal_up(), pred4x4_horizontal_up_rv40_c(), pred4x4_horizontal_up_rv40_nodown_c(), pred4x4_horizontal_vp8_c(), pred4x4_left_dc(), pred4x4_tm_vp8_c(), pred4x4_top_dc(), pred4x4_vertical(), pred4x4_vertical_add(), pred4x4_vertical_left(), pred4x4_vertical_left_rv40(), pred4x4_vertical_left_vp8_c(), pred4x4_vertical_right(), pred4x4_vertical_vp8_c(), pred8x16_dc(), pred8x16_left_dc(), pred8x16_mad_cow_dc_0l0(), pred8x16_mad_cow_dc_0lt(), pred8x16_mad_cow_dc_l00(), pred8x16_mad_cow_dc_l0t(), pred8x16_plane(), pred8x16_top_dc(), pred8x8_dc(), pred8x8_dc_rv40_c(), pred8x8_left_dc_rv40_c(), pred8x8_mad_cow_dc_0l0(), pred8x8_mad_cow_dc_0lt(), pred8x8_mad_cow_dc_l00(), pred8x8_mad_cow_dc_l0t(), pred8x8_plane(), pred8x8_tm_vp8_c(), pred8x8_top_dc(), pred8x8_top_dc_rv40_c(), pred8x8l_horizontal_add(), pred8x8l_horizontal_filter_add(), pred8x8l_vertical_add(), pred8x8l_vertical_filter_add(), pred_angular_0(), pred_angular_1(), pred_angular_2(), pred_angular_3(), prefetch_ppc(), preview_obmc(), process_block(), process_intra_lower_16x16_msa(), process_intra_upper_16x16_msa(), ps_hybrid_analysis_c(), ptx_decode_frame(), put_cursor(), put_no_rnd_vc1_chroma_mc4_c(), put_no_rnd_vc1_chroma_mc8_c(), put_obmc(), put_pcm(), put_pixels_clamped_msa(), put_signed_pixels_clamped_msa(), put_tpel_pixels_mc01_c(), put_tpel_pixels_mc02_c(), put_tpel_pixels_mc10_c(), put_tpel_pixels_mc11_c(), put_tpel_pixels_mc12_c(), put_tpel_pixels_mc20_c(), put_tpel_pixels_mc21_c(), put_tpel_pixels_mc22_c(), qian_thresholding(), qpeg_decode_inter(), qpeg_decode_intra(), quantize(), ratecontrol_1pass(), raw_decode(), read_table(), reallocBuffers(), refine_colors(), render_slice(), restore_gradient_planar(), restore_gradient_planar_il(), restore_median_planar(), restore_median_planar_il(), rgb48Toxyz12(), rgtc2_block_internal(), rl2_rle_decode(), rpza_decode_stream(), rv30_weak_loop_filter(), rv34_idct_add_c(), rv34_idct_dc_add_c(), rv34_pred_4x4_block(), rv40_adaptive_loop_filter(), rv40_loop_filter_strength(), rv40_strong_loop_filter(), rv40_weak_loop_filter(), sad_hpel_motion_search(), setctx_2d(), skip_check(), smc_decode_stream(), snow_horizontal_compose_liftS_lead_out(), soft_thresholding(), spatial_compensation_0(), spatial_compensation_1(), spatial_compensation_10(), spatial_compensation_11(), spatial_compensation_2(), spatial_compensation_3(), spatial_compensation_4(), spatial_compensation_5(), spatial_compensation_6(), spatial_compensation_7(), spatial_compensation_8(), spatial_compensation_9(), spatial_compose53i_dy(), spatial_compose53i_init(), spatial_compose97i_dy(), spatial_compose97i_init(), spatial_compose_daub97i_dy(), spatial_compose_dd137i_dy(), spatial_compose_dd137i_init(), spatial_compose_dd97i_dy(), spatial_compose_dd97i_init(), spatial_compose_dirac53i_dy(), spatial_compose_fidelity(), spatial_compose_haari_dy(), spatial_decompose53i(), spatial_decompose97i(), sse(), sse16_c(), sse4_c(), sse8_c(), sub_left_predict_c(), sum_u8src_16width_msa(), sunrast_decode_frame(), svq1_encode_plane(), tdsc_paint_cursor(), tempNoiseReducer(), test_hybrid_analysis(), tiff_unpack_fax(), tiff_unpack_strip(), tm2_apply_deltas(), tm2_high_chroma(), tm_16x16_c(), tm_32x32_c(), tm_4x4_c(), tm_8x8_c(), tscc2_decode_mb(), tscc2_idct4_put(), txd_decode_frame(), unpack_yuv(), v_block_filter(), vble_restore_plane(), vc1_filter_line(), vc1_h_overlap_c(), vc1_inv_trans_4x4_c(), vc1_inv_trans_4x4_dc_c(), vc1_inv_trans_4x8_c(), vc1_inv_trans_4x8_dc_c(), vc1_inv_trans_8x4_c(), vc1_inv_trans_8x4_dc_c(), vc1_inv_trans_8x8_dc_c(), vc1_put_ver_16b_shift2_mmi(), vc1_v_overlap_c(), vc2_subband_dwt_53(), vc2_subband_dwt_97(), vert_16x16_c(), vert_32x32_c(), vert_8x8_c(), vertClassify_altivec(), vertX1Filter(), vp3_h_loop_filter_c(), vp3_idct_dc_add_c(), vp3_v_loop_filter_c(), vp56_mc(), vp56_size_changed(), vp6_block_variance(), vp6_filter(), vp6_filter_diag2(), vp6_filter_hv4(), vp8_filter_common_is4tap(), vp8_filter_common_isnot4tap(), vp8_normal_limit(), vp8_simple_limit(), w_c(), wait_frame(), x8_setup_spatial_compensation(), xan_wc3_copy_pixel_run(), xan_wc3_output_pixel_run(), xyz12Torgb48(), yao_subblock(), and zero12v_decode_frame().

◆ tabs

const { ... } tabs[]
Initial value:
= {
{MACEtab1, &MACEtab2[0][0], 4},
{MACEtab3, &MACEtab4[0][0], 2},
{MACEtab1, &MACEtab2[0][0], 4}
}
static const int16_t MACEtab1[]
Definition: mace.c:37
static const int16_t MACEtab3[]
Definition: mace.c:39
static const int16_t MACEtab2[][4]
Definition: mace.c:41
static const int16_t MACEtab4[][2]
Definition: mace.c:108

Referenced by read_table(), and very_broken_op().

◆ ff_mace3_decoder

AVCodec ff_mace3_decoder
Initial value:
= {
.name = "mace3",
.long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"),
.priv_data_size = sizeof(MACEContext),
.capabilities = AV_CODEC_CAP_DR1,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
static int mace_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: mace.c:236
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold int mace_decode_init(AVCodecContext *avctx)
Definition: mace.c:227
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
static enum AVSampleFormat sample_fmts[]
Definition: adpcmenc.c:701
signed 16 bits, planar
Definition: samplefmt.h:67
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959

Definition at line 287 of file mace.c.

◆ ff_mace6_decoder

AVCodec ff_mace6_decoder
Initial value:
= {
.name = "mace6",
.long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
.priv_data_size = sizeof(MACEContext),
.capabilities = AV_CODEC_CAP_DR1,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
static int mace_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: mace.c:236
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold int mace_decode_init(AVCodecContext *avctx)
Definition: mace.c:227
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
static enum AVSampleFormat sample_fmts[]
Definition: adpcmenc.c:701
signed 16 bits, planar
Definition: samplefmt.h:67
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959

Definition at line 300 of file mace.c.