From 879e21ddfd2d76484c22590ddba655b77767f053 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 7 Oct 2013 11:45:16 +0200 Subject: [PATCH] vp9_blockd.h: update get_tx_eob() signature as the name implies, the segmentation pointer can be const Change-Id: I945f01a077c112ec86c00e35a1e9395bc230c2d9 --- vp9/common/vp9_blockd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index f116c0647..66fc1cb50 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -578,7 +578,7 @@ static void set_contexts(MACROBLOCKD *xd, struct macroblockd_plane *pd, } } -static int get_tx_eob(struct segmentation *seg, int segment_id, +static int get_tx_eob(const struct segmentation *seg, int segment_id, TX_SIZE tx_size) { const int eob_max = 16 << (tx_size << 1); return vp9_segfeature_active(seg, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; -- 2.40.0