diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-08-22 11:18:04 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-08-22 11:18:04 +0200 |
commit | e303e5e5c6b99f25ce20da324d5c417427c87aaa (patch) | |
tree | b228bcacfcd25d019081f37c275815efe785a8b6 /src/shaders/post_processing/Common/PL8x5_PL8x8.asm | |
parent | f48a802937cbd74e40dc503f712439433b77da71 (diff) | |
download | libva-intel-driver-e303e5e5c6b99f25ce20da324d5c417427c87aaa.tar.gz |
Moved files around.
Diffstat (limited to 'src/shaders/post_processing/Common/PL8x5_PL8x8.asm')
-rw-r--r-- | src/shaders/post_processing/Common/PL8x5_PL8x8.asm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/shaders/post_processing/Common/PL8x5_PL8x8.asm b/src/shaders/post_processing/Common/PL8x5_PL8x8.asm new file mode 100644 index 00000000..5b98be00 --- /dev/null +++ b/src/shaders/post_processing/Common/PL8x5_PL8x8.asm @@ -0,0 +1,27 @@ +/* + * 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: PL8x5_PL8x8.asm + +#include "Expansion.inc" + +//------------------------------- Vertical Upconversion ------------------------------ + avg.sat (8) uwDEST_U(0, 3*16+8)<1> uwDEST_U(0, 3*8) uwDEST_U(0, (1+3)*8) // Optimization + avg.sat (8) uwDEST_V(0, 3*16+8)<1> uwDEST_V(0, 3*8) uwDEST_V(0, (1+3)*8) // Optimization + + $for(nUV_NUM_OF_ROWS/2-2; >-1; -1) { + mov (8) uwDEST_U(0, (1+%1)*16)<1> uwDEST_U(0, (1+%1)*8) + avg.sat (8) uwDEST_U(0, %1*16+8)<1> uwDEST_U(0, %1*8) uwDEST_U(0, (1+%1)*8) + + mov (8) uwDEST_V(0, (1+%1)*16)<1> uwDEST_V(0, (1+%1)*8) + avg.sat (8) uwDEST_V(0, %1*16+8)<1> uwDEST_V(0, %1*8) uwDEST_V(0, (1+%1)*8) + } + +// End of PL8x5_PL8x8 |