Skip to content
Snippets Groups Projects
Commit 0e60e190 authored by Roman Shaposhnik's avatar Roman Shaposhnik
Browse files

renaming macro in order to conform with the rest of libavcodec

Originally committed as revision 15751 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5bab8536
Branches
Tags
No related merge requests found
...@@ -73,7 +73,7 @@ static void* dv_anchor[DV_ANCHOR_SIZE]; ...@@ -73,7 +73,7 @@ static void* dv_anchor[DV_ANCHOR_SIZE];
#define TEX_VLC_BITS 9 #define TEX_VLC_BITS 9
#ifdef DV_CODEC_TINY_TARGET #if ENABLE_SMALL
#define DV_VLC_MAP_RUN_SIZE 15 #define DV_VLC_MAP_RUN_SIZE 15
#define DV_VLC_MAP_LEV_SIZE 23 #define DV_VLC_MAP_LEV_SIZE 23
#else #else
...@@ -188,7 +188,7 @@ static av_cold int dvvideo_init(AVCodecContext *avctx) ...@@ -188,7 +188,7 @@ static av_cold int dvvideo_init(AVCodecContext *avctx)
for (i = 0; i < NB_DV_VLC - 1; i++) { for (i = 0; i < NB_DV_VLC - 1; i++) {
if (dv_vlc_run[i] >= DV_VLC_MAP_RUN_SIZE) if (dv_vlc_run[i] >= DV_VLC_MAP_RUN_SIZE)
continue; continue;
#ifdef DV_CODEC_TINY_TARGET #if ENABLE_SMALL
if (dv_vlc_level[i] >= DV_VLC_MAP_LEV_SIZE) if (dv_vlc_level[i] >= DV_VLC_MAP_LEV_SIZE)
continue; continue;
#endif #endif
...@@ -202,7 +202,7 @@ static av_cold int dvvideo_init(AVCodecContext *avctx) ...@@ -202,7 +202,7 @@ static av_cold int dvvideo_init(AVCodecContext *avctx)
dv_vlc_len[i] + (!!dv_vlc_level[i]); dv_vlc_len[i] + (!!dv_vlc_level[i]);
} }
for (i = 0; i < DV_VLC_MAP_RUN_SIZE; i++) { for (i = 0; i < DV_VLC_MAP_RUN_SIZE; i++) {
#ifdef DV_CODEC_TINY_TARGET #if ENABLE_SMALL
for (j = 1; j < DV_VLC_MAP_LEV_SIZE; j++) { for (j = 1; j < DV_VLC_MAP_LEV_SIZE; j++) {
if (dv_vlc_map[i][j].size == 0) { if (dv_vlc_map[i][j].size == 0) {
dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc | dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc |
...@@ -552,7 +552,7 @@ static inline void dv_decode_video_segment(DVVideoContext *s, ...@@ -552,7 +552,7 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
} }
} }
#ifdef DV_CODEC_TINY_TARGET #if ENABLE_SMALL
/* Converts run and level (where level != 0) pair into vlc, returning bit size */ /* Converts run and level (where level != 0) pair into vlc, returning bit size */
static av_always_inline int dv_rl2vlc(int run, int level, int sign, uint32_t* vlc) static av_always_inline int dv_rl2vlc(int run, int level, int sign, uint32_t* vlc)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment