#include "tableprint.h"
#include "vlc.h"
#include "libavutil/reverse.c"
#include "vlc.c"
 
Go to the source code of this file.
 | 
| #define  | AVUTIL_LOG_H | 
|   | 
| #define  | av_log(a, ...)   while(0) | 
|   | 
| #define  | ff_dlog(a, ...)   while(0) | 
|   | 
| #define  | ff_tlog(a, ...)   while(0) | 
|   | 
| #define  | AVUTIL_MEM_H | 
|   | 
| #define  | av_malloc(s)   NULL | 
|   | 
| #define  | av_malloc_array(a,  b)   NULL | 
|   | 
| #define  | av_realloc_f(p,  o,  n)   NULL | 
|   | 
| #define  | av_free(p)   while(0) | 
|   | 
| #define  | av_freep(p)   while(0) | 
|   | 
| #define  | AVUTIL_INTERNAL_H | 
|   | 
| #define  | avpriv_request_sample(...) | 
|   | 
| #define  | WRITE_VLC_TABLE(prefix,  name)   WRITE_ARRAY(prefix, VLCElem, name) | 
|   | 
| #define  | WRITE_VLC_TYPE(prefix,  name,  base_table) | 
|   | 
| #define  | WRITE_VLC_ARRAY(prefix,  name,  base_table) | 
|   | 
 | 
|   | WRITE_1D_FUNC_ARGV (VLCElem, 3, "{ .sym =%5" PRId16 ", .len =%2"PRIi16 " }", data[i].sym, data[i].len) static void write_vlc_type(const VLC *vlc | 
|   | 
|   | printf ("    .table = (VLCElem *)(%s + 0x%x),\n", base_table_name,(int)(vlc->table - base_table)) | 
|   | 
|   | printf ("    .table_size = 0x%x,\n", vlc->table_size) | 
|   | 
◆ AVUTIL_LOG_H
◆ av_log
      
        
          | #define av_log | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |    while(0) | 
        
      
 
 
◆ ff_dlog
      
        
          | #define ff_dlog | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |    while(0) | 
        
      
 
 
◆ ff_tlog
      
        
          | #define ff_tlog | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |    while(0) | 
        
      
 
 
◆ AVUTIL_MEM_H
◆ av_malloc
      
        
          | #define av_malloc | 
          ( | 
            | 
          s | ) | 
             NULL | 
        
      
 
 
◆ av_malloc_array
      
        
          | #define av_malloc_array | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          b  | 
        
        
           | 
          ) | 
           |    NULL | 
        
      
 
 
◆ av_realloc_f
      
        
          | #define av_realloc_f | 
          ( | 
            | 
          p,  | 
        
        
           | 
           | 
            | 
          o,  | 
        
        
           | 
           | 
            | 
          n  | 
        
        
           | 
          ) | 
           |    NULL | 
        
      
 
 
◆ av_free
      
        
          | #define av_free | 
          ( | 
            | 
          p | ) | 
             while(0) | 
        
      
 
 
◆ av_freep
      
        
          | #define av_freep | 
          ( | 
            | 
          p | ) | 
             while(0) | 
        
      
 
 
◆ AVUTIL_INTERNAL_H
      
        
          | #define AVUTIL_INTERNAL_H | 
        
      
 
 
◆ avpriv_request_sample
      
        
          | #define avpriv_request_sample | 
          ( | 
            | 
          ... | ) | 
           | 
        
      
 
 
◆ WRITE_VLC_TABLE
◆ WRITE_VLC_TYPE
Value:    do {                                                \
        printf(prefix
" VLC "#
name" = {\n");             \
 
        printf("};\n");                                 \
    } while(0)
 
Definition at line 59 of file tableprint_vlc.h.
 
 
◆ WRITE_VLC_ARRAY
Value:    do {                                                \
        printf(prefix
" VLC "#
name"[%"FMT"] = {{\n",     \
 
               array_size);                             \
        for (
i = 0; 
i < array_size; 
i++) {              \
 
            write_vlc_type(
name + 
i,                    \
 
            if (
i != array_size - 1) 
printf("}, {\n
");  \ 
        }                                               \
        printf("}};\n");                                \
    } while(0)
 
Definition at line 66 of file tableprint_vlc.h.
 
 
◆ WRITE_1D_FUNC_ARGV()
      
        
          | WRITE_1D_FUNC_ARGV  | 
          ( | 
          VLCElem  | 
          ,  | 
        
        
           | 
           | 
          3  | 
          ,  | 
        
        
           | 
           | 
          "{ .sym =%5" PRId16 ", .len =%2"PRIi16 " }"  | 
          ,  | 
        
        
           | 
           | 
          data.  | 
          sym[i],  | 
        
        
           | 
           | 
          data.  | 
          len[i]  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ printf() [1/2]
◆ printf() [2/2]
      
        
          | printf  | 
          ( | 
          " .  | 
          table_size = 0x%x,  | 
        
        
           | 
           | 
          \n"  | 
          ,  | 
        
        
           | 
           | 
          vlc->  | 
          table_size  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ base_table
◆ base_table_name
      
        
          | const VLCElem const char* base_table_name | 
        
      
 
 
 
printf("    .table = (VLCElem *)(%s + 0x%x),\n", base_table_name,(int)(vlc->table - base_table))