
Data Structures | |
| struct | quicktime_mjpeg_app1 |
| struct | demux_sys_t |
Defines | |
| #define | _LINUX_TIME_H |
| #define | CACHING_TEXT N_("Caching value in ms") |
| #define | CACHING_LONGTEXT |
| #define | VDEV_TEXT N_("Video device name") |
| #define | VDEV_LONGTEXT |
| #define | CHROMA_TEXT N_("Video input chroma format") |
| #define | CHROMA_LONGTEXT |
| #define | FREQUENCY_TEXT N_( "Frequency" ) |
| #define | FREQUENCY_LONGTEXT |
| #define | CHANNEL_TEXT N_( "Channel" ) |
| #define | CHANNEL_LONGTEXT |
| #define | NORM_TEXT N_( "Norm" ) |
| #define | NORM_LONGTEXT |
| #define | AUDIO_TEXT N_( "Audio Channel" ) |
| #define | AUDIO_LONGTEXT |
| #define | WIDTH_TEXT N_( "Width" ) |
| #define | WIDTH_LONGTEXT |
| #define | HEIGHT_TEXT N_( "Height" ) |
| #define | HEIGHT_LONGTEXT |
| #define | BRIGHTNESS_TEXT N_( "Brightness" ) |
| #define | BRIGHTNESS_LONGTEXT |
| #define | HUE_TEXT N_( "Hue" ) |
| #define | HUE_LONGTEXT |
| #define | COLOUR_TEXT N_( "Color" ) |
| #define | COLOUR_LONGTEXT |
| #define | CONTRAST_TEXT N_( "Contrast" ) |
| #define | CONTRAST_LONGTEXT |
| #define | TUNER_TEXT N_( "Tuner" ) |
| #define | TUNER_LONGTEXT N_( "Tuner to use, if there are several ones." ) |
| #define | MJPEG_TEXT N_( "MJPEG" ) |
| #define | MJPEG_LONGTEXT |
| #define | DECIMATION_TEXT N_( "Decimation" ) |
| #define | DECIMATION_LONGTEXT |
| #define | QUALITY_TEXT N_( "Quality" ) |
| #define | QUALITY_LONGTEXT N_( "Quality of the stream." ) |
| #define | FPS_TEXT N_( "Framerate" ) |
| #define | FPS_LONGTEXT |
| #define | AUDIO_DEPRECATED_ERROR |
| #define | V4L_DEFAULT "/dev/video" |
| #define | MJPEG_BUFFER_SIZE (256*1024) |
| #define | v4l1_close close |
| #define | v4l1_ioctl ioctl |
| #define | v4l1_mmap mmap |
| #define | v4l1_munmap munmap |
| #define | v4l1_open vlc_open |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int | Demux (demux_t *) |
| static int | Control (demux_t *, int, va_list) |
| static void | ParseMRL (demux_t *) |
| static int | OpenVideoDev (demux_t *, char *) |
| static block_t * | GrabVideo (demux_t *) |
| static uint8_t * | GrabCapture (demux_t *p_demux) |
| static uint8_t * | GrabMJPEG (demux_t *p_demux) |
Variables | |
| static const int | i_norm_list [] |
| static const char *const | psz_norm_list_text [] |
| struct { | |
| int i_v4l | |
| vlc_fourcc_t i_fourcc | |
| } | v4lchroma_to_fourcc [] |
| #define _LINUX_TIME_H |
| #define AUDIO_DEPRECATED_ERROR |
Value:
N_( \ "Alsa or OSS audio capture in the v4l access is deprecated. " \ "please use 'v4l:/""/ :input-slave=alsa:/""/' or " \ "'v4l:/""/ :input-slave=oss:/""/' instead." )
Referenced by ParseMRL().
| #define AUDIO_LONGTEXT |
Value:
N_( \ "Audio Channel to use, if there are several audio inputs." )
| #define AUDIO_TEXT N_( "Audio Channel" ) |
| #define BRIGHTNESS_LONGTEXT |
Value:
N_( \ "Brightness of the video input." )
| #define BRIGHTNESS_TEXT N_( "Brightness" ) |
| #define CACHING_LONGTEXT |
Value:
N_( \ "Caching value for V4L captures. This " \ "value should be set in milliseconds." )
| #define CACHING_TEXT N_("Caching value in ms") |
| #define CHANNEL_LONGTEXT |
Value:
N_( \ "Channel of the card to use (Usually, 0 = tuner, " \ "1 = composite, 2 = svideo)." )
| #define CHANNEL_TEXT N_( "Channel" ) |
| #define CHROMA_LONGTEXT |
Value:
N_( \ "Force the Video4Linux video device to use a specific chroma format " \ "(eg. I420 (default), RV24, etc.)")
| #define CHROMA_TEXT N_("Video input chroma format") |
| #define COLOUR_LONGTEXT |
Value:
N_( \ "Color of the video input." )
| #define COLOUR_TEXT N_( "Color" ) |
| #define CONTRAST_LONGTEXT |
Value:
N_( \ "Contrast of the video input." )
| #define CONTRAST_TEXT N_( "Contrast" ) |
| #define DECIMATION_LONGTEXT |
Value:
N_( \ "Decimation level for MJPEG streams" )
| #define DECIMATION_TEXT N_( "Decimation" ) |
| #define FPS_LONGTEXT |
Value:
N_( "Framerate to capture, if applicable " \ "(-1 for autodetect)." )
| #define FPS_TEXT N_( "Framerate" ) |
| #define FREQUENCY_LONGTEXT |
Value:
N_( \ "Frequency to capture (in kHz), if applicable." )
| #define FREQUENCY_TEXT N_( "Frequency" ) |
| #define HEIGHT_LONGTEXT |
Value:
N_( "Height of the stream to capture " \ "(-1 for autodetect)." )
| #define HEIGHT_TEXT N_( "Height" ) |
| #define HUE_LONGTEXT |
Value:
N_( \ "Hue of the video input." )
| #define HUE_TEXT N_( "Hue" ) |
| #define MJPEG_BUFFER_SIZE (256*1024) |
Referenced by OpenVideoDev().
| #define MJPEG_LONGTEXT |
Value:
N_( \ "Set this option if the capture device outputs MJPEG" )
| #define MJPEG_TEXT N_( "MJPEG" ) |
| #define NORM_LONGTEXT |
Value:
N_( \ "Norm of the stream (Automatic, SECAM, PAL, or NTSC)." )
| #define NORM_TEXT N_( "Norm" ) |
| #define QUALITY_LONGTEXT N_( "Quality of the stream." ) |
| #define QUALITY_TEXT N_( "Quality" ) |
| #define TUNER_LONGTEXT N_( "Tuner to use, if there are several ones." ) |
| #define TUNER_TEXT N_( "Tuner" ) |
| #define v4l1_close close |
Referenced by OpenVideoDev().
| #define v4l1_ioctl ioctl |
Referenced by GrabCapture(), GrabMJPEG(), and OpenVideoDev().
| #define v4l1_mmap mmap |
Referenced by OpenVideoDev().
| #define v4l1_munmap munmap |
| #define v4l1_open vlc_open |
Referenced by OpenVideoDev().
| #define V4L_DEFAULT "/dev/video" |
Referenced by ParseMRL().
| #define VDEV_LONGTEXT |
Value:
N_( \ "Name of the video device to use. " \ "If you don't specify anything, no video device will be used.")
| #define WIDTH_LONGTEXT |
Value:
N_( "Width of the stream to capture " \ "(-1 for autodetect)." )
| #define WIDTH_TEXT N_( "Width" ) |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int Control | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References DEMUX_CAN_CONTROL_PACE, DEMUX_CAN_PAUSE, DEMUX_CAN_SEEK, DEMUX_GET_PTS_DELAY, DEMUX_GET_TIME, mdate(), var_GetInteger, VLC_EGENERIC, and VLC_SUCCESS.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References es_out_Control(), es_out_Send(), ES_OUT_SET_PCR, GrabVideo(), block_t::i_pts, msleep, demux_t::out, demux_sys_t::p_es, and demux_t::p_sys.
| static uint8_t* GrabCapture | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::i_fd, demux_sys_t::i_frame_pos, msg_Dbg, msg_Err, demux_t::p_sys, demux_sys_t::p_video_mmap, v4l1_ioctl, demux_sys_t::vid_mbuf, demux_sys_t::vid_mmap, and vlc_object_alive.
Referenced by GrabVideo().
| static uint8_t* GrabMJPEG | ( | demux_t * | p_demux | ) | [static] |
References mjpeg_sync::frame, hton16, hton32, demux_sys_t::i_fd, quicktime_mjpeg_app1::i_field_size, demux_sys_t::i_frame_pos, quicktime_mjpeg_app1::i_next_field, quicktime_mjpeg_app1::i_padded_field_size, demux_sys_t::i_video_frame_size, mjpeg_sync::length, demux_sys_t::mjpeg_buffers, MJPIOC_QBUF_CAPT, MJPIOC_SYNC, msg_Err, demux_t::p_sys, demux_sys_t::p_video_mmap, mjpeg_requestbuffers::size, and v4l1_ioctl.
Referenced by GrabVideo().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static int OpenVideoDev | ( | demux_t * | p_demux, | |
| char * | psz_device | |||
| ) | [static] |
References mjpeg_params::APP_data, mjpeg_params::APP_len, mjpeg_params::APPn, demux_sys_t::b_mjpeg, mjpeg_requestbuffers::count, mjpeg_params::decimation, mjpeg_params::field_per_buff, mjpeg_params::HorDcm, hton32, i, demux_sys_t::i_audio, demux_sys_t::i_brightness, demux_sys_t::i_channel, i_chroma, demux_sys_t::i_colour, demux_sys_t::i_contrast, quicktime_mjpeg_app1::i_data_offset, demux_sys_t::i_decimation, quicktime_mjpeg_app1::i_DHT_offset, quicktime_mjpeg_app1::i_DQT_offset, quicktime_mjpeg_app1::i_field_size, i_fourcc, demux_sys_t::i_fourcc, demux_sys_t::i_frame_pos, demux_sys_t::i_frequency, demux_sys_t::i_height, demux_sys_t::i_hue, quicktime_mjpeg_app1::i_next_field, demux_sys_t::i_norm, quicktime_mjpeg_app1::i_padded_field_size, picture_t::i_planes, quicktime_mjpeg_app1::i_reserved, quicktime_mjpeg_app1::i_SOF_offset, quicktime_mjpeg_app1::i_SOS_offset, quicktime_mjpeg_app1::i_tag, demux_sys_t::i_tuner, i_v4l, demux_sys_t::i_video_frame_size, plane_t::i_visible_lines, plane_t::i_visible_pitch, demux_sys_t::i_width, mjpeg_params::img_height, mjpeg_params::img_width, mjpeg_params::input, JPEG_MARKER_DHT, JPEG_MARKER_DQT, mjpeg_params::jpeg_markers, MJPEG_BUFFER_SIZE, demux_sys_t::mjpeg_buffers, MJPIOC_G_PARAMS, MJPIOC_QBUF_CAPT, MJPIOC_REQBUFS, MJPIOC_S_PARAMS, msg_Dbg, msg_Err, msg_Warn, mjpeg_params::norm, picture_t::p, demux_t::p_sys, demux_sys_t::p_video_mmap, demux_sys_t::pic, picture_Setup(), mjpeg_requestbuffers::size, v4l1_close, v4l1_ioctl, v4l1_mmap, v4l1_open, v4lchroma_to_fourcc, var_CreateGetString, mjpeg_params::VerDcm, demux_sys_t::vid_cap, demux_sys_t::vid_mbuf, demux_sys_t::vid_mmap, demux_sys_t::vid_picture, VIDEO_ES, VLC_CODEC_MJPG, VLC_FOURCC, and vlc_fourcc_GetCodecFromString().
Referenced by FindMainDevice().
| static void ParseMRL | ( | demux_t * | p_demux | ) | [static] |
References AUDIO_DEPRECATED_ERROR, demux_sys_t::b_mjpeg, demux_sys_t::f_fps, demux_sys_t::i_audio, demux_sys_t::i_brightness, demux_sys_t::i_channel, demux_sys_t::i_colour, demux_sys_t::i_contrast, demux_sys_t::i_decimation, demux_sys_t::i_frequency, demux_sys_t::i_height, demux_sys_t::i_hue, demux_sys_t::i_norm, demux_sys_t::i_quality, demux_sys_t::i_tuner, demux_sys_t::i_width, msg_Dbg, msg_Err, msg_Warn, demux_t::p_sys, demux_sys_t::psz_device, demux_t::psz_path, strdup(), us_strtof(), and V4L_DEFAULT.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const int i_norm_list[] [static] |
Initial value:
{ VIDEO_MODE_AUTO, VIDEO_MODE_SECAM, VIDEO_MODE_PAL, VIDEO_MODE_NTSC }
| int i_v4l |
Referenced by OpenVideoDev().
const char* const psz_norm_list_text[] [static] |
struct { ... } v4lchroma_to_fourcc[] [static] |
Referenced by OpenVideoDev().
1.5.6