FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
vp9dsp.c File Reference
#include <math.h>
#include <string.h>
#include "checkasm.h"
#include "libavcodec/vp9data.h"
#include "libavcodec/vp9dsp.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"

Go to the source code of this file.

Macros

#define SIZEOF_PIXEL   ((bit_depth + 7) / 8)
 
#define randomize_buffers()
 
#define randomize_buffers()
 
#define SIZEOF_COEF   (2 * ((bit_depth + 7) / 8))
 
#define setpx(a, b, c)
 
#define setdx(a, b, c, d)   setpx(a,b,c-(d)+(rnd()%((d)*2+1)))
 
#define setsx(a, b, c, d)   setdx(a,b,c,(d) << (bit_depth - 8))
 
#define randomize_buffers(bidx, lineoff, str)
 
#define M(a)   (((a)[1] << 8) | (a)[0])
 
#define DST_BUF_SIZE   (size * size * SIZEOF_PIXEL)
 
#define SRC_BUF_STRIDE   72
 
#define SRC_BUF_SIZE   ((size + 7) * SRC_BUF_STRIDE * SIZEOF_PIXEL)
 
#define src   (buf + 3 * SIZEOF_PIXEL * (SRC_BUF_STRIDE + 1))
 
#define randomize_buffers()
 

Typedefs

typedef void(* ftx1d_fn )(double *out, const double *in, int sz)
 

Functions

static void check_ipred (void)
 
static void fwht_1d (double *out, const double *in, int sz)
 
static void fdct_1d (double *out, const double *in, int sz)
 
static void fadst4_1d (double *out, const double *in, int sz)
 
static void fadst_1d (double *out, const double *in, int sz)
 
static void ftx_2d (double *out, const double *in, enum TxfmMode tx, enum TxfmType txtp, int sz)
 
static void ftx (int16_t *buf, enum TxfmMode tx, enum TxfmType txtp, int sz, int bit_depth)
 
static int copy_subcoefs (int16_t *out, const int16_t *in, enum TxfmMode tx, enum TxfmType txtp, int sz, int sub, int bit_depth)
 
static int iszero (const int16_t *c, int sz)
 
static void check_itxfm (void)
 
static void randomize_loopfilter_buffers (int bidx, int lineoff, int str, int bit_depth, int dir, const int *E, const int *F, const int *H, const int *I, uint8_t *buf0, uint8_t *buf1)
 
static void check_loopfilter (void)
 
static void check_mc (void)
 
void checkasm_check_vp9dsp (void)
 

Variables

static const uint32_t pixel_mask [3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff }
 

Macro Definition Documentation

#define SIZEOF_PIXEL   ((bit_depth + 7) / 8)

Definition at line 32 of file vp9dsp.c.

Referenced by check_ipred(), check_itxfm(), check_loopfilter(), and check_mc().

#define randomize_buffers ( )
Value:
do { \
uint32_t mask = pixel_mask[(bit_depth - 8) >> 1]; \
int k; \
for (k = -4; k < SIZEOF_PIXEL * FFMAX(8, size); k += 4) { \
uint32_t r = rnd() & mask; \
AV_WN32A(a + k, r); \
} \
for (k = 0; k < size * SIZEOF_PIXEL; k += 4) { \
uint32_t r = rnd() & mask; \
AV_WN32A(l + k, r); \
} \
} while (0)
#define AV_WN32A(p, v)
Definition: intreadwrite.h:538
ptrdiff_t size
Definition: opengl_enc.c:101
static const uint16_t mask[17]
Definition: lzw.c:38
const char * r
Definition: vf_curves.c:107
#define FFMAX(a, b)
Definition: common.h:94
#define SIZEOF_PIXEL
Definition: vp9dsp.c:32
static const uint32_t pixel_mask[3]
Definition: vp9dsp.c:31
#define rnd()
Definition: checkasm.h:65
static unsigned bit_depth(uint64_t mask)
Definition: af_astats.c:128
for(j=16;j >0;--j)

Definition at line 532 of file vp9dsp.c.

Referenced by check_ipred(), check_itxfm(), check_loopfilter(), and check_mc().

#define randomize_buffers ( )
Value:
do { \
uint32_t mask = pixel_mask[(bit_depth - 8) >> 1]; \
for (y = 0; y < sz; y++) { \
for (x = 0; x < sz * SIZEOF_PIXEL; x += 4) { \
uint32_t r = rnd() & mask; \
AV_WN32A(dst + y * sz * SIZEOF_PIXEL + x, r); \
AV_WN32A(src + y * sz * SIZEOF_PIXEL + x, rnd() & mask); \
} \
for (x = 0; x < sz; x++) { \
if (bit_depth == 8) { \
coef[y * sz + x] = src[y * sz + x] - dst[y * sz + x]; \
} else { \
((int32_t *) coef)[y * sz + x] = \
((uint16_t *) src)[y * sz + x] - \
((uint16_t *) dst)[y * sz + x]; \
} \
} \
} \
} while(0)
#define AV_WN32A(p, v)
Definition: intreadwrite.h:538
static const uint16_t mask[17]
Definition: lzw.c:38
const char * r
Definition: vf_curves.c:107
int32_t
#define SIZEOF_PIXEL
Definition: vp9dsp.c:32
#define src
Definition: vp9dsp.c:530
static const uint32_t pixel_mask[3]
Definition: vp9dsp.c:31
if(ret< 0)
Definition: vf_mcdeint.c:282
#define rnd()
Definition: checkasm.h:65
static unsigned bit_depth(uint64_t mask)
Definition: af_astats.c:128
for(j=16;j >0;--j)

Definition at line 532 of file vp9dsp.c.

#define SIZEOF_COEF   (2 * ((bit_depth + 7) / 8))

Definition at line 307 of file vp9dsp.c.

Referenced by check_itxfm().

#define setpx (   a,
  b,
  c 
)
Value:
do { \
if (SIZEOF_PIXEL == 1) { \
buf0[(a) + (b) * jstride] = av_clip_uint8(c); \
} else { \
((uint16_t *)buf0)[(a) + (b) * jstride] = av_clip_uintp2(c, bit_depth); \
} \
} while (0)
const char * b
Definition: vf_curves.c:109
#define SIZEOF_PIXEL
Definition: vp9dsp.c:32
if(ret< 0)
Definition: vf_mcdeint.c:282
static double c[64]
static unsigned bit_depth(uint64_t mask)
Definition: af_astats.c:128

Definition at line 371 of file vp9dsp.c.

Referenced by randomize_loopfilter_buffers().

#define setdx (   a,
  b,
  c,
 
)    setpx(a,b,c-(d)+(rnd()%((d)*2+1)))

Definition at line 381 of file vp9dsp.c.

#define setsx (   a,
  b,
  c,
 
)    setdx(a,b,c,(d) << (bit_depth - 8))

Definition at line 382 of file vp9dsp.c.

Referenced by randomize_loopfilter_buffers().

#define randomize_buffers (   bidx,
  lineoff,
  str 
)
Value:
randomize_loopfilter_buffers(bidx, lineoff, str, bit_depth, dir, \
E, F, H, I, buf0, buf1)
#define H
Definition: swscale-test.c:353
static void randomize_loopfilter_buffers(int bidx, int lineoff, int str, int bit_depth, int dir, const int *E, const int *F, const int *H, const int *I, uint8_t *buf0, uint8_t *buf1)
Definition: vp9dsp.c:383
#define F
Definition: af_aformat.c:50
#define E
Definition: avdct.c:32
static unsigned bit_depth(uint64_t mask)
Definition: af_astats.c:128

Definition at line 532 of file vp9dsp.c.

#define M (   a)    (((a)[1] << 8) | (a)[0])

Referenced by check_loopfilter().

#define DST_BUF_SIZE   (size * size * SIZEOF_PIXEL)

Definition at line 527 of file vp9dsp.c.

Referenced by check_mc().

#define SRC_BUF_STRIDE   72

Definition at line 528 of file vp9dsp.c.

Referenced by check_mc().

#define SRC_BUF_SIZE   ((size + 7) * SRC_BUF_STRIDE * SIZEOF_PIXEL)

Definition at line 529 of file vp9dsp.c.

AVS_VideoFrame * src   (buf + 3 * SIZEOF_PIXEL * (SRC_BUF_STRIDE + 1))
Examples:
filter_audio.c.

Definition at line 530 of file vp9dsp.c.

