media/libvpx/vp9/common/vp9_tile_common.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /*
     2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     3  *
     4  *  Use of this source code is governed by a BSD-style license
     5  *  that can be found in the LICENSE file in the root of the source
     6  *  tree. An additional intellectual property rights grant can be found
     7  *  in the file PATENTS.  All contributing project authors may
     8  *  be found in the AUTHORS file in the root of the source tree.
     9  */
    11 #ifndef VP9_COMMON_VP9_TILE_COMMON_H_
    12 #define VP9_COMMON_VP9_TILE_COMMON_H_
    14 struct VP9Common;
    16 typedef struct TileInfo {
    17   int mi_row_start, mi_row_end;
    18   int mi_col_start, mi_col_end;
    19 } TileInfo;
    21 // initializes 'tile->mi_(row|col)_(start|end)' for (row, col) based on
    22 // 'cm->log2_tile_(rows|cols)' & 'cm->mi_(rows|cols)'
    23 void vp9_tile_init(TileInfo *tile, const struct VP9Common *cm,
    24                    int row, int col);
    26 void vp9_get_tile_n_bits(int mi_cols,
    27                          int *min_log2_tile_cols, int *max_log2_tile_cols);
    29 #endif  // VP9_COMMON_VP9_TILE_COMMON_H_

mercurial