libavcodec/twinvq_data.h File Reference

#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  twinvq_data
 TwinVQ codebooks. More...

Variables

static const uint16_t bark_tab_l08_512 []
static const uint16_t bark_tab_l11_512 []
static const uint16_t bark_tab_l16_1024 []
static const uint16_t bark_tab_l22_1024 []
static const uint16_t bark_tab_l22_512 []
static const uint16_t bark_tab_l44_2048 []
static const uint16_t bark_tab_m08_256 []
static const uint16_t bark_tab_m11_256 []
static const uint16_t bark_tab_m16_512 []
static const uint16_t bark_tab_m22_256 []
static const uint16_t bark_tab_m22_512 []
static const uint16_t bark_tab_m44_512 []
static const uint16_t bark_tab_s08_64 []
static const uint16_t bark_tab_s11_64 []
static const uint16_t bark_tab_s16_128 []
static const uint16_t bark_tab_s22_128 []
static const uint16_t bark_tab_s44_128 []
static struct twinvq_data tab
 TwinVQ codebooks.
static const uint8_t tab7 [][35]
static const uint8_t tab8 [][5]
static const uint8_t tab9 [][45]
static const uint8_t tab10 [][25]
static const uint8_t tab11 [][55]
static const uint8_t tab12 [][15]
struct {
   int   size
   const uint8_t *   tab
tabs []


Variable Documentation

const uint16_t bark_tab_l08_512[] [static]

Initial value:

 {
    7,     8,     7,     8,     8,     8,     8,     8,     8,     9,
    9,    10,    10,    11,    11,    12,    12,    14,    15,    16,
   18,    19,    21,    24,    27,    30,    35,    40,    46,    53
}

Definition at line 41 of file twinvq_data.h.

const uint16_t bark_tab_l11_512[] [static]

Initial value:

 {
    6,     6,     6,     6,     6,     6,     7,     6,     7,     7,
    8,     8,     8,     9,    10,    10,    11,    13,    13,    15,
   17,    18,    21,    25,    27,    33,    38,    45,    54,    66
}

Definition at line 47 of file twinvq_data.h.

const uint16_t bark_tab_l16_1024[] [static]

Initial value:

 {
    9,     9,     8,     9,    10,     9,    10,    10,    10,    12,
   11,    13,    13,    14,    16,    17,    19,    20,    24,    26,
   30,    35,    40,    48,    56,    68,    83,   102,   128,   165
}

Definition at line 53 of file twinvq_data.h.

const uint16_t bark_tab_l22_1024[] [static]

Initial value:

 {
    6,     7,     6,     6,     7,     7,     7,     7,     7,     8,
    9,     8,    10,    10,    11,    12,    13,    15,    16,    18,
   21,    24,    27,    33,    38,    46,    55,    68,    84,   107,
  140,   191
}

Definition at line 59 of file twinvq_data.h.

const uint16_t bark_tab_l22_512[] [static]

Initial value:

 {
    3,     3,     3,     4,     3,     3,     4,     3,     4,     4,
    4,     5,     4,     5,     6,     6,     7,     7,     8,     9,
   10,    12,    14,    16,    20,    22,    28,    34,    42,    53,
   71,    95
}

Definition at line 66 of file twinvq_data.h.

const uint16_t bark_tab_l44_2048[] [static]

Initial value:

 {
    5,     6,     5,     6,     5,     6,     6,     6,     6,     6,
    7,     7,     7,     8,     8,     9,     9,    10,    11,    11,
   13,    14,    16,    17,    19,    22,    25,    29,    33,    39,
   46,    54,    64,    79,    98,   123,   161,   220,   320,   512
}

Definition at line 73 of file twinvq_data.h.

const uint16_t bark_tab_m08_256[] [static]

Initial value:

 {
    6,     5,     6,     6,     6,     6,     7,     7,     8,     8,
    9,    10,    11,    13,    15,    18,    20,    25,    31,    39
}

Definition at line 80 of file twinvq_data.h.

const uint16_t bark_tab_m11_256[] [static]

Initial value:

