LiVES
3.2.0
|
#include <yuv4mpeg.h>
Go to the source code of this file.
Data Structures | |
struct | lives_yuv4m_t |
struct | lives_card_w |
Macros | |
#define | YUV4_TYPE_GENERIC 0 |
#define | YUV4_TYPE_FW 1 |
#define | YUV4_TYPE_TV 2 |
Functions | |
void | weed_layer_set_from_yuv4m (weed_layer_t *layer, lives_clip_t *) |
void | on_open_yuv4m_activate (LiVESMenuItem *, livespointer) |
void | on_live_tvcard_activate (LiVESMenuItem *, livespointer) |
add live input peripherals More... | |
void | on_live_fw_activate (LiVESMenuItem *, livespointer) |
void | lives_yuv_stream_stop_read (lives_yuv4m_t *) |
boolean | lives_yuv_stream_start_write (lives_yuv4m_t *, const char *filename, int hsize, int vsize, double fps) |
not used More... | |
boolean | lives_yuv_stream_write_frame (lives_yuv4m_t *, void *pixel_data) |
void | lives_yuv_stream_stop_write (lives_yuv4m_t *) |
#define YUV4_TYPE_FW 1 |
Definition at line 14 of file lives-yuv4mpeg.h.
#define YUV4_TYPE_GENERIC 0 |
Definition at line 13 of file lives-yuv4mpeg.h.
#define YUV4_TYPE_TV 2 |
Definition at line 15 of file lives-yuv4mpeg.h.
boolean lives_yuv_stream_start_write | ( | lives_yuv4m_t * | , |
const char * | filename, | ||
int | hsize, | ||
int | vsize, | ||
double | fps | ||
) |
not used
Definition at line 457 of file lives-yuv4mpeg.c.
void lives_yuv_stream_stop_read | ( | lives_yuv4m_t * | ) |
Definition at line 233 of file lives-yuv4mpeg.c.
Referenced by close_current_file().
void lives_yuv_stream_stop_write | ( | lives_yuv4m_t * | ) |
Definition at line 509 of file lives-yuv4mpeg.c.
boolean lives_yuv_stream_write_frame | ( | lives_yuv4m_t * | , |
void * | pixel_data | ||
) |
Definition at line 491 of file lives-yuv4mpeg.c.
void on_live_fw_activate | ( | LiVESMenuItem * | , |
livespointer | |||
) |
Definition at line 683 of file lives-yuv4mpeg.c.
void on_live_tvcard_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
add live input peripherals
some time in the future it would be nice to implement these via videojack
advantages would be: - no longer necessary to have mjpegtools
for each of these functions:
check if device already opened, if so exit
create clip with default values; clip type is YUV4MPEG
create a fifo file set mplayer reading from device and writing yuv4mpeg
start reading - update clip values
note: we add the clip to the menu and to mainw->cliplist beware when handling mainw->cliplist
Definition at line 541 of file lives-yuv4mpeg.c.
void on_open_yuv4m_activate | ( | LiVESMenuItem * | , |
livespointer | |||
) |
Definition at line 353 of file lives-yuv4mpeg.c.
void weed_layer_set_from_yuv4m | ( | weed_layer_t * | layer, |
lives_clip_t * | |||
) |
Definition at line 253 of file lives-yuv4mpeg.c.