Public Member Functions | Static Public Member Functions | Private Types | Private Attributes
vidl_dshow_istream_params_esf Class Reference

Param struct for DirectShow input streams using Euresys Source Filter. More...

#include <vidl_dshow_istream_params_esf.h>

List of all members.

Public Member Functions

 vidl_dshow_istream_params_esf ()
 Constructor - default.
void configure_filter (const CComPtr< IBaseFilter > &source)
 Configure the source filter based on the parameters.
vidl_dshow_istream_params_esfset_properties (const vcl_map< vcl_string, vcl_string > &props)
 Set properties from a map(string,value).
bool register_in_rot () const
bool run_when_ready () const
vcl_string save_graph_to () const
vcl_string device_name () const
vcl_string output_filename () const
GUID target_output_format () const
vidl_dshow_istream_params_esfset_register_in_rot (bool)
vidl_dshow_istream_params_esfset_run_when_ready (bool)
vidl_dshow_istream_params_esfset_save_graph_to (const vcl_string &)
vidl_dshow_istream_params_esfset_device_name (const vcl_string &)
vidl_dshow_istream_params_esfset_output_filename (const vcl_string &)
vidl_dshow_istream_params_esfset_target_output_format (GUID)
vidl_dshow_istream_params_esfset_video_standard (ESF_VIDEO_STANDARD, bool)
vidl_dshow_istream_params_esfset_resolution (ESF_RESOLUTION, long, long)
vidl_dshow_istream_params_esfset_capture_region_size (long, long)
vidl_dshow_istream_params_esfset_capture_region_pos (long, long)
vidl_dshow_istream_params_esfset_output_format (GUID)
vidl_dshow_istream_params_esfset_capture_rate (double)
vidl_dshow_istream_params_esfset_brightness (long)
vidl_dshow_istream_params_esfset_contrast (long)
vidl_dshow_istream_params_esfset_saturation (long)
vidl_dshow_istream_params_esfset_bitrate_control (ESF_BITRATECONTROL)
vidl_dshow_istream_params_esfset_average_bitrate (long)
vidl_dshow_istream_params_esfset_video_quality (long)
vidl_dshow_istream_params_esfset_gop_structure (ESF_GOPSTRUCTURE)
vidl_dshow_istream_params_esfset_gop_size (long)

Static Public Member Functions

static void print_parameter_help (const vcl_string &name)
 Print a list of parameters and proper value ranges.
static void print_parameter_help (const CComPtr< IBaseFilter > &filter)
 Print a list of parameters and proper value ranges.

Private Types

enum  esf_property {
  esf_property_video_standard = 0, esf_property_resolution, esf_property_capture_region_size, esf_property_capture_region_pos,
  esf_property_output_format, esf_property_capture_rate, esf_property_brightness, esf_property_contrast,
  esf_property_saturation, esf_property_bitrate_control, esf_property_average_bitrate, esf_property_video_quality,
  esf_property_gop_structure, esf_property_gop_size, esf_property_enum_size
}

Private Attributes

vcl_bitset
< esf_property_enum_size > 
is_property_changed_
 Flag param to be used in configure_filter.
bool register_in_rot_
 Enable remote graph viewing with GraphEdit.
bool run_when_ready_
 Immediately run graph after creating it, else wait for run command.
vcl_string save_graph_to_
 Write the filter graph to filename 'save_graph_to_'.
vcl_string device_name_
 Device name.
vcl_string output_filename_
 If non-empty create file writing section in the filter_graph.
GUID target_output_format_
 Target output format, as returned by current_frame.
ESF_VIDEO_STANDARD video_standard_
bool is_monochrome_
ESF_RESOLUTION resolution_
long width_
long height_
long capture_region_size_x_
long capture_region_size_y_
long capture_region_pos_x_
long capture_region_pos_y_
GUID output_format_
double capture_rate_
long brightness_
long contrast_
long saturation_
ESF_BITRATECONTROL bitrate_control_
long average_bitrate_
long video_quality_
ESF_GOPSTRUCTURE gop_structure_
long gop_size_

Detailed Description

Param struct for DirectShow input streams using Euresys Source Filter.

Enables the configuration of DirectShow Euresys source filters (IESFilter) through the IESFProperties and IESFCompression interfaces.

Example Usage:

   vidl_dshow_istream = vidl_dshow_istream(vidl_dshow_istream_params()
                                             .set_xxx(xxx));

Definition at line 36 of file vidl_dshow_istream_params_esf.h.


Member Enumeration Documentation

Enumerator:
esf_property_video_standard 
esf_property_resolution 
esf_property_capture_region_size 
esf_property_capture_region_pos 
esf_property_output_format 
esf_property_capture_rate 
esf_property_brightness 
esf_property_contrast 
esf_property_saturation 
esf_property_bitrate_control 
esf_property_average_bitrate 
esf_property_video_quality 
esf_property_gop_structure 
esf_property_gop_size 
esf_property_enum_size 

Definition at line 90 of file vidl_dshow_istream_params_esf.h.


Constructor & Destructor Documentation

vidl_dshow_istream_params_esf::vidl_dshow_istream_params_esf ( void  )

Constructor - default.

Definition at line 557 of file vidl_dshow_istream_params_esf.cxx.


Member Function Documentation

void vidl_dshow_istream_params_esf::configure_filter ( const CComPtr< IBaseFilter > &  source)

Configure the source filter based on the parameters.

Configure the filter based on the parameters.

Definition at line 565 of file vidl_dshow_istream_params_esf.cxx.

vcl_string vidl_dshow_istream_params_esf::device_name ( ) const [inline]

