shithub: libvpx

Download patch

ref: 879e21ddfd2d76484c22590ddba655b77767f053
parent: a36045fb3b232b709af9c51fa04d1fc526babea7
author: James Zern <jzern@google.com>
date: Mon Oct 7 07:45:16 EDT 2013

vp9_blockd.h: update get_tx_eob() signature

as the name implies, the segmentation pointer can be const

Change-Id: I945f01a077c112ec86c00e35a1e9395bc230c2d9

--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -578,7 +578,7 @@
   }
 }
 
-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;