tablegen.txt File Reference
#include "libavcodec/example_tables.h"
#include "example_tables.h"
Include dependency graph for tablegen.txt:

Functions

 printf ("static const uint8_t my_array[100] = {\n")
 
 write_uint8_t_array (my_array, 100)
 
 printf ("};\n")
 
 WRITE_ARRAY ("static const", uint8_t, my_array)
 
 write_fileheader () adds some minor things like a"this is a generated file"comment and some standard includes.tablegen.h defines some write functions for one-and two-dimensional arrays for standard types-they print only the"core"parts so they are easier to reuse for multi-dimensional arrays so the outermost
 

Variables

Writing a table generator This documentation is preliminary Parts of the API are not good and should be changed Basic concepts A table generator consists of two files
 
Writing a table generator This documentation is preliminary Parts of the API are not good and should be changed Basic concepts A table generator consists of two *_tablegen c and *_tablegen h The h file will provide the variable declarations and initialization code for the tables
 
This is the more generic form
 
must be printed separately If there s no standard function for printing the type you need
 
must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should contain
 
must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do anything
 
must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do and instead of the variable declarations the generated *_tables h file should be included Since that will be generated in the build directory
 
must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do and instead of the variable declarations the generated *_tables h file should be included Since that will be generated in the build the path must be included
 
must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do and instead of the variable declarations the generated *_tables h file should be included Since that will be generated in the build the path must be i e not Makefile changes To make the automatic table creation work
 

Function Documentation

printf ( )

Referenced by __attribute__(), audio_decode_example(), audio_decode_frame(), audio_encode_example(), av_base64_encode(), av_blowfish_crypt(), av_bprint_escape(), av_crc(), av_des_mac(), av_evaluate_lls(), av_expr_parse_and_eval(), av_fifo_drain(), av_find_info_tag(), av_get_random_seed(), av_hmac_calc(), av_isxdigit(), av_md5_sum(), av_opt_freep_ranges(), av_parse_cpu_caps(), av_sha_final(), av_strerror(), av_tempfile(), av_xtea_crypt(), compact_print_int(), compact_print_section_footer(), compact_print_section_header(), compact_print_str(), dct_error(), decode_packet(), decode_write_frame(), default_print_int(), default_print_section_footer(), default_print_section_header(), default_print_str(), do_exit(), doTest(), exit_program(), extract_mpeg4_header(), ff_draw_supported_pixel_formats(), ff_iir_filter_init(), ff_parse_channel_layout(), ff_pca(), ff_pullup_get_frame(), ff_srtp_encrypt(), ff_timefilter_eval(), fileTest(), flat_print_int(), flat_print_str(), help(), http_vlog(), idct248_error(), ini_print_int(), ini_print_section_header(), ini_print_str(), json_print_int(), json_print_item_str(), json_print_section_footer(), json_print_section_header(), json_print_str(), licomb_y(), main(), opt_sections(), print_aff_and_breaks(), print_codec(), print_codecs(), print_codecs_for_id(), print_option(), print_pix_fmt_fourccs(), print_sdp(), print_section(), printval(), queue_picture(), run_psnr(), selfTest(), show_bsfs(), show_codec_opts(), show_codecs(), show_filters(), show_format_opts(), show_formats(), show_help_children(), show_help_default(), show_help_demuxer(), show_help_filter(), show_help_muxer(), show_help_options(), show_layouts(), show_license(), show_opts(), show_pix_fmts(), show_protocols(), show_sample_fmts(), test(), test_motion(), update_benchmark(), usage(), video_decode_example(), video_encode_example(), video_refresh(), WRITE_1D_FUNC_ARGV(), write_fileheader(), write_float_3d_array(), write_float_4d_array(), xml_print_int(), xml_print_section_footer(), xml_print_section_header(), and xml_print_str().

printf ( "};\n"  )
WRITE_ARRAY ( "static const"  ,
uint8_t  ,
my_array   
)

Referenced by main().

write_fileheader ( void  )

Definition at line 39 of file tablegen.txt.

Referenced by main(), and WRITE_1D_FUNC_ARGV().

write_uint8_t_array ( my_array  ,
100   
)

Variable Documentation

must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do anything

Definition at line 45 of file tablegen.txt.

must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should contain

Definition at line 45 of file tablegen.txt.

must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do and instead of the variable declarations the generated* _tables h file should be included Since that will be generated in the build directory

Definition at line 45 of file tablegen.txt.

Writing a table generator This documentation is preliminary Parts of the API are not good and should be changed Basic concepts A table generator consists of two files

Definition at line 8 of file tablegen.txt.

This is the more generic in case you need to do something special Usually you should instead use the short form

Definition at line 34 of file tablegen.txt.

must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do and instead of the variable declarations the generated* _tables h file should be included Since that will be generated in the build the path must be included

Definition at line 45 of file tablegen.txt.

must be printed separately If there s no standard function for printing the type you need

Definition at line 45 of file tablegen.txt.

Writing a table generator This documentation is preliminary Parts of the API are not good and should be changed Basic concepts A table generator consists of two * _tablegen c and* _tablegen h The h file will provide the variable declarations and initialization code for the tables

Definition at line 8 of file tablegen.txt.

Referenced by truemotion1_decode_header().

must be printed separately If there s no standard function for printing the type you the WRITE_1D_FUNC_ARGV macro is a very quick way to create one See libavcodec dv_tablegen c for an example The h file This file should the initialization functions should not do and instead of the variable declarations the generated* _tables h file should be included Since that will be generated in the build the path must be i e not Makefile changes To make the automatic table creation work

Definition at line 45 of file tablegen.txt.

Referenced by do_hybrid_window(), ff_interp(), and ra144_encode_subblock().