media/libvpx/vp9/common/vp9_tile_common.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp9/common/vp9_tile_common.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     1.6 + *
     1.7 + *  Use of this source code is governed by a BSD-style license
     1.8 + *  that can be found in the LICENSE file in the root of the source
     1.9 + *  tree. An additional intellectual property rights grant can be found
    1.10 + *  in the file PATENTS.  All contributing project authors may
    1.11 + *  be found in the AUTHORS file in the root of the source tree.
    1.12 + */
    1.13 +
    1.14 +#ifndef VP9_COMMON_VP9_TILE_COMMON_H_
    1.15 +#define VP9_COMMON_VP9_TILE_COMMON_H_
    1.16 +
    1.17 +struct VP9Common;
    1.18 +
    1.19 +typedef struct TileInfo {
    1.20 +  int mi_row_start, mi_row_end;
    1.21 +  int mi_col_start, mi_col_end;
    1.22 +} TileInfo;
    1.23 +
    1.24 +// initializes 'tile->mi_(row|col)_(start|end)' for (row, col) based on
    1.25 +// 'cm->log2_tile_(rows|cols)' & 'cm->mi_(rows|cols)'
    1.26 +void vp9_tile_init(TileInfo *tile, const struct VP9Common *cm,
    1.27 +                   int row, int col);
    1.28 +
    1.29 +void vp9_get_tile_n_bits(int mi_cols,
    1.30 +                         int *min_log2_tile_cols, int *max_log2_tile_cols);
    1.31 +
    1.32 +#endif  // VP9_COMMON_VP9_TILE_COMMON_H_

mercurial