Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  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. #define DI_DISABLE
  12.  
  13. #include "DNDI.inc"
  14.  
  15. #undef  nY_NUM_OF_ROWS
  16. #define nY_NUM_OF_ROWS         8                                 // Number of Y rows per block
  17.  
  18. #undef   nSMPL_RESP_LEN
  19. #define  nSMPL_RESP_LEN        nSMPL_RESP_LEN_DN_PL              // Set the Number of GRFs in DNDI response
  20. #undef   nDPW_BLOCK_SIZE_DN
  21. #define  nDPW_BLOCK_SIZE_DN    nBLOCK_WIDTH_16+nBLOCK_HEIGHT_8   // DN Curr Block Size for Write is 16x8
  22. #undef   nDPW_BLOCK_SIZE_HIST
  23. #define  nDPW_BLOCK_SIZE_HIST  nBLOCK_WIDTH_4+nBLOCK_HEIGHT_2    // HIST Block Size for Write is 4x2
  24.  
  25. ////////////////////////////////////// Run the DN Algorithm ///////////////////////////////////////
  26. #include "DNDI_COMMAND.asm"
  27.  
  28. ////////////////////////////////////// Rearrange for Internal Planar //////////////////////////////
  29. $for (0; <nY_NUM_OF_ROWS; 1) {
  30.     mov (16)    uwDEST_Y(0,%1*16)<1>   ubRESP(nNODI_LUMA_OFFSET,%1*16)<16;16,1>       // copy line of Y
  31. }
  32.  
  33. ////////////////////////////////////// Save the History Data for Next Run /////////////////////////
  34. #include "DNDI_Hist_Save.asm"
  35.  
  36.