Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Copyright © <2010>, Intel Corporation.
  3.  *
  4.  * This program is licensed under the terms and conditions of the
  5.  * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at
  6.  * http://www.opensource.org/licenses/eclipse-1.0.php.
  7.  *
  8.  */
  9. // Module name: load_ILDB_Cntrl_Data_22DW.asm
  10. //
  11. // ********** Apple only module **********
  12. //
  13. // This module loads AVC ILDB 22DW control data for one MB for CLN.
  14. // The reduced control data set is for progressive picture ONLY.
  15. //
  16. // Control data memory layout for each MB is 8x11 = 88 bytes.  
  17. // It ocuppies 3 GRFs after reading in.
  18. //
  19. //----------------------------------------------------------------
  20. //  Symbols need to be defined before including this module
  21. //
  22. //      Source region in :ud
  23. //      CNTRL_DATA_D:   CNTRL_DATA_D Base=rxx ElementSize=4 SrcRegion=REGION(8,1) Type=ud                       // 3 GRFs
  24. //
  25. //      Binding table index:
  26. //      BI_CNTRL_DATA:  Binding table index of control data surface
  27. //
  28. //----------------------------------------------------------------
  29.  
  30.     mul (1)     MSGSRC.0<1>:ud  ORIX:uw                 8:uw            { NoDDClr }                             // Block origin X
  31.     mul (1)     MSGSRC.1<1>:ud  ORIY:uw                 11:uw           { NoDDClr, NoDDChk }    // Block origin Y
  32.     mov (1)     MSGSRC.2<1>:ud  0x000A0007:ud                           { NoDDChk }                             // Block width and height (8x11=88 bytes)
  33.  
  34.     send (8) CNTRL_DATA_D(0)<1> MSGHDRY MSGSRC<8;8,1>:ud        DAPREAD RESP_LEN(3)+DWBRMSGDSC_SC+BI_CNTRL_DATA // Receive 3 GRFs
  35.        
  36. // End of load_ILDB_Cntrl_Data_22DW.asm
  37.