Use recursive function in choosing segmentation map coding method.
authorRonald S. Bultje <rbultje@google.com>
Sat, 27 Apr 2013 22:14:42 +0000 (15:14 -0700)
committerRonald S. Bultje <rbultje@google.com>
Mon, 29 Apr 2013 19:04:51 +0000 (12:04 -0700)
commit8bbcbdedcb4bb0119484bf8b694ff06f3752a7df
treef3f9b1b830763707eea3128df2d5a05ecbf9d90f
parent2dbaa4f4f4cb52b88244d513ca6254b3301dc8c7
Use recursive function in choosing segmentation map coding method.

This is shorter than fully writing out all cases (55 vs. 84 LOC), and
is easier to extend.

Change-Id: Ibad1bf6463198cad9188c5507181d4b03d393e6d
vp9/encoder/vp9_segmentation.c