summaryrefslogtreecommitdiff
path: root/shaders/post_processing/Common/PL8x8_PL8x4.inc
blob: bec884e4f2ad5313cfa8ddc9d5371cbeae9040c1 (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
32
33
34
35
36
/*
 * 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: PL8x8_PL8x4.inc
//
// Setup module for convert PL8x8 to PL8x4 
//
// 

// Source/destination region definitions
//
#include "undefall.inc"				//Undefine the SRC and DEST sysmbols

#if (nSRC_REGION==nREGION_1)

	//REGION_1 selected
	#define ubDEST_Y		ubTOP_Y		
	#define ubDEST_U		ubTOP_U	
  #define ubDEST_V		ubTOP_V
	
#elif (nSRC_REGION==nREGION_2)

	//REGION_2 selected	
	#define ubDEST_Y		ubBOT_Y	
	#define ubDEST_U		ubBOT_U	
	#define ubDEST_V		ubBOT_V
  
	
#endif