comparison ratecontrol.c @ 1057:bb5de8a59da8 libavcodec

* static,const,compiler warning cleanup
author kabi
date Mon, 10 Feb 2003 09:35:32 +0000
parents 19de1445beb2
children 1e39f273ecd6
comparison
equal deleted inserted replaced
1056:eb403f8158eb 1057:bb5de8a59da8
248 rcc->p_cplx_sum[P_TYPE] / (double)rcc->frame_count[P_TYPE], 248 rcc->p_cplx_sum[P_TYPE] / (double)rcc->frame_count[P_TYPE],
249 rcc->p_cplx_sum[B_TYPE] / (double)rcc->frame_count[B_TYPE], 249 rcc->p_cplx_sum[B_TYPE] / (double)rcc->frame_count[B_TYPE],
250 (rcc->i_cplx_sum[pict_type] + rcc->p_cplx_sum[pict_type]) / (double)rcc->frame_count[pict_type], 250 (rcc->i_cplx_sum[pict_type] + rcc->p_cplx_sum[pict_type]) / (double)rcc->frame_count[pict_type],
251 0 251 0
252 }; 252 };
253 char *const_names[]={ 253 static const char *const_names[]={
254 "PI", 254 "PI",
255 "E", 255 "E",
256 "iTex", 256 "iTex",
257 "pTex", 257 "pTex",
258 "tex", 258 "tex",
280 static double (*func1[])(void *, double)={ 280 static double (*func1[])(void *, double)={
281 (void *)bits2qp, 281 (void *)bits2qp,
282 (void *)qp2bits, 282 (void *)qp2bits,
283 NULL 283 NULL
284 }; 284 };
285 char *func1_names[]={ 285 static const char *func1_names[]={
286 "bits2qp", 286 "bits2qp",
287 "qp2bits", 287 "qp2bits",
288 NULL 288 NULL
289 }; 289 };
290 290