Definition at line 60 of file vidl_dshow_istream_params_esf.h.

vcl_string vidl_dshow_istream_params_esf::output_filename ( ) const [inline]

Definition at line 61 of file vidl_dshow_istream_params_esf.h.

void vidl_dshow_istream_params_esf::print_parameter_help ( const vcl_string &  name) [static]

Print a list of parameters and proper value ranges.

Definition at line 658 of file vidl_dshow_istream_params_esf.cxx.

void vidl_dshow_istream_params_esf::print_parameter_help ( const CComPtr< IBaseFilter > &  filter) [static]

Print a list of parameters and proper value ranges.

Definition at line 672 of file vidl_dshow_istream_params_esf.cxx.

bool vidl_dshow_istream_params_esf::register_in_rot ( ) const [inline]

Definition at line 57 of file vidl_dshow_istream_params_esf.h.

bool vidl_dshow_istream_params_esf::run_when_ready ( ) const [inline]

Definition at line 58 of file vidl_dshow_istream_params_esf.h.

vcl_string vidl_dshow_istream_params_esf::save_graph_to ( ) const [inline]

Definition at line 59 of file vidl_dshow_istream_params_esf.h.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_average_bitrate ( long  val)

Definition at line 985 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_bitrate_control ( ESF_BITRATECONTROL  val)

Definition at line 977 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_brightness ( long  val)

Definition at line 954 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_capture_rate ( double  val)

Definition at line 946 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_capture_region_pos ( long  val_x,
long  val_y 
)

Definition at line 929 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_capture_region_size ( long  val_x,
long  val_y 
)

Definition at line 920 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_contrast ( long  val)

Definition at line 961 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_device_name ( const vcl_string &  name)

Definition at line 878 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_gop_size ( long  val)

Definition at line 1009 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_gop_structure ( ESF_GOPSTRUCTURE  val)

Definition at line 1001 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_output_filename ( const vcl_string &  name)

Definition at line 885 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_output_format ( GUID  val)

Definition at line 938 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_properties ( const vcl_map< vcl_string, vcl_string > &  props)

Set properties from a map(string,value).

See also:
mul/mbl/mbl_read_props.h

Definition at line 746 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_register_in_rot ( bool  val)

Definition at line 857 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_resolution ( ESF_RESOLUTION  val,
long  width = 0,
long  height = 0 
)

Definition at line 909 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_run_when_ready ( bool  val)

Definition at line 864 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_saturation ( long  val)

Definition at line 969 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_save_graph_to ( const vcl_string &  name)

Definition at line 871 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_target_output_format ( GUID  val)

Definition at line 892 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_video_quality ( long  val)

Definition at line 993 of file vidl_dshow_istream_params_esf.cxx.

vidl_dshow_istream_params_esf & vidl_dshow_istream_params_esf::set_video_standard ( ESF_VIDEO_STANDARD  val,
bool  mono 
)

Definition at line 899 of file vidl_dshow_istream_params_esf.cxx.

GUID vidl_dshow_istream_params_esf::target_output_format ( ) const [inline]

Definition at line 62 of file vidl_dshow_istream_params_esf.h.


Member Data Documentation

Definition at line 148 of file vidl_dshow_istream_params_esf.h.

Definition at line 147 of file vidl_dshow_istream_params_esf.h.

Definition at line 142 of file vidl_dshow_istream_params_esf.h.

Definition at line 141 of file vidl_dshow_istream_params_esf.h.

Definition at line 138 of file vidl_dshow_istream_params_esf.h.

Definition at line 139 of file vidl_dshow_istream_params_esf.h.

Definition at line 136 of file vidl_dshow_istream_params_esf.h.

Definition at line 137 of file vidl_dshow_istream_params_esf.h.

Definition at line 143 of file vidl_dshow_istream_params_esf.h.

Device name.

Definition at line 122 of file vidl_dshow_istream_params_esf.h.

Definition at line 151 of file vidl_dshow_istream_params_esf.h.

Definition at line 150 of file vidl_dshow_istream_params_esf.h.

Definition at line 135 of file vidl_dshow_istream_params_esf.h.

Definition at line 132 of file vidl_dshow_istream_params_esf.h.

vcl_bitset<esf_property_enum_size> vidl_dshow_istream_params_esf::is_property_changed_ [private]

Flag param to be used in configure_filter.

Definition at line 110 of file vidl_dshow_istream_params_esf.h.

If non-empty create file writing section in the filter_graph.

Definition at line 125 of file vidl_dshow_istream_params_esf.h.

Definition at line 140 of file vidl_dshow_istream_params_esf.h.

Enable remote graph viewing with GraphEdit.

Definition at line 113 of file vidl_dshow_istream_params_esf.h.

Definition at line 133 of file vidl_dshow_istream_params_esf.h.

Immediately run graph after creating it, else wait for run command.

Definition at line 116 of file vidl_dshow_istream_params_esf.h.

Definition at line 144 of file vidl_dshow_istream_params_esf.h.

Write the filter graph to filename 'save_graph_to_'.

Definition at line 119 of file vidl_dshow_istream_params_esf.h.

Target output format, as returned by current_frame.

Definition at line 128 of file vidl_dshow_istream_params_esf.h.

Definition at line 149 of file vidl_dshow_istream_params_esf.h.

ESF_VIDEO_STANDARD vidl_dshow_istream_params_esf::video_standard_ [private]

Definition at line 131 of file vidl_dshow_istream_params_esf.h.

Definition at line 134 of file vidl_dshow_istream_params_esf.h.


The documentation for this class was generated from the following files: