Mercurial > mplayer.hg
comparison libmpcodecs/ve_lavc.c @ 18976:6a08d0dabca8
Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.
author | diego |
---|---|
date | Sun, 09 Jul 2006 16:01:36 +0000 |
parents | c1d5652c1654 |
children | 8b52dad54b1d |
comparison
equal
deleted
inserted
replaced
18975:a670787e51af | 18976:6a08d0dabca8 |
---|---|
909 #if LIBAVCODEC_BUILD >= 4643 | 909 #if LIBAVCODEC_BUILD >= 4643 |
910 /* store psnr / pict size / type / qscale */ | 910 /* store psnr / pict size / type / qscale */ |
911 if(lavc_param_psnr){ | 911 if(lavc_param_psnr){ |
912 static FILE *fvstats=NULL; | 912 static FILE *fvstats=NULL; |
913 char filename[20]; | 913 char filename[20]; |
914 static long long int all_len=0; | |
915 static int frame_number=0; | |
916 static double all_frametime=0.0; | |
917 AVFrame *pic= lavc_venc_context->coded_frame; | |
918 double f= lavc_venc_context->width*lavc_venc_context->height*255.0*255.0; | 914 double f= lavc_venc_context->width*lavc_venc_context->height*255.0*255.0; |
919 double quality=0.0; | 915 double quality=0.0; |
920 int8_t *q; | 916 int8_t *q; |
921 | 917 |
922 if(!fvstats) { | 918 if(!fvstats) { |
968 fprintf(stats_file, "%s", lavc_venc_context->stats_out); | 964 fprintf(stats_file, "%s", lavc_venc_context->stats_out); |
969 return out_size; | 965 return out_size; |
970 } | 966 } |
971 | 967 |
972 static void uninit(struct vf_instance_s* vf){ | 968 static void uninit(struct vf_instance_s* vf){ |
973 const char pict_type_char[5]= {'?', 'I', 'P', 'B', 'S'}; | |
974 | 969 |
975 #if LIBAVCODEC_BUILD >= 4643 | 970 #if LIBAVCODEC_BUILD >= 4643 |
976 if(lavc_param_psnr){ | 971 if(lavc_param_psnr){ |
977 double f= lavc_venc_context->width*lavc_venc_context->height*255.0*255.0; | 972 double f= lavc_venc_context->width*lavc_venc_context->height*255.0*255.0; |
978 f*= lavc_venc_context->coded_frame->coded_picture_number; | 973 f*= lavc_venc_context->coded_frame->coded_picture_number; |