Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Constants

This group regroups all the constants you can use in your project.

Macros

#define CST_E   2.718281828459045235360287471352662497757
 E definition also known as the natural logarithmic base. More...
 
#define CST_INV_SQUARE_ROOT_2   0.70710678118654752440084436210485
 1/sqrt(2) definition More...
 
#define CST_LN_10   2.3025850929940456840179914546844
 ln(10) definition More...
 
#define CST_LN_2   0.69314718055994530941723212145818
 ln(2) definition More...
 
#define CST_PI   3.141592653589793238462643383279502884197
 PI definition also known as the Archimedes' constant. More...
 
#define CST_SQUARE_ROOT_2   1.4142135623730950488016887242097
 sqrt(2) definition More...
 
#define DSP16_PI_DIV_4   DSP16_Q(CST_PI/4.)
 PI/4 definition for the 16-bit fixed point type. More...
 
#define DSP32_PI_DIV_4   DSP32_Q(CST_PI/4.)
 PI/4 definition for the 32-bit fixed point type. More...
 
#define FALSE   0
 Boolean FALSE constant. More...
 
#define TRUE   1
 Boolean TRUE constant. More...
 

#define CST_E   2.718281828459045235360287471352662497757

E definition also known as the natural logarithmic base.

#define CST_INV_SQUARE_ROOT_2   0.70710678118654752440084436210485

1/sqrt(2) definition

Referenced by dsp16_op_exp(), dsp16_op_sqrt(), dsp32_op_exp(), and dsp32_op_sqrt().

#define CST_LN_10   2.3025850929940456840179914546844

ln(10) definition

Referenced by dsp16_op_log10(), and dsp32_op_log10().

#define CST_LN_2   0.69314718055994530941723212145818
#define CST_PI   3.141592653589793238462643383279502884197

PI definition also known as the Archimedes' constant.

Referenced by dsp16_filt_lpfirdesign(), dsp16_filt_lpfirdesign_windowed_sinc(), dsp16_win_kaiser(), and dsp32_win_kaiser().

#define CST_SQUARE_ROOT_2   1.4142135623730950488016887242097

sqrt(2) definition

Referenced by dsp16_op_exp(), and dsp32_op_exp().

#define DSP16_PI_DIV_4   DSP16_Q(CST_PI/4.)

PI/4 definition for the 16-bit fixed point type.

#define DSP32_PI_DIV_4   DSP32_Q(CST_PI/4.)

PI/4 definition for the 32-bit fixed point type.

#define FALSE   0

Boolean FALSE constant.

Referenced by access_virt_barray(), access_virt_sarray(), add_huff_table(), compress_data(), compress_output(), consume_markers(), create_colorindex(), decode_mcu(), decode_mcu_AC_first(), decode_mcu_AC_refine(), decode_mcu_DC_first(), decode_mcu_DC_refine(), decompress_data(), decompress_smooth_data(), default_decompress_parms(), emit_restart(), encode_mcu_huff(), encode_one_block(), fill_input_buffer(), flush_bits(), for(), format_message(), free_pool(), init_tc(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_master_control(), jinit_color_deconverter(), jinit_compress_master(), jinit_d_post_controller(), jinit_downsampler(), jinit_input_controller(), jinit_master_decompress(), jinit_merged_upsampler(), jinit_upsampler(), jpeg_add_quant_table(), jpeg_alloc_huff_table(), jpeg_alloc_quant_table(), jpeg_copy_critical_parameters(), jpeg_fill_bit_buffer(), jpeg_finish_decompress(), jpeg_finish_output(), jpeg_gen_optimal_table(), jpeg_new_colormap(), jpeg_resync_to_restart(), jpeg_set_colorspace(), jpeg_set_defaults(), jpeg_start_compress(), LOCAL(), master_selection(), merged_2v_upsample(), METHODDEF(), output_pass_setup(), pass2_fs_dither(), pass_startup(), post_process_2pass(), prepare_for_output_pass(), prepare_for_pass(), print(), prints(), process_data_context_main(), process_data_simple_main(), process_restart(), quantize_fs_dither(), read_restart_marker(), request_virt_barray(), request_virt_sarray(), reset_input_controller(), smoothing_ok(), start_pass_1_quant(), start_pass_2_quant(), start_pass_huff_decoder(), start_pass_main(), start_pass_merged_upsample(), use_merged_upsample(), and while().