~ubuntu-branches/ubuntu/utopic/libva/utopic

« back to all changes in this revision

Viewing changes to i965_drv_video/shaders/post_processing/Common/RGB16x8_Save_RGB.inc

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Reinhard Tartler, Brandon Snider, Matteo F. Vescovi
  • Date: 2012-01-04 20:42:33 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20120104204233-ykz9w51jafx66if5
Tags: 1.0.15-1
[ Reinhard Tartler ]
* Imported Upstream version 1.0.15 (Closes: #654567)
* Bump shlibs for API 'fixes' mentioned in upstream NEWS file

[ Brandon Snider ]
* The intel i965 driver has been moved to its own package
  - Removed i965-va-driver package from debian/control and replaced it
    with libva-egl1 package
* refreshed debian/patches/remove-unneeded-dep2.patch
* refreshed debian/patches/remove-unneeded-dep.patch
* Added depends on libva-egl1 to debian/control
* Added libva-utils package to debian/control
* Added egl.so file to debian/libva-dev.install
* Created debian/libva-utils.install

[ Matteo F. Vescovi ]
* debian/control: bump Standards-Version to 3.9.2
* debian/clean: clean upstream after build
* debian/control: "Section:" field re-positioned
* debian/control: adding myself to "Uploaders:" field
* debian/control: VCS-browser link updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
// Module name: RGB16x8_Save_RGB.inc
12
 
//
13
 
 
14
 
#include "undefall.inc"                 //Undefine the SRC and DEST sysmbols
15
 
 
16
 
// For saving
17
 
#define nDPW_BLOCK_SIZE_ARGB     nBLOCK_WIDTH_32+nBLOCK_HEIGHT_8    // ARGB block size 32x8
18
 
#define nDPW_MSG_SIZE_ARGB       nMSGLEN_8                          // # of MRF's to hold ARGB block data (8)
19
 
 
20
 
// For masking
21
 
#undef  nDPR_MSG_SIZE_ARGB
22
 
#define nDPR_MSG_SIZE_ARGB       nRESLEN_8                          // # of MRF's to hold ARGB block data (8)
23
 
#define     rMASK_TEMP     REG(r,nTEMP0)
24
 
.declare    uwMASK_TEMP    Base=rMASK_TEMP    ElementSize=2    SrcRegion=<8;8,1>    Type=uw        //1 GRF
25
 
 
26
 
#if (nSRC_REGION==nREGION_1)
27
 
    // For saving
28
 
    #define udDEST_ARGB      udTOP_Y_IO    //The output of previous stage is stored here; This is modified and is written to render cache
29
 
    //For masking operation
30
 
    #define udSRC_ARGB       udBOT_Y_IO    //To hold the destination data that shouldn't be modified
31
 
 
32
 
#elif (nSRC_REGION==nREGION_2)
33
 
    // For saving
34
 
    #define udDEST_ARGB      udBOT_Y_IO    //The output of previous stage is stored here; This is modified and is written to render cache
35
 
    //For masking operation
36
 
    #define udSRC_ARGB       udTOP_Y_IO    //To hold the destination data that shouldn't be modified
37
 
 
38
 
#endif