X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=y4minput.c;h=dd51421d783e97c9fa6f1f6af2841774e10442c2;hb=dba053898a662923e8750021314e1e90d0b92f80;hp=449afe858f493715e11646e062237c3c5912ccdd;hpb=c4d7e5e67ecfcd9730bd512483390369fc9982db;p=profile%2Fivi%2Flibvpx.git diff --git a/y4minput.c b/y4minput.c index 449afe8..dd51421 100644 --- a/y4minput.c +++ b/y4minput.c @@ -146,7 +146,6 @@ static int y4m_parse_tags(y4m_input *_y4m,char *_tags){ mpeg2 and jpeg cases (thus requiring no vertical resampling).*/ static void y4m_42xmpeg2_42xjpeg_helper(unsigned char *_dst, const unsigned char *_src,int _c_w,int _c_h){ - int pli; int y; int x; for(y=0;y<_c_h;y++){ @@ -178,8 +177,6 @@ static void y4m_convert_42xmpeg2_42xjpeg(y4m_input *_y4m,unsigned char *_dst, int c_h; int c_sz; int pli; - int y; - int x; /*Skip past the luma data.*/ _dst+=_y4m->pic_w*_y4m->pic_h; /*Compute the size of each chroma plane.*/ @@ -396,8 +393,6 @@ static void y4m_convert_422jpeg_420jpeg(y4m_input *_y4m,unsigned char *_dst, int dst_c_w; int dst_c_h; int dst_c_sz; - int tmp_sz; - int pic_sz; int pli; /*Skip past the luma data.*/ _dst+=_y4m->pic_w*_y4m->pic_h; @@ -461,12 +456,9 @@ static void y4m_convert_422_420jpeg(y4m_input *_y4m,unsigned char *_dst, int c_w; int c_h; int c_sz; - int dst_c_w; int dst_c_h; int dst_c_sz; int pli; - int y; - int x; /*Skip past the luma data.*/ _dst+=_y4m->pic_w*_y4m->pic_h; /*Compute the size of each chroma plane.*/ @@ -821,8 +813,6 @@ void y4m_input_close(y4m_input *_y4m){ int y4m_input_fetch_frame(y4m_input *_y4m,FILE *_fin,vpx_image_t *_img){ char frame[6]; int pic_sz; - int frame_c_w; - int frame_c_h; int c_w; int c_h; int c_sz;