Referenced by aa_read_header(), aa_read_packet(), apply_dependent_coupling(), apply_dependent_coupling_fixed(), apply_independent_coupling(), apply_independent_coupling_fixed(), apply_unsharp(), av_aes_ctr_crypt(), av_bprint_escape(), av_copy_packet(), av_frame_move_ref(), av_image_copy_to_buffer(), av_memcpy_backptr(), av_opt_get_dict_val(), av_packet_move_ref(), avc_loopfilter_cb_or_cr_inter_edge_ver_msa(), avc_loopfilter_luma_inter_edge_ver_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), avfilter_link(), avg_c(), avg_h264_qpel4_v_lowpass_mmi(), avg_h264_qpel8_v_lowpass_mmi(), avui_decode_frame(), avui_encode_frame(), bayer_to_rgb24_wrapper(), bayer_to_yv12_wrapper(), bfi_decode_frame(), blend_line(), blend_subrect(), block_mc(), blockCopy_TMPL(), bmp_decode_frame(), bmp_encode_frame(), bswap16Y_c(), buffer_replace(), cavs_idct8_add_c(), check_itxfm(), check_mc(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), checkasm_check_h264qpel(), chr_convert(), cllc_decode_frame(), cmp_direct_inline(), cmp_inline(), color_decorrelation(), combine_residual_frame(), common_vt_4t_32w_mult_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), compand_delay(), compand_nodelay(), compare_fields(), compute_sat_hue_metrics(), copy(), copy_16multx8mult_msa(), copy_block(), copy_block16(), copy_block2(), copy_block4(), copy_block8(), copy_cell(), copy_frame(), copy_output(), copy_pixel(), copy_processed_frame(), copy_vert(), cover_rect(), cpia_decode_frame(), csv_escape_str(), deblocking_filter_CTB(), decode(), decode_0(), decode_block(), decode_bmv_frame(), decode_frame(), decode_init(), decode_p_frame(), decode_rbsp_trailing(), decode_residual_spectrum(), deInterlaceBlendLinear_TMPL(), deInterlaceFF_TMPL(), deInterlaceInterpolateCubic_TMPL(), deInterlaceInterpolateLinear_TMPL(), deInterlaceL5_TMPL(), deInterlaceMedian_TMPL(), denoise_depth(), denoise_spatial(), dequantization_float(), dequantization_int(), dequantization_int_97(), dering_altivec(), dering_TMPL(), displace_packed(), displace_planar(), do_8tap_1d_c(), do_8tap_2d_c(), do_bilin_2d_c(), do_scaled_8tap_c(), do_swizzle(), doTest(), doVertDefFilter_TMPL(), doVertLowPass_altivec(), doVertLowPass_TMPL(), downscale(), draw_basis(), dsd2pcm_translate(), duplicate_TMPL(), encode_frame(), encode_gbrp10(), encode_gbrp12(), encode_rgb48_10bit(), encode_slice(), ff_avg_h264_chroma_mc4_mmi(), ff_avg_h264_chroma_mc8_mmi(), ff_convert_dither(), ff_copy_dshow_media_type(), ff_dc_4x4_msa(), ff_dc_8x8_msa(), ff_draw_horiz_band(), ff_emulated_edge_mc(), ff_frame_thread_init(), ff_h264_add_pixels4(), ff_h264_add_pixels4_8_mmi(), ff_h264_add_pixels8(), ff_h264_decode_nal(), ff_h264_draw_horiz_band(), ff_h264_handle_aggregated_packet(), 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_intra_pred_horiz_16x16_msa(), ff_h264_intra_pred_horiz_8x8_msa(), ff_h264_intra_pred_vert_16x16_msa(), ff_h264_intra_pred_vert_8x8_msa(), ff_hevc_extract_rbsp(), ff_hevc_output_frame(), ff_hevc_put_qpel_bi_neon_wrapper(), ff_hevc_put_qpel_neon_wrapper(), ff_hevc_put_qpel_uni_neon_wrapper(), ff_init_desc_cfmt_convert(), ff_init_desc_chscale(), ff_init_desc_fmt_convert(), ff_init_desc_hscale(), ff_init_desc_no_chr(), ff_init_gamma_convert(), ff_init_vscale(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_ivi_inverse_haar_4x4(), ff_ivi_inverse_haar_8x8(), ff_ivi_inverse_slant_4x4(), ff_ivi_inverse_slant_8x8(), ff_jpegls_decode_picture(), ff_mjpeg_find_marker(), ff_pred16x16_dc_8_mmi(), ff_pred16x16_horizontal_8_mmi(), ff_pred16x16_plane_compat_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_mc4_mmi(), ff_put_h264_chroma_mc8_mmi(), ff_rtmp_packet_dump(), ff_snow_pred_block(), fic_decode_frame(), fic_decode_slice(), filter_3x3(), filter_5x5(), filter_8tap_2d_fn(), filter_frame(), filter_slice(), filter_slice16(), filter_slice8(), find_slice_quant(), flashsv2_prime(), gamma_convert(), get_4block_rd(), get_block_rd(), get_dc(), get_frame(), get_slice_data(), getpix(), guess_mv(), h263_handle_packet(), halfpel_interpol(), hevc_copy_16multx8mult_msa(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_uniwgt_8t_64w_msa(), hevc_idct_16x16_msa(), hevc_idct_32x32_msa(), hevc_intra_pred_dc_4x4_msa(), hevc_intra_pred_dc_8x8_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_loopfilter_chroma_hor_msa(), hevc_loopfilter_luma_hor_msa(), hevc_loopfilter_luma_ver_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), hevc_uniwgt_copy_16multx4mult_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), horizontal_frame_pack(), hpel_motion(), hpel_motion_lowres(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), hqx_filter(), htmlencode(), http_prepare_data(), imdct15_half(), interleave_cols_to_any(), INTERPOLATE_METHOD(), intra_pred(), iterative_me(), ivi_process_empty_tile(), lag_decode_zero_run_line(), load_input_picture(), long_term_synth(), lum_convert(), lum_h_scale(), lum_planar_vscale(), luma_mc_uni(), main(), mc_block(), mct_decode(), mix(), mix_1_to_2_fltp_flt_c(), mjpeg_copy_block(), motion_compensation(), mov_open_dref(), mov_rewrite_dvd_sub_extradata(), none_escape_str(), output_frame(), output_plane(), paf_audio_decode(), palToRgbWrapper(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_dvd_decode_frame(), pcm_encode_frame(), pcx_encode_frame(), planar_rgb16_to_uv(), planar_rgb16_to_y(), png_get_interlaced_row(), png_put_interlaced_row(), pred16x16_dc(), pred16x16_horizontal(), pred16x16_left_dc(), pred16x16_plane(), pred16x16_top_dc(), pred16x16_vertical(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_dc(), pred4x4_dc(), pred4x4_down_left(), pred4x4_down_right(), pred4x4_horizontal(), pred4x4_horizontal_down(), pred4x4_horizontal_up(), pred4x4_left_dc(), pred4x4_top_dc(), pred4x4_vertical(), pred4x4_vertical_left(), pred4x4_vertical_right(), pred8x16_mad_cow_dc_0l0(), pred8x16_mad_cow_dc_0lt(), pred8x16_mad_cow_dc_l00(), pred8x16_mad_cow_dc_l0t(), pred8x8_mad_cow_dc_0l0(), pred8x8_mad_cow_dc_0lt(), pred8x8_mad_cow_dc_l00(), pred8x8_mad_cow_dc_l0t(), pred_angular(), pred_angular_0(), pred_angular_1(), pred_angular_2(), pred_angular_3(), pred_dc(), pred_planar(), prefetch_motion(), process_slice_uyvy422(), process_slice_yuv420p(), process_slice_yuv422p(), process_slice_yuv444p(), prores_fdct(), ps_add_squares_c(), put_h264_qpel4_v_lowpass_mmi(), put_h264_qpel8_v_lowpass_mmi(), put_hevc_epel_bi_h(), put_hevc_epel_bi_hv(), put_hevc_epel_bi_v(), put_hevc_epel_bi_w_h(), put_hevc_epel_bi_w_hv(), put_hevc_epel_bi_w_v(), put_hevc_epel_h(), put_hevc_epel_hv(), put_hevc_epel_uni_h(), put_hevc_epel_uni_hv(), put_hevc_epel_uni_v(), put_hevc_epel_uni_w_h(), put_hevc_epel_uni_w_hv(), put_hevc_epel_uni_w_v(), put_hevc_epel_v(), put_hevc_pel_bi_pixels(), put_hevc_pel_bi_w_pixels(), put_hevc_pel_pixels(), put_hevc_pel_uni_pixels(), put_hevc_pel_uni_w_pixels(), put_hevc_qpel_bi_h(), put_hevc_qpel_bi_hv(), put_hevc_qpel_bi_v(), put_hevc_qpel_bi_w_h(), put_hevc_qpel_bi_w_hv(), put_hevc_qpel_bi_w_v(), put_hevc_qpel_h(), put_hevc_qpel_hv(), put_hevc_qpel_uni_h(), put_hevc_qpel_uni_hv(), put_hevc_qpel_uni_v(), put_hevc_qpel_uni_w_h(), put_hevc_qpel_uni_w_hv(), put_hevc_qpel_uni_w_v(), put_hevc_qpel_v(), put_signed_rect_clamped_8bit_c(), rac_init(), read_packet(), ref_from_h264pic(), reorder_pixels(), resample_common_TMPL(), resample_cubic(), resample_linear(), resample_linear_TMPL(), resample_nearest(), resample_one(), resample_one_TMPL(), restore_tqb_pixels(), rgb15to16_c(), rgb15to16_TMPL(), rgb15to32_TMPL(), rgb15tobgr24_TMPL(), rgb16to15_c(), rgb16to15_TMPL(), rgb16to32_TMPL(), rgb16tobgr24_TMPL(), rgb24_copy(), rgb24_interpolate(), rgb24_to_yuv420p(), rgb24to15_c(), rgb24to15_TMPL(), rgb24to16_c(), rgb24to16_TMPL(), rgb24tobgr15_c(), rgb24tobgr15_TMPL(), rgb24tobgr16_c(), rgb24tobgr16_TMPL(), rgb24tobgr24_TMPL(), rgb24tobgr32_c(), rgb24tobgr32_TMPL(), rgb32to15_c(), rgb32to15_TMPL(), rgb32to16_c(), rgb32to16_TMPL(), rgb32tobgr15_c(), rgb32tobgr15_TMPL(), rgb32tobgr16_c(), rgb32tobgr16_TMPL(), rgb32tobgr24_c(), rgb32tobgr24_TMPL(), rgba64beToA_c(), rgba64leToA_c(), rle_uncompress(), run_postproc(), rv40_adaptive_loop_filter(), sao_band_filter(), sao_edge_filter(), sao_edge_restore_0(), sao_edge_restore_1(), sao_filter_CTB(), scaled_filter_8tap_fn(), selective_color(), seq_decode_op1(), seq_decode_op2(), seq_decode_op3(), seq_unpack_rle_block(), set_frame(), shrink22(), shrink44(), shuffle_bytes_2103_TMPL(), smv_img_pnt_plane(), sofalizer_convolute(), sofalizer_fast_convolute(), sse_16width_msa(), sse_4width_msa(), sub2video_copy_rect(), sub_left_prediction(), super2xsai(), svq1_decode_frame(), svq1_encode_plane(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), svq1_skip_block(), svq3_mc_dir_part(), swri_noise_shaping_TMPL(), tempNoiseReducer_TMPL(), tgv_decode_inter(), tiff_unpack_strip(), tmv_decode_frame(), to_meta_with_crop(), transform_4x4_luma(), uyvytoyuv420_TMPL(), uyvytoyuv422_TMPL(), uyvytoyv12_TMPL(), v308_decode_frame(), v408_decode_frame(), v410_decode_frame(), validate_acl_list(), vble_decode_frame(), vc1_inv_trans_4x4_c(), vc1_inv_trans_4x8_c(), vc1_inv_trans_8x4_c(), vc1_inv_trans_8x8_c(), vc1_unescape_buffer(), vectorscope16(), vectorscope8(), verify_md5(), vertClassify_altivec(), vertical_frame_pack(), vertX1Filter_TMPL(), vp56_mc(), vp6_filter_diag2(), vp7_fade_frame(), vp8_mc_luma(), wrapped_url_read(), xan_decode_chroma(), xan_decode_frame_type0(), xan_decode_frame_type1(), y216_decode_frame(), y41p_decode_frame(), yae_downmix(), yae_flush(), yae_load_data(), yuv4_decode_frame(), yuy2toyv12_TMPL(), yuyvtoyuv420_TMPL(), yuyvtoyuv422_TMPL(), yv12_copy(), yv12_interpolate(), zero12v_decode_frame(), zmbv_decode_xor_16(), and zmbv_decode_xor_8().

#define randomize_buffers ( )
Value:
do { \
uint32_t mask = pixel_mask[(bit_depth - 8) >> 1]; \
int k; \
for (k = 0; k < SRC_BUF_SIZE; k += 4) { \
uint32_t r = rnd() & mask; \
AV_WN32A(buf + k, r); \
} \
if (op == 1) { \
for (k = 0; k < DST_BUF_SIZE; k += 4) { \
uint32_t r = rnd() & mask; \
AV_WN32A(dst0 + k, r); \
AV_WN32A(dst1 + k, r); \
} \
} \
} while (0)
#define AV_WN32A(p, v)
Definition: intreadwrite.h:538
#define DST_BUF_SIZE
Definition: vp9dsp.c:527
static const uint16_t mask[17]
Definition: lzw.c:38
const char * r
Definition: vf_curves.c:107
void * buf
Definition: avisynth_c.h:553
static const uint32_t pixel_mask[3]
Definition: vp9dsp.c:31
#define SRC_BUF_SIZE
Definition: vp9dsp.c:529
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
Definition: anm.c:78
if(ret< 0)
Definition: vf_mcdeint.c:282
#define rnd()
Definition: checkasm.h:65
static unsigned bit_depth(uint64_t mask)
Definition: af_astats.c:128
for(j=16;j >0;--j)

Definition at line 532 of file vp9dsp.c.

Typedef Documentation

typedef void(* ftx1d_fn)(double *out, const double *in, int sz)

Definition at line 177 of file vp9dsp.c.

Function Documentation

static void check_ipred ( void  )
static

Definition at line 48 of file vp9dsp.c.

Referenced by checkasm_check_vp9dsp().

static void fwht_1d ( double *  out,
const double *  in,
int  sz 
)
static

Definition at line 122 of file vp9dsp.c.

Referenced by ftx_2d().

static void fdct_1d ( double *  out,
const double *  in,
int  sz 
)
static

Definition at line 137 of file vp9dsp.c.

Referenced by ftx_2d().

static void fadst4_1d ( double *  out,
const double *  in,
int  sz 
)
static

Definition at line 152 of file vp9dsp.c.

Referenced by ftx_2d().

static void fadst_1d ( double *  out,
const double *  in,
int  sz 
)
static

Definition at line 166 of file vp9dsp.c.

Referenced by ftx_2d().

static void ftx_2d ( double *  out,
const double *  in,
enum TxfmMode  tx,
enum TxfmType  txtp,
int  sz 
)
static

Definition at line 178 of file vp9dsp.c.

Referenced by ftx().

static void ftx ( int16_t *  buf,
enum TxfmMode  tx,
enum TxfmType  txtp,
int  sz,
int  bit_depth 
)
static

Definition at line 229 of file vp9dsp.c.

Referenced by check_itxfm().

static int copy_subcoefs ( int16_t *  out,
const int16_t *  in,
enum TxfmMode  tx,
enum TxfmType  txtp,
int  sz,
int  sub,
int  bit_depth 
)
static

Definition at line 251 of file vp9dsp.c.

Referenced by check_itxfm().

static int iszero ( const int16_t *  c,
int  sz 
)
static

Definition at line 296 of file vp9dsp.c.

Referenced by check_itxfm().

static void check_itxfm ( void  )
static

Definition at line 309 of file vp9dsp.c.

Referenced by checkasm_check_vp9dsp().

static void randomize_loopfilter_buffers ( int  bidx,
int  lineoff,
int  str,
int  bit_depth,
int  dir,
const int *  E,
const int *  F,
const int *  H,
const int *  I,
uint8_t buf0,
uint8_t buf1 
)
static

Definition at line 383 of file vp9dsp.c.

static void check_loopfilter ( void  )
static

Definition at line 442 of file vp9dsp.c.

Referenced by checkasm_check_vp9dsp().

static void check_mc ( void  )
static

Definition at line 549 of file vp9dsp.c.

Referenced by checkasm_check_vp9dsp().

void checkasm_check_vp9dsp ( void  )

Definition at line 617 of file vp9dsp.c.

Variable Documentation

const uint32_t pixel_mask[3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff }
static

Definition at line 31 of file vp9dsp.c.