summaryrefslogtreecommitdiff
path: root/src/shaders/post_processing/gen5_6/Common/Expansion.inc
blob: 7f3d5aaeed1d8fb1bc02834bdb32ff5bb3c56d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * All Video Processing kernels 
 * Copyright © <2010>, Intel Corporation.
 *
 * This program is licensed under the terms and conditions of the
 * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at
 * http://www.opensource.org/licenses/eclipse-1.0.php.
 *
 */

// Module name: Expansion.inc
// Number of U/V rows per block definition
#undef 	nUV_NUM_OF_ROWS
#ifdef EXPAND_9x5
	#define nUV_NUM_OF_ROWS     6
#else
	#define nUV_NUM_OF_ROWS     8
#endif

// Source/destination region definitions
#undef uwDEST_U
#undef uwDEST_V
#if (nSRC_REGION==nREGION_1)
	#define uwDEST_U          uwTOP_U
	#define uwDEST_V          uwTOP_V
#elif (nSRC_REGION==nREGION_2)
	#define uwDEST_U          uwBOT_U
	#define uwDEST_V          uwBOT_V
#endif

// End of Expansion.inc