548b4dd5f2
Removing redundant 'extern' keywords and parentheses, fixing indentation, making variable names lower case, using short expressions x *= c instead of x = x * c, minor code simplifications. Change-Id: If6a25fcf306d1db26e90d27e3c24a32735c607de
27 lines
873 B
C
27 lines
873 B
C
/*
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef VP9_COMMON_VP9_TILE_COMMON_H_
|
|
#define VP9_COMMON_VP9_TILE_COMMON_H_
|
|
|
|
#include "vp9/common/vp9_onyxc_int.h"
|
|
|
|
#define MIN_TILE_WIDTH 256
|
|
#define MAX_TILE_WIDTH 4096
|
|
|
|
void vp9_get_tile_col_offsets(VP9_COMMON *cm, int tile_col_idx);
|
|
|
|
void vp9_get_tile_row_offsets(VP9_COMMON *cm, int tile_row_idx);
|
|
|
|
void vp9_get_tile_n_bits(VP9_COMMON *cm, int *min_log2_n_tiles,
|
|
int *delta_log2_n_tiles);
|
|
|
|
#endif // VP9_COMMON_VP9_TILE_COMMON_H_
|