Skip to content
Snippets Groups Projects
Commit d90eefeb authored by James Zern's avatar James Zern
Browse files

av1/encoder/block.h: s/inline/INLINE/

vs2013 is still supported, it still uses the old behavior which supports
inline in c++ only.

Change-Id: I74417c6c93774e55122bbbf1db0283e2c30fe63e
parent 4483ea21
No related branches found
No related tags found
2 merge requests!6Rav1e 11 yushin 1,!3Rav1e 10 yushin
......@@ -213,7 +213,7 @@ struct macroblock {
// Converts block_index for given transform size to index of the block in raster
// order.
static inline int av1_block_index_to_raster_order(TX_SIZE tx_size,
static INLINE int av1_block_index_to_raster_order(TX_SIZE tx_size,
int block_idx) {
// For transform size 4x8, the possible block_idx values are 0 & 2, because
// block_idx values are incremented in steps of size 'tx_width_unit x
......@@ -225,7 +225,7 @@ static inline int av1_block_index_to_raster_order(TX_SIZE tx_size,
// Inverse of above function.
// Note: only implemented for transform sizes 4x4, 4x8 and 8x4 right now.
static inline int av1_raster_order_to_block_index(TX_SIZE tx_size,
static INLINE int av1_raster_order_to_block_index(TX_SIZE tx_size,
int raster_order) {
assert(tx_size == TX_4X4 || tx_size == TX_4X8 || tx_size == TX_8X4);
// We ensure that block indices are 0 & 2 if tx size is 4x8 or 8x4.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment