1 /********************************************************************
3 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
11 ********************************************************************
16 ********************************************************************/
19 #define INTERNAL_BLOCK_HEIGHT 8
20 #define INTERNAL_BLOCK_WIDTH 8
23 /* NEW Line search values. */
30 #define NOT_EDGE_ROW 1
33 #define YDIFF_CB_ROWS (INTERNAL_BLOCK_HEIGHT * 3)
34 #define CHLOCALS_CB_ROWS (INTERNAL_BLOCK_HEIGHT * 3)
35 #define PMAP_CB_ROWS (INTERNAL_BLOCK_HEIGHT * 3)
36 #define PSCORE_CB_ROWS (INTERNAL_BLOCK_HEIGHT * 4)
38 /* Status values in block coding map */
39 #define CANDIDATE_BLOCK_LOW -2
40 #define CANDIDATE_BLOCK -1
41 #define BLOCK_NOT_CODED 0
42 #define BLOCK_CODED_BAR 3
43 #define BLOCK_CODED_SGC 4
44 #define BLOCK_CODED_LOW 4
47 #define MAX_PREV_FRAMES 16
48 #define MAX_SEARCH_LINE_LEN 7