Revision 49fb20cb libavcodec/dv.c

View differences:

libavcodec/dv.c
62 62

  
63 63
#define TEX_VLC_BITS 9
64 64

  
65
#if ENABLE_SMALL
65
#if CONFIG_SMALL
66 66
#define DV_VLC_MAP_RUN_SIZE 15
67 67
#define DV_VLC_MAP_LEV_SIZE 23
68 68
#else
......
326 326
        for (i = 0; i < NB_DV_VLC - 1; i++) {
327 327
           if (dv_vlc_run[i] >= DV_VLC_MAP_RUN_SIZE)
328 328
               continue;
329
#if ENABLE_SMALL
329
#if CONFIG_SMALL
330 330
           if (dv_vlc_level[i] >= DV_VLC_MAP_LEV_SIZE)
331 331
               continue;
332 332
#endif
......
340 340
               dv_vlc_len[i] + (!!dv_vlc_level[i]);
341 341
        }
342 342
        for (i = 0; i < DV_VLC_MAP_RUN_SIZE; i++) {
343
#if ENABLE_SMALL
343
#if CONFIG_SMALL
344 344
           for (j = 1; j < DV_VLC_MAP_LEV_SIZE; j++) {
345 345
              if (dv_vlc_map[i][j].size == 0) {
346 346
                  dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc |
......
692 692
    return 0;
693 693
}
694 694

  
695
#if ENABLE_SMALL
695
#if CONFIG_SMALL
696 696
/* Converts run and level (where level != 0) pair into vlc, returning bit size */
697 697
static av_always_inline int dv_rl2vlc(int run, int level, int sign, uint32_t* vlc)
698 698
{

Also available in: Unified diff