FFmpeg
Macros | Functions | Variables
jpeg2000dwt.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include "libavutil/common.h"
#include "libavcodec/jpeg2000dwt.c"
#include "libavutil/lfg.h"

Go to the source code of this file.

Macros

#define MAX_W   256
 

Functions

static int test_dwt (int *array, int *ref, int border[2][2], int decomp_levels, int type, int max_diff)
 
static int test_dwtf (float *array, float *ref, int border[2][2], int decomp_levels, float max_diff)
 
int main (void)
 

Variables

static int array [MAX_W *MAX_W]
 
static int ref [MAX_W *MAX_W]
 
static float arrayf [MAX_W *MAX_W]
 
static float reff [MAX_W *MAX_W]
 

Macro Definition Documentation

◆ MAX_W

#define MAX_W   256

Definition at line 32 of file jpeg2000dwt.c.

Function Documentation

◆ test_dwt()

static int test_dwt ( int *  array,
int *  ref,
int  border[2][2],
int  decomp_levels,
int  type,
int  max_diff 
)
static

Definition at line 34 of file jpeg2000dwt.c.

Referenced by main().

◆ test_dwtf()

static int test_dwtf ( float array,
float ref,
int  border[2][2],
int  decomp_levels,
float  max_diff 
)
static

Definition at line 78 of file jpeg2000dwt.c.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 121 of file jpeg2000dwt.c.

Variable Documentation

◆ array

int array[MAX_W *MAX_W]
static

◆ ref

int ref[MAX_W *MAX_W]
static

Definition at line 117 of file jpeg2000dwt.c.

