Merge changes If9b16f7d,I75aab21c,I9cbb768c,If5cea3d3,I96940657,I025595d8,Ie0bc3935...
authorJames Zern <jzern@google.com>
Mon, 28 Oct 2013 19:45:11 +0000 (12:45 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Mon, 28 Oct 2013 19:45:11 +0000 (12:45 -0700)
* changes:
  vp9: remove partition+entropy contexts from common
  vp9: add above/left_context to MACROBLOCKD
  vp9: add above/left_seg_context to MACROBLOCKD
  vp9: add above/left_context to encoder
  vp9: add above/left_seg_context to encoder
  vp9: pass entropy context directly to set_skip_context
  vp9: pass context directly to partition functions
  vp9/decode: add alloc_tile_storage()

1  2 
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodframe.c
vp9/decoder/vp9_onyxd_if.c
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_onyx_if.c

Simple merge
@@@ -694,13 -746,12 +746,11 @@@ static void decode_tile(VP9D_COMP *pbi
    const int num_threads = pbi->oxcf.max_threads;
    VP9_COMMON *const cm = &pbi->common;
    int mi_row, mi_col;
 -  YV12_BUFFER_CONFIG *const fb = &cm->yv12_fb[cm->new_fb_idx];
    MACROBLOCKD *xd = &pbi->mb;
  
-   xd->mi_stream = pbi->mi_streams[tile_col];
    if (pbi->do_loopfilter_inline) {
      LFWorkerData *const lf_data = (LFWorkerData*)pbi->lf_worker.data1;
 -    lf_data->frame_buffer = fb;
 +    lf_data->frame_buffer = get_frame_new_buffer(cm);
      lf_data->cm = cm;
      lf_data->xd = pbi->mb;
      lf_data->stop = 0;
@@@ -1090,9 -1147,8 +1144,8 @@@ int vp9_decode_frame(VP9D_COMP *pbi, co
                                      cm, error_handler };
    const size_t first_partition_size = read_uncompressed_header(pbi, &rb);
    const int keyframe = cm->frame_type == KEY_FRAME;
 -  YV12_BUFFER_CONFIG *new_fb = &cm->yv12_fb[cm->new_fb_idx];
 +  YV12_BUFFER_CONFIG *new_fb = get_frame_new_buffer(cm);
    const int tile_cols = 1 << cm->log2_tile_cols;
-   int tile_col;
  
    if (!first_partition_size) {
      if (!keyframe) {
Simple merge
Simple merge
Simple merge
Simple merge