Home | History | Annotate | Download | only in nouveau
      1 #ifndef ___RNNDB_NV31_MPEG_XML
      2 #define ___RNNDB_NV31_MPEG_XML
      3 
      4 /* Autogenerated file, DO NOT EDIT manually!
      5 
      6 This file was generated by the rules-ng-ng headergen tool in this git repository:
      7 http://0x04.net/cgit/index.cgi/rules-ng-ng
      8 git clone git://0x04.net/rules-ng-ng
      9 
     10 The rules-ng-ng source files this header was generated from are:
     11 - ../rnndb/nv31_mpeg.xml  (   2269 bytes, from 2011-08-02 11:17:20)
     12 - ../rnndb/copyright.xml  (   6452 bytes, from 2011-07-15 12:42:43)
     13 - ../rnndb/nvchipsets.xml (   3617 bytes, from 2011-07-22 11:37:48)
     14 - ../rnndb/nv_object.xml  (  12672 bytes, from 2011-07-15 12:42:43)
     15 - ../rnndb/nv_defs.xml    (   4437 bytes, from 2011-07-15 12:42:43)
     16 - ../rnndb/nv50_defs.xml  (   5468 bytes, from 2011-07-15 12:42:43)
     17 
     18 Copyright (C) 2006-2011 by the following authors:
     19 - Artur Huillet <arthur.huillet (at) free.fr> (ahuillet)
     20 - Ben Skeggs (darktama, darktama_)
     21 - B. R. <koala_br (at) users.sourceforge.net> (koala_br)
     22 - Carlos Martin <carlosmn (at) users.sf.net> (carlosmn)
     23 - Christoph Bumiller <e0425955 (at) student.tuwien.ac.at> (calim, chrisbmr)
     24 - Dawid Gajownik <gajownik (at) users.sf.net> (gajownik)
     25 - Dmitry Baryshkov
     26 - Dmitry Eremin-Solenikov <lumag (at) users.sf.net> (lumag)
     27 - EdB <edb_ (at) users.sf.net> (edb_)
     28 - Erik Waling <erikwailing (at) users.sf.net> (erikwaling)
     29 - Francisco Jerez <currojerez (at) riseup.net> (curro)
     30 - imirkin <imirkin (at) users.sf.net> (imirkin)
     31 - jb17bsome <jb17bsome (at) bellsouth.net> (jb17bsome)
     32 - Jeremy Kolb <kjeremy (at) users.sf.net> (kjeremy)
     33 - Laurent Carlier <lordheavym (at) gmail.com> (lordheavy)
     34 - Luca Barbieri <luca (at) luca-barbieri.com> (lb, lb1)
     35 - Maarten Maathuis <madman2003 (at) gmail.com> (stillunknown)
     36 - Marcin Kocielnicki <koriakin (at) 0x04.net> (mwk, koriakin)
     37 - Mark Carey <mark.carey (at) gmail.com> (careym)
     38 - Matthieu Castet <matthieu.castet (at) parrot.com> (mat-c)
     39 - nvidiaman <nvidiaman (at) users.sf.net> (nvidiaman)
     40 - Patrice Mandin <patmandin (at) gmail.com> (pmandin, pmdata)
     41 - Pekka Paalanen <pq (at) iki.fi> (pq, ppaalanen)
     42 - Peter Popov <ironpeter (at) users.sf.net> (ironpeter)
     43 - Richard Hughes <hughsient (at) users.sf.net> (hughsient)
     44 - Rudi Cilibrasi <cilibrar (at) users.sf.net> (cilibrar)
     45 - Serge Martin
     46 - Simon Raffeiner
     47 - Stephane Loeuillet <leroutier (at) users.sf.net> (leroutier)
     48 - Stephane Marchesin <stephane.marchesin (at) gmail.com> (marcheu)
     49 - sturmflut <sturmflut (at) users.sf.net> (sturmflut)
     50 - Sylvain Munaut <tnt (at) 246tNt.com>
     51 - Victor Stinner <victor.stinner (at) haypocalc.com> (haypo)
     52 - Wladmir van der Laan <laanwj (at) gmail.com> (miathan6)
     53 - Younes Manton <younes.m (at) gmail.com> (ymanton)
     54 
     55 Permission is hereby granted, free of charge, to any person obtaining
     56 a copy of this software and associated documentation files (the
     57 "Software"), to deal in the Software without restriction, including
     58 without limitation the rights to use, copy, modify, merge, publish,
     59 distribute, sublicense, and/or sell copies of the Software, and to
     60 permit persons to whom the Software is furnished to do so, subject to
     61 the following conditions:
     62 
     63 The above copyright notice and this permission notice (including the
     64 next paragraph) shall be included in all copies or substantial
     65 portions of the Software.
     66 
     67 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     68 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     69 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     70 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
     71 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
     72 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
     73 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     74 */
     75 
     76 
     77 
     78 #define NV31_MPEG_PITCH						0x00000160
     79 #define NV31_MPEG_PITCH_PITCH__MASK				0x00001fff
     80 #define NV31_MPEG_PITCH_PITCH__SHIFT				0
     81 #define NV31_MPEG_PITCH_UNK					0x00010000
     82 
     83 #define NV31_MPEG_SIZE						0x00000164
     84 #define NV31_MPEG_SIZE_W__MASK					0x0000ffff
     85 #define NV31_MPEG_SIZE_W__SHIFT					0
     86 #define NV31_MPEG_SIZE_H__MASK					0xffff0000
     87 #define NV31_MPEG_SIZE_H__SHIFT					16
     88 
     89 #define NV31_MPEG_DMA_CMD					0x00000190
     90 
     91 #define NV31_MPEG_DMA_DATA					0x000001a0
     92 
     93 #define NV31_MPEG_DMA_IMAGE					0x000001b0
     94 
     95 #define NV84_MPEG_DMA_QUERY					0x000001c0
     96 
     97 #define NV31_MPEG_IMAGE_Y_OFFSET(i0)			       (0x00000200 + 0x8*(i0))
     98 #define NV31_MPEG_IMAGE_Y_OFFSET__ESIZE				0x00000008
     99 #define NV31_MPEG_IMAGE_Y_OFFSET__LEN				0x00000008
    100 
    101 #define NV31_MPEG_IMAGE_C_OFFSET(i0)			       (0x00000204 + 0x8*(i0))
    102 #define NV31_MPEG_IMAGE_C_OFFSET__ESIZE				0x00000008
    103 #define NV31_MPEG_IMAGE_C_OFFSET__LEN				0x00000008
    104 
    105 #define NV31_MPEG_FORMAT					0x00000310
    106 #define NV31_MPEG_FORMAT_DATA_FORMAT__MASK			0x00000001
    107 #define NV31_MPEG_FORMAT_DATA_FORMAT__SHIFT			0
    108 #define NV31_MPEG_FORMAT_DATA_FORMAT_S16			0x00000000
    109 #define NV31_MPEG_FORMAT_DATA_FORMAT_S8				0x00000001
    110 #define NV31_MPEG_FORMAT_UNK8					0x00000100
    111 
    112 #define NV31_MPEG_IDCT_ENABLE					0x00000314
    113 
    114 
    115 #define NV84_MPEG_QUERY_OFFSET					0x0000031c
    116 
    117 #define NV84_MPEG_QUERY_COUNTER					0x00000320
    118 
    119 #define NV31_MPEG_CMD_OFFSET					0x00000380
    120 
    121 #define NV31_MPEG_CMD_SIZE					0x00000384
    122 
    123 #define NV31_MPEG_DATA_OFFSET					0x0000038c
    124 
    125 #define NV31_MPEG_DATA_SIZE					0x00000390
    126 
    127 #define NV31_MPEG_EXEC						0x00000394
    128 
    129 
    130 #endif /* ___RNNDB_NV31_MPEG_XML */
    131