示例#1
0
文件: intra_stats.c 项目: ekr/daala
static void od_pred_block(void *_ctx,const unsigned char *_data,int _stride,
 int _bi,int _bj){
  intra_stats_ctx *ctx;
  (void)_data;
  (void)_stride;
#if PRINT_PROGRESS
  if(_bi==0&&_bj==0){
    fprintf(stdout,"in od_pred_block\n");
  }
#endif
  ctx=(intra_stats_ctx *)_ctx;
  image_data_pred_block(&ctx->img,_bi,_bj);
}
示例#2
0
static void od_fdp_pred_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_fdp_pred_block\n");
    }
#endif
    ctx->img[ctx->curr_pli].mode[ctx->img[ctx->curr_pli].nxblocks*_bj+_bi]=
     ctx->img[0].mode[ctx->img[0].nxblocks*_bj+_bi];
    image_data_pred_block(&ctx->img[ctx->curr_pli],_bi,_bj);
  }
}