~ubuntu-branches/ubuntu/maverick/zapping/maverick

« back to all changes in this revision

Viewing changes to libtv/overlay_buffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-03-08 23:19:08 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050308231908-oip7rfv6lcmo8c0e
Tags: 0.9.2-2ubuntu1
Rebuilt for Python transition (2.3 -> 2.4)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 2001-2004 Michael H. Schimek
 
3
 *  Copyright (C) 2000-2003 I�aki Garc�a Etxebarria
 
4
 *
 
5
 *  This program is free software; you can redistribute it and/or modify
 
6
 *  it under the terms of the GNU General Public License as published by
 
7
 *  the Free Software Foundation; either version 2 of the License, or
 
8
 *  (at your option) any later version.
 
9
 *
 
10
 *  This program is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *  GNU General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with this program; if not, write to the Free Software
 
17
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 */
 
19
 
 
20
/* $Id: overlay_buffer.h,v 1.1 2004/09/10 04:55:55 mschimek Exp $ */
 
21
 
 
22
#ifndef __ZTV_OVERLAY_BUFFER_H__
 
23
#define __ZTV_OVERLAY_BUFFER_H__
 
24
 
 
25
#include "image_format.h"
 
26
 
 
27
TV_BEGIN_DECLS
 
28
 
 
29
/* This is the target of DMA overlay, a continuous chunk of physical memory.
 
30
   Usually it describes the visible portion of the graphics card's video
 
31
   memory. */
 
32
typedef struct {
 
33
        /* Memory address as seen by the video capture device, without
 
34
           virtual address translation by the CPU. Actually this assumes
 
35
           graphic card and capture device share an address space, which is
 
36
           not necessarily true if the devices connect to different busses,
 
37
           but I'm not aware of any driver APIs considering this either. */
 
38
        unsigned long           base;
 
39
 
 
40
        /* Base need not align with point 0, 0, e.g. Xinerama. */
 
41
        unsigned int            x;
 
42
        unsigned int            y;
 
43
 
 
44
        tv_image_format         format;
 
45
} tv_overlay_buffer;
 
46
 
 
47
TV_END_DECLS
 
48
 
 
49
#endif /* __ZTV_OVERLAY_BUFFER_H__ */