static void od_stats_block(void *_ctx,const unsigned char *_data,int _stride, int _bi,int _bj){ intra_stats_ctx *ctx; #if PRINT_PROGRESS if(_bi==0&&_bj==0){ fprintf(stdout,"in od_stats_block\n"); } #endif ctx=(intra_stats_ctx *)_ctx; image_data_stats_block(&ctx->img,_data,_stride,_bi,_bj,&ctx->st_od); }
static void od_cfl_stats_block(void *_ctx,const unsigned char *_data, int _stride,int _bi,int _bj){ cfl_stats_ctx *ctx; (void)_data; (void)_stride; ctx=(cfl_stats_ctx *)_ctx; if (ctx->curr_pli>0) { #if PRINT_PROGRESS if(_bi==0&&_bj==0){ fprintf(stdout,"in od_cfl_stats_block\n"); } #endif image_data_stats_block(&ctx->img[ctx->curr_pli],_data,_stride,_bi,_bj, &ctx->st_cfl[ctx->curr_pli-1]); } }