|
ReactOS 0.4.17-dev-966-gf06eace
|


Go to the source code of this file.
Classes | |
| struct | strmbase_pin |
| struct | strmbase_pin_ops |
| struct | strmbase_source |
| struct | strmbase_source_ops |
| struct | strmbase_sink |
| struct | strmbase_sink_ops |
| struct | strmbase_filter |
| struct | strmbase_filter_ops |
| struct | SourceSeeking |
| struct | strmbase_passthrough |
| struct | strmbase_renderer |
| struct | strmbase_renderer_ops |
Typedefs | |
| typedef HRESULT(WINAPI * | BaseOutputPin_AttemptConnection) (struct strmbase_source *pin, IPin *peer, const AM_MEDIA_TYPE *mt) |
| typedef HRESULT(WINAPI * | BaseOutputPin_DecideBufferSize) (struct strmbase_source *pin, IMemAllocator *allocator, ALLOCATOR_PROPERTIES *props) |
| typedef HRESULT(WINAPI * | BaseOutputPin_DecideAllocator) (struct strmbase_source *pin, IMemInputPin *peer, IMemAllocator **allocator) |
| typedef HRESULT(WINAPI * | BaseInputPin_Receive) (struct strmbase_sink *This, IMediaSample *pSample) |
| typedef HRESULT(WINAPI * | SourceSeeking_ChangeRate) (IMediaSeeking *iface) |
| typedef HRESULT(WINAPI * | SourceSeeking_ChangeStart) (IMediaSeeking *iface) |
| typedef HRESULT(WINAPI * | SourceSeeking_ChangeStop) (IMediaSeeking *iface) |
| typedef struct SourceSeeking | SourceSeeking |
Enumerations | |
| enum | strmbase_type_id { IBasicAudio_tid , IBasicVideo_tid , IMediaControl_tid , IMediaEvent_tid , IMediaPosition_tid , IVideoWindow_tid , last_tid } |
| typedef HRESULT(WINAPI * BaseInputPin_Receive) (struct strmbase_sink *This, IMediaSample *pSample) |
Definition at line 116 of file strmbase.h.
| typedef HRESULT(WINAPI * BaseOutputPin_AttemptConnection) (struct strmbase_source *pin, IPin *peer, const AM_MEDIA_TYPE *mt) |
Definition at line 86 of file strmbase.h.
| typedef HRESULT(WINAPI * BaseOutputPin_DecideAllocator) (struct strmbase_source *pin, IMemInputPin *peer, IMemAllocator **allocator) |
Definition at line 88 of file strmbase.h.
| typedef HRESULT(WINAPI * BaseOutputPin_DecideBufferSize) (struct strmbase_source *pin, IMemAllocator *allocator, ALLOCATOR_PROPERTIES *props) |
Definition at line 87 of file strmbase.h.
| typedef struct SourceSeeking SourceSeeking |
| typedef HRESULT(WINAPI * SourceSeeking_ChangeRate) (IMediaSeeking *iface) |
Definition at line 181 of file strmbase.h.
| typedef HRESULT(WINAPI * SourceSeeking_ChangeStart) (IMediaSeeking *iface) |
Definition at line 182 of file strmbase.h.
| typedef HRESULT(WINAPI * SourceSeeking_ChangeStop) (IMediaSeeking *iface) |
Definition at line 183 of file strmbase.h.
| Enumerator | |
|---|---|
| IBasicAudio_tid | |
| IBasicVideo_tid | |
| IMediaControl_tid | |
| IMediaEvent_tid | |
| IMediaPosition_tid | |
| IVideoWindow_tid | |
| last_tid | |
Definition at line 223 of file strmbase.h.
| VOID WINAPI BaseFilterImpl_IncrementPinVersion | ( | struct strmbase_filter * | filter | ) |
Definition at line 512 of file filter.c.
Referenced by FileSource_Load().
| HRESULT WINAPI BaseOutputPinImpl_AttemptConnection | ( | struct strmbase_source * | pin, |
| IPin * | peer, | ||
| const AM_MEDIA_TYPE * | mt | ||
| ) |
Definition at line 710 of file pin.c.
Referenced by AviMuxOut_AttemptConnection().
| HRESULT WINAPI BaseOutputPinImpl_DecideAllocator | ( | struct strmbase_source * | pin, |
| IMemInputPin * | peer, | ||
| IMemAllocator ** | allocator | ||
| ) |
Definition at line 680 of file pin.c.
Referenced by AVICompressorOut_DecideAllocator().
| HRESULT WINAPI CopyMediaType | ( | AM_MEDIA_TYPE * | pDest, |
| const AM_MEDIA_TYPE * | pSrc | ||
| ) |
Definition at line 150 of file mediatype.c.
Referenced by acm_wrapper_sink_connect(), acm_wrapper_source_get_media_type(), AMStreamConfig_GetFormat(), audio_sink_ConnectionMediaType(), audio_sink_ReceiveConnection(), BaseOutputPinImpl_AttemptConnection(), configure_buffer(), CreateMediaType(), ddraw_IDirectDrawMediaStream_SetFormat(), ddraw_sink_ConnectionMediaType(), ddraw_sink_ReceiveConnection(), FileAsyncReaderPin_AttemptConnection(), FileSource_GetCurFile(), FileSource_Load(), fill_media_type(), pin_ConnectionMediaType(), sample_grabber_sink_get_media_type(), sample_grabber_source_get_media_type(), SampleGrabber_ISampleGrabber_GetConnectedMediaType(), SampleGrabber_ISampleGrabber_SetMediaType(), sink_get_media_type(), sink_ReceiveConnection(), source_get_media_type(), StdMediaSample2_GetMediaType(), StdMediaSample2_SetMediaType(), stream_config_GetFormat(), stream_config_SetFormat(), test_connect_pin(), testsink_get_media_type(), testsource_AttemptConnection(), testsource_get_media_type(), and TransformFilter_Output_GetMediaType().
| AM_MEDIA_TYPE *WINAPI CreateMediaType | ( | AM_MEDIA_TYPE const * | pSrc | ) |
Definition at line 176 of file mediatype.c.
|
inlinestatic |
Definition at line 32 of file strmbase.h.
Referenced by acm_wrapper_sink_Receive(), acm_wrapper_source_qc_Notify(), avi_decompressor_source_qc_Notify(), filter_Run(), get_write_pos(), image_presenter_PresentImage(), MediaFilter_Run(), MediaSeeking_GetCurrentPosition(), MediaSeeking_GetDuration(), MediaSeeking_GetStopPosition(), MediaSeeking_SetPositions(), perform_qos(), quality_control_Notify(), sink_NewSegment(), source_NewSegment(), SourceSeekingImpl_SetPositions(), StdMediaSample2_SetMediaTime(), StdMediaSample2_SetTime(), strmbase_dump_media_type(), SystemClockImpl_AdvisePeriodic(), SystemClockImpl_AdviseTime(), and SystemClockImpl_GetTime().
| void WINAPI DeleteMediaType | ( | AM_MEDIA_TYPE * | pMediaType | ) |
Definition at line 193 of file mediatype.c.
Referenced by BaseRenderer_Receive(), copy_sample(), enum_media_types_Next(), fnCaptureGraphBuilder2_RenderStream(), get_autoplug_types(), pin_has_majortype(), sample_grabber_sink_get_media_type(), sample_grabber_source_get_media_type(), source_Connect(), StdMediaSample2_Delete(), StdMediaSample2_Release(), StdMediaSample2_SetMediaType(), test_connect_pin(), test_streamselect(), and testsink_Receive().
| void WINAPI FreeMediaType | ( | AM_MEDIA_TYPE * | pMediaType | ) |
Definition at line 165 of file mediatype.c.
Referenced by acm_wrapper_destroy(), acm_wrapper_sink_connect(), async_reader_destroy(), audio_record_destroy(), audio_sink_Disconnect(), BaseOutputPinImpl_AttemptConnection(), configure_buffer(), ddraw_IDirectDrawMediaStream_SetFormat(), ddraw_sink_Disconnect(), DeleteMediaType(), enum_media_types_create(), enum_media_types_Reset(), FileAsyncReaderPin_AttemptConnection(), FileSource_Load(), find_splitter(), MediaDet_get_StreamType(), pin_EnumMediaTypes(), SampleGrabber_cleanup(), SampleGrabber_ISampleGrabber_SetMediaType(), sink_Disconnect(), source_Connect(), source_Disconnect(), strmbase_sink_cleanup(), strmbase_source_cleanup(), test_add_source_filter(), test_connect_pin(), test_put_filter(), test_streamselect(), testsink_connect(), testsource_AttemptConnection(), and TransformFilterImpl_Release().
| HRESULT WINAPI SourceSeekingImpl_CheckCapabilities | ( | IMediaSeeking * | iface, |
| DWORD * | pCapabilities | ||
| ) |
Definition at line 75 of file seeking.c.
| HRESULT WINAPI SourceSeekingImpl_ConvertTimeFormat | ( | IMediaSeeking * | iface, |
| LONGLONG * | pTarget, | ||
| const GUID * | pTargetFormat, | ||
| LONGLONG | Source, | ||
| const GUID * | pSourceFormat | ||
| ) |
Definition at line 186 of file seeking.c.
| HRESULT WINAPI SourceSeekingImpl_GetAvailable | ( | IMediaSeeking * | iface, |
| LONGLONG * | pEarliest, | ||
| LONGLONG * | pLatest | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetCapabilities | ( | IMediaSeeking * | iface, |
| DWORD * | pCapabilities | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetCurrentPosition | ( | IMediaSeeking * | iface, |
| LONGLONG * | pCurrent | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetDuration | ( | IMediaSeeking * | iface, |
| LONGLONG * | pDuration | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetPositions | ( | IMediaSeeking * | iface, |
| LONGLONG * | pCurrent, | ||
| LONGLONG * | pStop | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetPreroll | ( | IMediaSeeking * | iface, |
| LONGLONG * | pPreroll | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetRate | ( | IMediaSeeking * | iface, |
| double * | dRate | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetStopPosition | ( | IMediaSeeking * | iface, |
| LONGLONG * | pStop | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_GetTimeFormat | ( | IMediaSeeking * | iface, |
| GUID * | pFormat | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_IsFormatSupported | ( | IMediaSeeking * | iface, |
| const GUID * | pFormat | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_IsUsingTimeFormat | ( | IMediaSeeking * | iface, |
| const GUID * | pFormat | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_QueryPreferredFormat | ( | IMediaSeeking * | iface, |
| GUID * | pFormat | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_SetPositions | ( | IMediaSeeking * | iface, |
| LONGLONG * | pCurrent, | ||
| DWORD | dwCurrentFlags, | ||
| LONGLONG * | pStop, | ||
| DWORD | dwStopFlags | ||
| ) |
Definition at line 219 of file seeking.c.
| HRESULT WINAPI SourceSeekingImpl_SetRate | ( | IMediaSeeking * | iface, |
| double | dRate | ||
| ) |
| HRESULT WINAPI SourceSeekingImpl_SetTimeFormat | ( | IMediaSeeking * | iface, |
| const GUID * | pFormat | ||
| ) |
| void strmbase_dump_media_type | ( | const AM_MEDIA_TYPE * | mt | ) |
Definition at line 58 of file mediatype.c.
Referenced by AMStreamConfig_GetFormat(), AMStreamConfig_SetFormat(), BaseRenderer_Receive(), configure_buffer(), enum_media_types_Next(), filesinkfilter_SetFileName(), FileSource_Load(), FilterGraph2_ConnectDirect(), GraphConfig_Reconnect(), pin_ConnectionMediaType(), pin_QueryAccept(), SampleGrabber_ISampleGrabber_SetMediaType(), sink_ReceiveConnection(), source_Connect(), and stream_config_SetFormat().
| void strmbase_filter_cleanup | ( | struct strmbase_filter * | filter | ) |
Definition at line 540 of file filter.c.
Referenced by acm_wrapper_destroy(), async_reader_destroy(), audio_record_destroy(), avi_compressor_destroy(), avi_decompressor_destroy(), avi_mux_create(), avi_mux_destroy(), dsound_render_create(), dsound_render_destroy(), file_writer_destroy(), sample_grabber_destroy(), smart_tee_create(), smart_tee_destroy(), strmbase_renderer_cleanup(), testfilter_destroy(), testsink_destroy(), and vfw_capture_destroy().
| void strmbase_filter_init | ( | struct strmbase_filter * | filter, |
| IUnknown * | outer, | ||
| const CLSID * | clsid, | ||
| const struct strmbase_filter_ops * | func_table | ||
| ) |
Definition at line 517 of file filter.c.
Referenced by acm_wrapper_create(), async_reader_create(), audio_record_create(), avi_compressor_create(), avi_dec_create(), avi_mux_create(), dsound_render_create(), file_writer_create(), sample_grabber_create(), smart_tee_create(), strmbase_renderer_init(), testfilter_init(), testsink_init(), and vfw_capture_create().
| HRESULT strmbase_get_typeinfo | ( | enum strmbase_type_id | tid, |
| ITypeInfo ** | typeinfo | ||
| ) |
Definition at line 38 of file dispatch.c.
Referenced by BaseControlWindowImpl_GetIDsOfNames(), BaseControlWindowImpl_GetTypeInfo(), BaseControlWindowImpl_Invoke(), basic_audio_GetIDsOfNames(), basic_audio_GetTypeInfo(), basic_audio_Invoke(), basic_video_GetIDsOfNames(), basic_video_GetTypeInfo(), basic_video_Invoke(), BasicAudio_GetIDsOfNames(), BasicAudio_GetTypeInfo(), BasicAudio_Invoke(), BasicVideo_GetIDsOfNames(), BasicVideo_GetTypeInfo(), BasicVideo_Invoke(), MediaControl_GetIDsOfNames(), MediaControl_GetTypeInfo(), MediaControl_Invoke(), MediaEvent_GetIDsOfNames(), MediaEvent_GetTypeInfo(), MediaEvent_Invoke(), MediaPosition_GetIDsOfNames(), MediaPosition_GetTypeInfo(), MediaPosition_Invoke(), MediaPositionPassThru_GetIDsOfNames(), MediaPositionPassThru_GetTypeInfo(), MediaPositionPassThru_Invoke(), VideoWindow_GetIDsOfNames(), VideoWindow_GetTypeInfo(), and VideoWindow_Invoke().
| void strmbase_passthrough_cleanup | ( | struct strmbase_passthrough * | passthrough | ) |
Definition at line 738 of file pospass.c.
Referenced by acm_wrapper_destroy(), avi_decompressor_destroy(), dsound_render_destroy(), sample_grabber_destroy(), seeking_passthrough_Release(), and strmbase_renderer_cleanup().
| void strmbase_passthrough_eos | ( | struct strmbase_passthrough * | passthrough | ) |
Definition at line 759 of file pospass.c.
Referenced by sink_eos().
| void strmbase_passthrough_init | ( | struct strmbase_passthrough * | passthrough, |
| IUnknown * | outer | ||
| ) |
Definition at line 725 of file pospass.c.
Referenced by acm_wrapper_create(), avi_dec_create(), dsound_render_create(), sample_grabber_create(), seeking_passthrough_create(), and strmbase_renderer_init().
| void strmbase_passthrough_invalidate_time | ( | struct strmbase_passthrough * | passthrough | ) |
Definition at line 752 of file pospass.c.
Referenced by renderer_cleanup_stream(), and sink_end_flush().
| void strmbase_passthrough_update_time | ( | struct strmbase_passthrough * | passthrough, |
| REFERENCE_TIME | time | ||
| ) |
Definition at line 72 of file dispatch.c.
Referenced by DllMain().
| void strmbase_renderer_cleanup | ( | struct strmbase_renderer * | filter | ) |
Definition at line 568 of file renderer.c.
Referenced by null_renderer_destroy(), video_renderer_create(), video_renderer_destroy(), vmr7_create(), vmr9_create(), and vmr_destroy().
| void strmbase_renderer_init | ( | struct strmbase_renderer * | filter, |
| IUnknown * | outer, | ||
| const CLSID * | clsid, | ||
| const WCHAR * | sink_name, | ||
| const struct strmbase_renderer_ops * | ops | ||
| ) |
Definition at line 584 of file renderer.c.
Referenced by null_renderer_create(), video_renderer_create(), vmr7_create(), and vmr9_create().
| void strmbase_seeking_cleanup | ( | SourceSeeking * | seeking | ) |
| HRESULT strmbase_seeking_init | ( | SourceSeeking * | seeking, |
| const IMediaSeekingVtbl * | vtbl, | ||
| SourceSeeking_ChangeStop | fnChangeStop, | ||
| SourceSeeking_ChangeStart | fnChangeStart, | ||
| SourceSeeking_ChangeRate | fnChangeRate | ||
| ) |
Definition at line 31 of file seeking.c.
| void strmbase_sink_cleanup | ( | struct strmbase_sink * | pin | ) |
Definition at line 1185 of file pin.c.
Referenced by acm_wrapper_destroy(), avi_compressor_destroy(), avi_decompressor_destroy(), avi_mux_destroy(), create_input_pin(), dsound_render_destroy(), file_writer_destroy(), sample_grabber_destroy(), smart_tee_destroy(), strmbase_renderer_cleanup(), testfilter_destroy(), and testsink_destroy().
| void strmbase_sink_init | ( | struct strmbase_sink * | pin, |
| struct strmbase_filter * | filter, | ||
| const WCHAR * | name, | ||
| const struct strmbase_sink_ops * | ops, | ||
| IMemAllocator * | allocator | ||
| ) |
Definition at line 1168 of file pin.c.
Referenced by acm_wrapper_create(), avi_compressor_create(), avi_dec_create(), create_input_pin(), dsound_render_create(), file_writer_create(), sample_grabber_create(), smart_tee_create(), strmbase_renderer_init(), testfilter_init(), and testsink_init().
| void strmbase_source_cleanup | ( | struct strmbase_source * | pin | ) |
Definition at line 778 of file pin.c.
Referenced by acm_wrapper_destroy(), async_reader_destroy(), audio_record_destroy(), avi_compressor_destroy(), avi_decompressor_destroy(), avi_mux_create(), avi_mux_destroy(), sample_grabber_destroy(), smart_tee_destroy(), testfilter_destroy(), and vfw_capture_destroy().
| void strmbase_source_init | ( | struct strmbase_source * | pin, |
| struct strmbase_filter * | filter, | ||
| const WCHAR * | name, | ||
| const struct strmbase_source_ops * | func_table | ||
| ) |
Definition at line 765 of file pin.c.
Referenced by acm_wrapper_create(), audio_record_create(), avi_compressor_create(), avi_dec_create(), avi_mux_create(), FileSource_Load(), sample_grabber_create(), smart_tee_create(), testfilter_init(), and vfw_capture_create().