summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv31_mpeg.xml.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2011-09-10 09:55:55 +0200
committerYounes Manton <[email protected]>2011-09-10 14:22:11 -0400
commit1465dc26a540e2b6f8a055cf0ab48f774a3775bf (patch)
tree47b2cb4bc282b14c657a5df44924970816a21ae4 /src/gallium/drivers/nouveau/nv31_mpeg.xml.h
parent10dbd029279dda1689410d8ef2bc5aba64dd5958 (diff)
nouveau: Add support for XvMC acceleration
Try to use the PMPEG where available Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv31_mpeg.xml.h')
-rw-r--r--src/gallium/drivers/nouveau/nv31_mpeg.xml.h130
1 files changed, 130 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv31_mpeg.xml.h b/src/gallium/drivers/nouveau/nv31_mpeg.xml.h
new file mode 100644
index 00000000000..a8c1e324474
--- /dev/null
+++ b/src/gallium/drivers/nouveau/nv31_mpeg.xml.h
@@ -0,0 +1,130 @@
+#ifndef ___RNNDB_NV31_MPEG_XML
+#define ___RNNDB_NV31_MPEG_XML
+
+/* Autogenerated file, DO NOT EDIT manually!
+
+This file was generated by the rules-ng-ng headergen tool in this git repository:
+http://0x04.net/cgit/index.cgi/rules-ng-ng
+git clone git://0x04.net/rules-ng-ng
+
+The rules-ng-ng source files this header was generated from are:
+- ../rnndb/nv31_mpeg.xml ( 2269 bytes, from 2011-08-02 11:17:20)
+- ../rnndb/copyright.xml ( 6452 bytes, from 2011-07-15 12:42:43)
+- ../rnndb/nvchipsets.xml ( 3617 bytes, from 2011-07-22 11:37:48)
+- ../rnndb/nv_object.xml ( 12672 bytes, from 2011-07-15 12:42:43)
+- ../rnndb/nv_defs.xml ( 4437 bytes, from 2011-07-15 12:42:43)
+- ../rnndb/nv50_defs.xml ( 5468 bytes, from 2011-07-15 12:42:43)
+
+Copyright (C) 2006-2011 by the following authors:
+- Artur Huillet <[email protected]> (ahuillet)
+- Ben Skeggs (darktama, darktama_)
+- B. R. <[email protected]> (koala_br)
+- Carlos Martin <[email protected]> (carlosmn)
+- Christoph Bumiller <[email protected]> (calim, chrisbmr)
+- Dawid Gajownik <[email protected]> (gajownik)
+- Dmitry Baryshkov
+- Dmitry Eremin-Solenikov <[email protected]> (lumag)
+- EdB <[email protected]> (edb_)
+- Erik Waling <[email protected]> (erikwaling)
+- Francisco Jerez <[email protected]> (curro)
+- imirkin <[email protected]> (imirkin)
+- jb17bsome <[email protected]> (jb17bsome)
+- Jeremy Kolb <[email protected]> (kjeremy)
+- Laurent Carlier <[email protected]> (lordheavy)
+- Luca Barbieri <[email protected]> (lb, lb1)
+- Maarten Maathuis <[email protected]> (stillunknown)
+- Marcin Koƛcielnicki <[email protected]> (mwk, koriakin)
+- Mark Carey <[email protected]> (careym)
+- Matthieu Castet <[email protected]> (mat-c)
+- nvidiaman <[email protected]> (nvidiaman)
+- Patrice Mandin <[email protected]> (pmandin, pmdata)
+- Pekka Paalanen <[email protected]> (pq, ppaalanen)
+- Peter Popov <[email protected]> (ironpeter)
+- Richard Hughes <[email protected]> (hughsient)
+- Rudi Cilibrasi <[email protected]> (cilibrar)
+- Serge Martin
+- Simon Raffeiner
+- Stephane Loeuillet <[email protected]> (leroutier)
+- Stephane Marchesin <[email protected]> (marcheu)
+- sturmflut <[email protected]> (sturmflut)
+- Sylvain Munaut <[email protected]>
+- Victor Stinner <[email protected]> (haypo)
+- Wladmir van der Laan <[email protected]> (miathan6)
+- Younes Manton <[email protected]> (ymanton)
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice (including the
+next paragraph) shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+
+
+#define NV31_MPEG_PITCH 0x00000160
+#define NV31_MPEG_PITCH_PITCH__MASK 0x00001fff
+#define NV31_MPEG_PITCH_PITCH__SHIFT 0
+#define NV31_MPEG_PITCH_UNK 0x00010000
+
+#define NV31_MPEG_SIZE 0x00000164
+#define NV31_MPEG_SIZE_W__MASK 0x0000ffff
+#define NV31_MPEG_SIZE_W__SHIFT 0
+#define NV31_MPEG_SIZE_H__MASK 0xffff0000
+#define NV31_MPEG_SIZE_H__SHIFT 16
+
+#define NV31_MPEG_DMA_CMD 0x00000190
+
+#define NV31_MPEG_DMA_DATA 0x000001a0
+
+#define NV31_MPEG_DMA_IMAGE 0x000001b0
+
+#define NV84_MPEG_DMA_QUERY 0x000001c0
+
+#define NV31_MPEG_IMAGE_Y_OFFSET(i0) (0x00000200 + 0x8*(i0))
+#define NV31_MPEG_IMAGE_Y_OFFSET__ESIZE 0x00000008
+#define NV31_MPEG_IMAGE_Y_OFFSET__LEN 0x00000008
+
+#define NV31_MPEG_IMAGE_C_OFFSET(i0) (0x00000204 + 0x8*(i0))
+#define NV31_MPEG_IMAGE_C_OFFSET__ESIZE 0x00000008
+#define NV31_MPEG_IMAGE_C_OFFSET__LEN 0x00000008
+
+#define NV31_MPEG_FORMAT 0x00000310
+#define NV31_MPEG_FORMAT_DATA_FORMAT__MASK 0x00000001
+#define NV31_MPEG_FORMAT_DATA_FORMAT__SHIFT 0
+#define NV31_MPEG_FORMAT_DATA_FORMAT_S16 0x00000000
+#define NV31_MPEG_FORMAT_DATA_FORMAT_S8 0x00000001
+#define NV31_MPEG_FORMAT_UNK8 0x00000100
+
+#define NV31_MPEG_IDCT_ENABLE 0x00000314
+
+
+#define NV84_MPEG_QUERY_OFFSET 0x0000031c
+
+#define NV84_MPEG_QUERY_COUNTER 0x00000320
+
+#define NV31_MPEG_CMD_OFFSET 0x00000380
+
+#define NV31_MPEG_CMD_SIZE 0x00000384
+
+#define NV31_MPEG_DATA_OFFSET 0x0000038c
+
+#define NV31_MPEG_DATA_SIZE 0x00000390
+
+#define NV31_MPEG_EXEC 0x00000394
+
+
+#endif /* ___RNNDB_NV31_MPEG_XML */