LiVES
1.6.4-svn
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
src
lives-yuv4mpeg.h
Go to the documentation of this file.
1
// yuv4mpeg.h
2
// LiVES (lives-exe)
3
// (c) G. Finch 2004 - 2010
4
// released under the GNU GPL 3 or later
5
// see file ../COPYING or www.gnu.org for licensing details
6
7
8
#ifndef YUV4MPEG_H
9
#define YUV4MPEG_H
10
11
#include <yuv4mpeg.h>
12
13
#define YUV4_TYPE_GENERIC 0
14
#define YUV4_TYPE_FW 1
15
#define YUV4_TYPE_TV 2
16
17
18
typedef
struct
{
19
gint
type
;
20
gint
cardno
;
21
y4m_stream_info_t
streaminfo
;
22
y4m_frame_info_t
frameinfo
;
23
y4m_ratio_t
sar
;
24
y4m_ratio_t
dar
;
25
gchar *
name
;
26
gchar *
filename
;
27
int
fd
;
28
gint
hsize
;
29
gint
vsize
;
30
void
**
pixel_data
;
31
gboolean
ready
;
32
}
lives_yuv4m_t
;
33
34
void
weed_layer_set_from_yuv4m
(weed_plant_t *layer,
file
*);
35
36
// callbacks
37
void
on_open_yuv4m_activate
(GtkMenuItem *, gpointer);
38
void
on_live_tvcard_activate
(GtkMenuItem *, gpointer);
39
void
on_live_fw_activate
(GtkMenuItem *, gpointer);
40
41
void
lives_yuv_stream_stop_read
(
lives_yuv4m_t
*);
42
43
45
gboolean
lives_yuv_stream_start_write
(
lives_yuv4m_t
*,
const
gchar *filename, gint hsize, gint vsize, gdouble fps);
46
gboolean
lives_yuv_stream_write_frame
(
lives_yuv4m_t
*,
void
*pixel_data);
47
void
lives_yuv_stream_stop_write
(
lives_yuv4m_t
*);
48
49
50
typedef
struct
{
51
GtkWidget *
dialog
;
52
GtkWidget *
card_spin
;
53
GtkWidget *
channel_spin
;
54
}
lives_card_w
;
55
56
57
58
59
#endif
60
61
Generated on Mon Apr 29 2013 18:34:11 for LiVES by
1.8.1.1