Referenced by add_candidate_ref(), add_interval(), add_progress_listener(), alf_luma(), alloc_data_buf(), apply_sync_offsets(), av_buffer_pool_buffer_get_opaque(), av_csp_primaries_id_from_desc(), av_hwdevice_ctx_init(), av_hwdevice_get_hwframe_constraints(), av_hwdevice_hwconfig_alloc(), av_hwframe_ctx_init(), await_reference_mb_row(), await_references(), bink_put_pixels(), binkb_decode_plane(), block_matching(), block_matching_multi(), buffer_create(), calc_persp_luts(), cbs_h2645_fragment_add_nals(), cbs_vp9_assemble_fragment(), cget_refcount(), check_4block_inter(), check_append_extra_bits(), check_candidate_ref(), check_decorrelate_stereo(), check_ict_float(), check_mc(), check_pkt(), check_rct_int(), check_scalarproduct_and_madd_int16(), check_scalarproduct_and_madd_int32(), check_scalarproduct_fixed(), check_vector_fmul(), check_vector_fmul_add(), check_vector_fmul_window(), check_vector_fmul_window_scaled(), checkasm_check_func(), cmp_555_by_n(), cmp_565_by_n(), cmp_direct_inline(), cmp_inline(), cmp_off_by_n(), compute_box_stats(), compute_ref_coefs(), compute_vif2(), config_output(), d3d12va_encode_alloc_output_buffer(), d3d12va_encode_hevc_init_picture_params(), dct_error(), decimate_frame(), decode_13(), decode_band_numwavs(), decode_cabac_mb_ref(), decode_cell_data(), decode_frame(), decode_frame_header(), decode_gainc_loc_codes(), decode_group3_2d_line(), decode_mb_mode(), decode_mb_p(), decode_q_branch(), decode_tones_amplitude(), decode_tones_envelope(), decode_tones_frequency(), derive_sb_mv(), diff_planes(), dirac_unpack_prediction_parameters(), dmvr_mv_refine(), do_corr(), do_identity(), do_psnr(), do_scale(), do_ssim(), do_ssim360(), do_vif(), do_vmaf(), do_vmafmotion(), do_xpsnr(), dovi_rpu_update_fragment_av1(), dovi_rpu_update_fragment_hevc(), eb_receive_packet(), encode_block(), encode_q_branch(), estimate_best_order(), ff_aom_parse_film_grain_sets(), ff_cavs_mv(), ff_cbs_make_unit_writable(), ff_ccitt_unpack(), ff_channel_layouts_ref(), ff_channel_layouts_unref(), ff_formats_ref(), ff_formats_unref(), ff_h264_build_ref_list(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_hevc_get_ref_list(), ff_hevc_set_new_ref(), ff_icc_profile_detect_transfer(), ff_lpc_calc_coefs(), ff_lpc_calc_ref_coefs(), ff_lpc_calc_ref_coefs_f(), ff_pix_abs16_msa(), ff_pix_abs8_msa(), ff_refstruct_exclusive(), ff_refstruct_ref(), ff_refstruct_ref_c(), ff_refstruct_unref(), ff_sse16_msa(), ff_sse4_msa(), ff_sse8_msa(), ff_thread_sync_ref(), ff_vk_create_avbuf(), ff_vk_decode_frame(), ff_vk_exec_add_dep_buf(), ff_vk_get_pooled_buffer(), ff_vmafmotion_process(), ff_vvc_get_ref_list(), ff_vvc_set_new_ref(), ffmmal_poolref_unref(), ffmmal_release_frame(), ffmmal_set_ref(), fill_decode_caches(), fill_filter_caches_inter(), filter_frame(), filter_slice(), final_block_filtering(), find_ref_idx(), find_ref_mvs(), frame_add_buf(), frame_copy_props(), frame_size_with_refs(), gainc_level_mode3s(), generate_tape_maps(), get_intra_count(), get_lowest_part_y(), get_mse(), get_refcount(), get_sae(), get_scale_idx(), gif_crop_opaque(), global_motion_param(), global_motion_params(), global_mv(), guess_mv(), h263_mv4_search(), h264_er_decode_mb(), hadamard_diff_8x8_msa(), hevc_await_progress(), 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_lower_8width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hl_decode_mb(), hl_decode_mb_444(), hw_base_encode_set_b_pictures(), hwframe_pool_prealloc(), if(), iff_read_header(), init_ref(), int16_cmp_off_by_n(), inter_predict(), interlaced_search(), interpolate_refplane(), iterative_me(), lift(), liftS(), luma_mc_uni(), luma_prof(), luma_prof_uni(), main(), mc(), mc_bi(), mc_luma_scaled(), mc_luma_unscaled(), mc_part_std(), mc_part_weighted(), mc_subpel(), mc_uni(), mip_downsampling(), mov_open_dref(), mov_read_iprp(), mpeg1_decode_picture(), mpeg_er_decode_mb(), multiply(), multiply_slice(), nvdec_hevc_start_frame(), opencl_pool_alloc(), output_frame(), parse_points(), pick_format(), pool_free_entry(), pool_return_entry(), pool_unref(), pred_16x8_motion(), pred_8x16_motion(), pred_affine_blk(), pred_angular(), pred_block_dc(), pred_block_mode(), pred_get_refs(), pred_motion(), pred_mv(), pred_pskip_motion(), pred_regular(), pred_spatial_direct_motion(), pred_temp_direct_motion(), prefetch_motion(), process_frame(), read_global_param(), ref_to_update(), refcount_init(), refstruct_pool_get_ext(), run_file_tests(), run_self_tests(), run_single_test(), run_test(), sad_16width_msa(), sad_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_hv_bilinear_filter_16width_msa(), sad_hv_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), sad_vert_bilinear_filter_8width_msa(), sb_temporal_luma_motion_data(), sb_temproal_luma_motion(), schedule_inter(), set_blocks(), set_frame_refs(), skip_check(), snow_horizontal_compose_lift_lead_out(), snow_horizontal_compose_liftS_lead_out(), sse_16width_msa(), sse_4width_msa(), ssim360_4x4x2_tape(), ssim360_4x4xn_8bit(), ssim360_plane_16bit(), ssim360_plane_8bit(), ssim360_tape(), ssim_4x4xn_8bit(), st_ref_pic_set(), svq1_encode_plane(), svq3_pred_motion(), tempNoiseReducer_TMPL(), temporal_luma_motion_vector(), test_blowfish(), test_device(), test_dwt(), test_dwtf(), test_hf_apply_noise(), test_same_origin(), test_tea(), test_xtea(), threshold16_abs(), threshold16_diff(), threshold8_abs(), threshold8_diff(), threshold_slice(), tlog_ref(), uncompressed_header(), update_crops(), update_wrap_reference(), vaapi_encode_av1_init_picture_params(), vaapi_encode_h264_init_picture_params(), vaapi_encode_h265_init_picture_params(), vaapi_pool_alloc(), vdpau_mpeg4_start_frame(), vdpau_mpeg_start_frame(), vdpau_vc1_start_frame(), videotoolbox_buffer_release(), videotoolbox_postproc_frame(), vk_av1_fill_pict(), vk_h264_fill_pict(), vk_hevc_fill_pict(), vk_hevc_start_frame(), vp8_alloc_frame(), vp8_mc_chroma(), vp8_mc_luma(), vp9_decode_frame(), vulkan_encode_issue(), xvid_ff_2pass(), xvid_ff_2pass_after(), and xvid_ff_2pass_destroy().

◆ arrayf

float arrayf[MAX_W *MAX_W]
static

Definition at line 118 of file jpeg2000dwt.c.

Referenced by main().

◆ reff

float reff[MAX_W *MAX_W]
static

Definition at line 119 of file jpeg2000dwt.c.

Referenced by main().