Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: source/libvpx/vp9/common/vp9_tile_common.h

Issue 54923004: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef VP9_COMMON_VP9_TILE_COMMON_H_ 11 #ifndef VP9_COMMON_VP9_TILE_COMMON_H_
12 #define VP9_COMMON_VP9_TILE_COMMON_H_ 12 #define VP9_COMMON_VP9_TILE_COMMON_H_
13 13
14 #include "vp9/common/vp9_onyxc_int.h" 14 struct VP9Common;
15 15
16 void vp9_get_tile_col_offsets(VP9_COMMON *cm, int tile_col_idx); 16 typedef struct TileInfo {
17 int mi_row_start, mi_row_end;
18 int mi_col_start, mi_col_end;
19 } TileInfo;
17 20
18 void vp9_get_tile_row_offsets(VP9_COMMON *cm, int tile_row_idx); 21 // initializes 'tile->mi_(row|col)_(start|end)' for (row_idx, col_idx) 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_idx, int col_idx);
19 25
20 void vp9_get_tile_n_bits(int mi_cols, 26 void vp9_get_tile_n_bits(int mi_cols,
21 int *min_log2_tile_cols, int *max_log2_tile_cols); 27 int *min_log2_tile_cols, int *max_log2_tile_cols);
22 28
23 #endif // VP9_COMMON_VP9_TILE_COMMON_H_ 29 #endif // VP9_COMMON_VP9_TILE_COMMON_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_systemdependent.h ('k') | source/libvpx/vp9/common/vp9_tile_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698