[FFmpeg-cvslog] avcodec/snow: Remove unused function

Michael Niedermayer git at videolan.org
Fri Jun 17 21:51:36 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Jun 17 21:08:23 2016 +0200| [737f06577ca93b9e4751aacf40831dd3e0d0104f] | committer: Michael Niedermayer

avcodec/snow: Remove unused function

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=737f06577ca93b9e4751aacf40831dd3e0d0104f
---

 libavcodec/snow.h |   24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/libavcodec/snow.h b/libavcodec/snow.h
index d126d68..00d7c42 100644
--- a/libavcodec/snow.h
+++ b/libavcodec/snow.h
@@ -250,30 +250,6 @@ int ff_snow_get_buffer(SnowContext *s, AVFrame *frame);
 /* common inline functions */
 //XXX doublecheck all of them should stay inlined
 
-static inline void snow_set_blocks(SnowContext *s, int level, int x, int y, int l, int cb, int cr, int mx, int my, int ref, int type){
-    const int w= s->b_width << s->block_max_depth;
-    const int rem_depth= s->block_max_depth - level;
-    const int index= (x + y*w) << rem_depth;
-    const int block_w= 1<<rem_depth;
-    BlockNode block;
-    int i,j;
-
-    block.color[0]= l;
-    block.color[1]= cb;
-    block.color[2]= cr;
-    block.mx= mx;
-    block.my= my;
-    block.ref= ref;
-    block.type= type;
-    block.level= level;
-
-    for(j=0; j<block_w; j++){
-        for(i=0; i<block_w; i++){
-            s->block[index + i + j*w]= block;
-        }
-    }
-}
-
 static inline void pred_mv(SnowContext *s, int *mx, int *my, int ref,
                            const BlockNode *left, const BlockNode *top, const BlockNode *tr){
     if(s->ref_frames == 1){



More information about the ffmpeg-cvslog mailing list