 {
    4,     5,     4,     5,     5,     5,     6,     5,     7,     7,
    8,     9,    10,    12,    15,    17,    22,    28,    35,    47
}

Definition at line 85 of file twinvq_data.h.

const uint16_t bark_tab_m16_512[] [static]

Initial value:

 {
    7,     6,     7,     7,     7,     8,     9,     9,    10,    11,
   14,    15,    18,    22,    27,    34,    44,    59,    81,   117
}

Definition at line 90 of file twinvq_data.h.

const uint16_t bark_tab_m22_256[] [static]

Initial value:

 {
    3,     2,     3,     2,     3,     3,     4,     3,     4,     5,
    5,     7,     8,     9,    13,    16,    22,    30,    44,    70
}

Definition at line 95 of file twinvq_data.h.

const uint16_t bark_tab_m22_512[] [static]

Initial value:

 {
    5,     5,     5,     6,     5,     7,     6,     7,     9,     9,
   11,    13,    15,    20,    24,    33,    43,    61,    88,   140
}

Definition at line 100 of file twinvq_data.h.

const uint16_t bark_tab_m44_512[] [static]

Initial value:

 {
    3,     2,     3,     3,     3,     4,     3,     5,     4,     6,
    7,     8,    10,    14,    18,    25,    36,    55,    95,   208
}

Definition at line 105 of file twinvq_data.h.

const uint16_t bark_tab_s08_64[] [static]

Initial value:

 {
    3,     3,     3,     3,     4,     5,     6,     8,    12,    17
}

Definition at line 110 of file twinvq_data.h.

const uint16_t bark_tab_s11_64[] [static]

Initial value:

 {
    2,     3,     2,     3,     3,     4,     6,     8,    12,    21
}

Definition at line 114 of file twinvq_data.h.

const uint16_t bark_tab_s16_128[] [static]

Initial value:

 {
    3,     4,     4,     4,     5,     7,    10,    16,    26,    49
}

Definition at line 118 of file twinvq_data.h.

const uint16_t bark_tab_s22_128[] [static]

Initial value:

 {
    3,     2,     3,     4,     4,     6,     9,    14,    26,    57
}

Definition at line 122 of file twinvq_data.h.

const uint16_t bark_tab_s44_128[] [static]

Initial value:

 {
    1,     2,     1,     2,     3,     4,     6,    10,    23,    76
}

Definition at line 126 of file twinvq_data.h.

Definition at line 11127 of file twinvq_data.h.

Referenced by aac_sync(), adpcm_swf_decode(), adx_read_packet(), aiff_read_header(), aiff_read_packet(), amr_read_packet(), amr_wb_encode_frame(), ape_tag_read_field(), apply_param_change(), apply_tns(), ass_decode_frame(), au_read_header(), audio_write_packet(), av_audio_fifo_drain(), av_audio_fifo_read(), av_audio_fifo_write(), av_image_copy_to_buffer(), av_image_fill_pointers(), av_packet_merge_side_data(), av_packet_split_side_data(), av_parser_change(), av_realloc_f(), av_samples_alloc(), avi_read_header(), avi_read_nikon(), avi_read_packet(), avi_sync(), avi_write_packet(), avio_close_dyn_buf(), avio_size(), avpriv_aac_parse_header(), avpriv_dv_get_packet(), avpriv_dv_produce_packet(), avs_read_audio_packet(), avs_read_packet(), avui_encode_frame(), calc_deflate_block_size(), clean_index(), cmv_decode_frame(), codebook_trellis_rate(), commit_bitstream_and_slice_buffer(), compute_avg_bitrate(), concat_open(), concat_seek(), copy_tag(), daud_packet(), dca_subsubframe(), dca_xbr_parse_frame(), dec_lpc_spectrum_inv(), decode_copy(), decode_frame(), decode_frame_header(), dshow_cycle_formats(), dump_extradata(), dv1394_read_packet(), dv_extract_audio(), dv_extract_video_info(), dv_frame_offset(), dv_inject_audio(), dv_read_packet(), dv_vlc_map_tableinit(), dv_work_pool_size(), dxa_read_header(), dxa_read_packet(), encode_block(), encode_frame(), encode_init(), encode_nals(), encode_picture_ls(), encode_window_bands_info(), epzs_motion_search2(), epzs_motion_search4(), escape_FF(), event_loop(), extract_mpeg4_header(), ff_add_param_change(), ff_alsa_extend_reorder_buf(), ff_amf_get_field_value(), ff_amf_tag_contents(), ff_amf_tag_size(), ff_ass_split_override_codes(), ff_er_frame_end(), ff_h264_decode_sei(), ff_huff_gen_len_table(), ff_interleave_new_audio_packet(), ff_isom_write_avcc(), ff_mjpeg_decode_sof(), ff_mms_read_header(), ff_mov_add_hinted_packet(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_mpeg4_init_partitions(), ff_print_debug_info(), ff_raw_read_partial_packet(), ff_rm_read_mdpr_codecdata(), ff_rtmp_packet_read_internal(), ff_rtmp_packet_write(), ff_rv34_decode_frame(), ff_voc_get_packet(), ffm_read_packet(), find_best_tables(), find_frame_end(), find_headers_search(), find_headers_search_validate(), find_new_headers(), flashsv_decode_frame(), flic_read_packet(), flush_encoders(), flush_packet(), flv_read_packet(), flv_write_packet(), fourxm_read_header(), fourxm_read_packet(), g723_1_read_packet(), get_codec_data(), get_packetheader(), get_private_data(), get_size_of_code(), get_tag(), gif_image_write_image(), gsm_read_packet(), gxf_write_mpeg_auxiliary(), h263_mv4_search(), http_send_data(), iec61883_parse_queue_dv(), iec61883_parse_queue_hdv(), iec61883_read_packet(), imdct_and_window(), ingenient_read_packet(), init_h263_dc_for_msmpeg4(), init_uni_dc_tab(), interlaced_search(), ism_flush(), jpeg_put_comments(), jpeg_table_header(), klv_decode_ber_length(), klv_encode_ber_length(), lavfi_read_packet(), main(), matroska_probe(), mkv_blockgroup_size(), mkv_write_ass_blocks(), mkv_write_block(), mms_put_utf16(), mov_build_index(), mov_create_chapter_track(), mov_read_dref(), mov_read_extradata(), mov_read_glbl(), mov_read_tref(), mov_write_dvc1_structs(), mov_write_edts_tag(), mov_write_isml_manifest(), mov_write_meta_tag(), mov_write_single_packet(), mov_write_string_data_tag(), mov_write_string_tag(), mov_write_tfrf_tag(), mov_write_tmpo_tag(), mov_write_traf_tag(), mov_write_trailer(), mov_write_trkn_tag(), mov_write_udta_tag(), mp3_parse_vbr_tags(), mp3_read_packet(), mpc8_parse_seektable(), mpc8_probe(), mpc8_read_header(), mpc8_read_packet(), mpc_read_packet(), mpeg4_encode_dc(), mpeg_mux_write_packet(), mpegps_read_pes_header(), mpegts_probe(), mpegts_write_packet_internal(), msnwc_tcp_read_packet(), mxf_decrypt_triplet(), mxf_write_local_tag_utf16(), mxg_read_packet(), nc_probe(), nc_read_packet(), nsv_parse_NSVf_header(), nuv_packet(), nuv_read_dts(), ogg_get_length(), ogg_new_buf(), ogg_new_stream(), ogg_read_page(), ogg_write_page(), ogg_write_vorbiscomment(), ogm_header(), parse_adts_frame_header(), parse_chunks(), parse_packet(), pmp_header(), poll_frame(), pre_process_video_frame(), process_ea_header(), put_qcd(), put_system_header(), qcp_read_header(), qdm2_decode_init(), queue_frames(), r3d_read_reda(), raw_read_packet(), rdt_load_mdpr(), read_arbitary(), read_header(), read_packet(), read_shape_from_file(), read_tfra(), read_tree(), read_whole_file(), resample(), rm_read_index(), roq_encode_frame(), rso_read_header(), rtp_write_packet(), rv10_decode_frame(), rv10_write_header(), search_for_quantizers_faac(), setup_partitions(), show_format(), siff_read_packet(), smacker_read_packet(), smjpeg_read_packet(), smush_read_header(), smush_read_packet(), sox_read_packet(), spdif_header_dts(), svq3_decode_init(), swr_convert(), tcp_write_packet(), thp_read_packet(), tscc2_decode_frame(), tta_read_header(), tta_read_packet(), unpack(), update_sample_display(), updatePacketSize(), vb_decode_palette(), vc1_decode_frame(), vc1_decode_init(), vc1_extract_headers(), very_broken_op(), vf_mpi_clear(), video_get_buffer(), vmd_read_header(), vqf_read_header(), vqf_read_packet(), w_c(), wavpack_decode_block(), wc3_read_header(), wc3_read_packet(), wmavoice_decode_packet(), write_root_table(), ws_snd_decode_frame(), wv_read_block_header(), wv_read_packet(), xan_decode_frame(), xan_unpack(), xan_wc3_decode_frame(), XAVS_init(), xbm_encode_frame(), xwma_read_header(), and xwma_read_packet().

const uint8_t* tab [static]

TwinVQ codebooks.

They are coded in a struct so we can use code such as

float val = tab.fcb0808l[get_bits(gb, 12)];

without risking a segfault on malformed files.

Definition at line 11128 of file twinvq_data.h.

Referenced by apcm_dequant_add(), av_dynarray_add(), build_filter(), dct_single_coeff_elimination(), decode_bytes(), decode_var_block_data(), draw_slice(), ff_h264_init_cabac_states(), ff_init_ff_cos_tabs(), ff_match_2uint16(), fill_tone_level_array(), main(), and set_filter().

const uint8_t tab10[][25] [static]

Initial value:

{
    {1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0},
    {1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
    {1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0},
    {1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1},
    {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1},
    {1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0},
    {0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1}
}

Definition at line 11059 of file twinvq_data.h.

const uint8_t tab11[][55] [static]

Definition at line 11072 of file twinvq_data.h.

const uint8_t tab12[][15] [static]

Initial value:

 {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0},
    {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0},
    {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0},
    {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1},
}

Definition at line 11112 of file twinvq_data.h.

const uint8_t tab7[][35] [static]

Initial value:

 {
    {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0},
    {0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
    {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0},
    {0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0},
    {0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
    {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0},
    {0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1},
    {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
    {0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0}
}

Definition at line 10995 of file twinvq_data.h.

const uint8_t tab8[][5] [static]

Initial value:

 {
    {0, 0, 0, 1, 1},
    {0, 1, 0, 0, 1},
    {1, 1, 0, 0, 0},
    {1, 0, 0, 1, 0},
    {0, 0, 0, 1, 1},
    {0, 1, 0, 0, 1},
    {1, 1, 0, 0, 0},
    {1, 0, 0, 1, 0},
    {0, 0, 0, 1, 1},
    {0, 1, 0, 0, 1},
    {1, 1, 0, 0, 0},
    {0, 0, 0, 0, 0},
    {0, 1, 0, 1, 0}
}

Definition at line 11009 of file twinvq_data.h.

const uint8_t tab9[][45] [static]

Definition at line 11025 of file twinvq_data.h.

struct { ... } tabs[] [static]


Generated on Fri Oct 26 02:50:08 2012 for FFmpeg by  doxygen 1.5.8