Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5361 | serge | 1 | /* |
2 | * All Video Processing kernels |
||
3 | * Copyright © <2010>, Intel Corporation. |
||
4 | * |
||
5 | * This program is licensed under the terms and conditions of the |
||
6 | * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at |
||
7 | * http://www.opensource.org/licenses/eclipse-1.0.php. |
||
8 | * |
||
9 | */ |
||
10 | |||
11 | |||
12 | //Module name: PL8x8_Save_P208.inc |
||
13 | // |
||
14 | // Setup for storing planar data |
||
15 | // |
||
16 | |||
17 | #include "undefall.inc" //Undefine the SRC and DEST sysmbols |
||
18 | |||
19 | #define nDPW_BLOCK_SIZE_Y nBLOCK_WIDTH_16+nBLOCK_HEIGHT_8 // Y block size 16x8 |
||
20 | #define nDPW_MSG_SIZE_Y nMSGLEN_4 // # of MRF's to hold Y block data (4) |
||
21 | #define nDPW_BLOCK_SIZE_UV nBLOCK_WIDTH_16+nBLOCK_HEIGHT_8 // U/V interleaved block width and height (16x8) |
||
22 | #define nDPW_MSG_SIZE_UV nMSGLEN_4 // # of MRF's to hold U/V block data (4) |
||
23 | |||
24 | #if (nSRC_REGION==nREGION_1) |
||
25 | #define udSRC_Y udBOT_Y_IO |
||
26 | #define udSRC_U udBOT_U_IO |
||
27 | #define udSRC_V udBOT_V_IO |
||
28 | #define ubSRC_Y ubBOT_Y |
||
29 | #define ubSRC_U ubBOT_U |
||
30 | #define ubSRC_V ubBOT_V |
||
31 | |||
32 | #define uwSRC_U uwBOT_U //For masking operation |
||
33 | #define uwSRC_V uwBOT_V |
||
34 | |||
35 | #define ub2DEST_Y ub2TOP_Y |
||
36 | #define ub2DEST_U ub2TOP_U |
||
37 | #define ub2DEST_V ub2TOP_V |
||
38 | |||
39 | #elif (nSRC_REGION==nREGION_2) |
||
40 | #define udSRC_Y udTOP_Y_IO |
||
41 | #define udSRC_U udTOP_U_IO |
||
42 | #define udSRC_V udTOP_V_IO |
||
43 | #define ubSRC_Y ubTOP_Y |
||
44 | #define ubSRC_U ubTOP_U |
||
45 | #define ubSRC_V ubTOP_V |
||
46 | |||
47 | #define uwSRC_U uwTOP_U //For masking operation |
||
48 | #define uwSRC_V uwTOP_V |
||
49 | |||
50 | #define ub2DEST_Y ub2BOT_Y |
||
51 | #define ub2DEST_U ub2BOT_U |
||
52 | #define ub2DEST_V ub2BOT_V |
||
53 | |||
54 | #endif |
||
55 | |||
56 | ///* Yoni - masking is not relevant for ILK?!? |
||
57 | //#define TEMP0 REG(r,54) |
||
58 | //.declare TEMP Base=TEMP0 ElementSize=2 SrcRegion=<8;8,1> Type=uw |
||
59 | ///* Yoni - masking is not relevant for ILK?!?8;8,1>2010> |
||
60 |