~ubuntu-branches/ubuntu/trusty/libdv/trusty

« back to all changes in this revision

Viewing changes to playdv/display.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-07-19 12:19:44 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040719121944-17vuryc01yeyx8hf
Tags: 0.103-2
* debian/rules: Provide separate doc directory for libdv4-dev.
* debian/libdv4-dev.links: No longer symlink doc dir to the one
  from libdv4.
* debian/NEWS: Only install into libdv4-dev. Closes: #259694

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *  codec.
9
9
 *
10
10
 *  libdv is free software; you can redistribute it and/or modify it
11
 
 *  under the terms of the GNU General Public License as published by
12
 
 *  the Free Software Foundation; either version 2, or (at your
 
11
 *  under the terms of the GNU Lesser Public License as published by
 
12
 *  the Free Software Foundation; either version 2.1, or (at your
13
13
 *  option) any later version.
14
14
 *   
15
15
 *  libdv is distributed in the hope that it will be useful, but
16
16
 *  WITHOUT ANY WARRANTY; without even the implied warranty of
17
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
 
 *  General Public License for more details.
 
18
 *  Lesser Public License for more details.
19
19
 *   
20
 
 *  You should have received a copy of the GNU General Public License
21
 
 *  along with GNU Make; see the file COPYING.  If not, write to
 
20
 *  You should have received a copy of the GNU Lesser Public License
 
21
 *  along with libdv; see the file COPYING.  If not, write to
22
22
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
23
23
 *
24
24
 *  The libdv homepage is http://libdv.sourceforge.net/.  
27
27
#ifndef DV_DISPLAY_H
28
28
#define DV_DISPLAY_H
29
29
 
30
 
#include <libdv/dv_types.h>
 
30
#if HAVE_CONFIG_H
 
31
# include <config.h>
 
32
#endif
 
33
 
 
34
#include "libdv/dv_types.h"
31
35
#include <gtk/gtk.h>
32
36
 
33
37
#if HAVE_LIBXV
50
54
#define DV_FOURCC_YV12  0x32315659      /* 4:2:0 Planar mode: Y + V + U  (3 planes) */
51
55
#define DV_FOURCC_YUY2  0x32595559      /* 4:2:2 Packed mode: Y0+U0+Y1+V0 (1 plane) */
52
56
 
 
57
#if HAVE_LIBXV
53
58
#define DV_DISPLAY_OPT_METHOD   0
54
59
#define DV_DISPLAY_OPT_ASPECT   1
55
60
#define DV_DISPLAY_OPT_SIZE     2
56
61
#define DV_DISPLAY_OPT_CALLBACK 3
57
62
#define DV_DISPLAY_OPT_XV_PORT  4
58
63
#define DV_DISPLAY_NUM_OPTS     5
 
64
#else 
 
65
#define DV_DISPLAY_OPT_METHOD   0
 
66
#define DV_DISPLAY_OPT_CALLBACK 1
 
67
#define DV_DISPLAY_NUM_OPTS     2
 
68
#endif /* HAVE_LIBXV */
59
69
 
60
70
typedef enum dv_dpy_lib_e {
61
71
  e_dv_dpy_Xv,