Index: source/libvpx/vp9/common/vp9_pred_common.c |
=================================================================== |
--- source/libvpx/vp9/common/vp9_pred_common.c (revision 290053) |
+++ source/libvpx/vp9/common/vp9_pred_common.c (working copy) |
@@ -353,9 +353,9 @@ |
const MB_MODE_INFO *const left_mbmi = get_mbmi(get_left_mi(xd)); |
const int has_above = above_mbmi != NULL; |
const int has_left = left_mbmi != NULL; |
- int above_ctx = (has_above && !above_mbmi->skip) ? above_mbmi->tx_size |
+ int above_ctx = (has_above && !above_mbmi->skip) ? (int)above_mbmi->tx_size |
: max_tx_size; |
- int left_ctx = (has_left && !left_mbmi->skip) ? left_mbmi->tx_size |
+ int left_ctx = (has_left && !left_mbmi->skip) ? (int)left_mbmi->tx_size |
: max_tx_size; |
if (!has_left) |
left_ctx = above_ctx; |
@@ -366,7 +366,7 @@ |
return (above_ctx + left_ctx) > max_tx_size; |
} |
-int vp9_get_segment_id(VP9_COMMON *cm, const uint8_t *segment_ids, |
+int vp9_get_segment_id(const VP9_COMMON *cm, const uint8_t *segment_ids, |
BLOCK_SIZE bsize, int mi_row, int mi_col) { |
const int mi_offset = mi_row * cm->mi_cols + mi_col; |
const int bw = num_8x8_blocks_wide_lookup[bsize]; |