Public Member Functions | |
| STDMETHODIMP | QueryInterface (REFIID riid, void **ppv) |
| QueryInterface. | |
| STDMETHODIMP | Notify (IBaseFilter *pSender, Quality q) |
| Notify. Ignore quality management messages sent from the downstream filter. | |
| HRESULT STDMETHODCALLTYPE | SetFormat (AM_MEDIA_TYPE *pmt) |
| SetFormat. | |
| HRESULT STDMETHODCALLTYPE | GetFormat (AM_MEDIA_TYPE **ppmt) |
| GetFormat. | |
| HRESULT STDMETHODCALLTYPE | GetNumberOfCapabilities (int *piCount, int *piSize) |
| GetNumberOfCapabilities. | |
| HRESULT STDMETHODCALLTYPE | GetStreamCaps (int iIndex, AM_MEDIA_TYPE **pmt, BYTE *pSCC) |
| GetStreamCaps. | |
| HRESULT STDMETHODCALLTYPE | Set (REFGUID guidPropSet, DWORD dwID, void *pInstanceData, DWORD cbInstanceData, void *pPropData, DWORD cbPropData) |
| Set. | |
| HRESULT STDMETHODCALLTYPE | Get (REFGUID guidPropSet, DWORD dwPropID, void *pInstanceData, DWORD cbInstanceData, void *pPropData, DWORD cbPropData, DWORD *pcbReturned) |
| Get: Return the pin category (our only property). | |
| HRESULT STDMETHODCALLTYPE | QuerySupported (REFGUID guidPropSet, DWORD dwPropID, DWORD *pTypeSupport) |
| QuerySupported: Query whether the pin supports the specified property. | |
| PvDSStream (HRESULT *phr, PvDSSource *pParent, LPCWSTR pPinName) | |
| Constructor. | |
| ~PvDSStream () | |
| Destructor. | |
| HRESULT | FillBuffer (IMediaSample *pms) |
| Diagnostic for Hot pixel corrections. More... | |
| HRESULT | DecideBufferSize (IMemAllocator *pIMemAlloc, ALLOCATOR_PROPERTIES *pProperties) |
| This method is called after the pins are connected to allocate buffers to stream data. | |
| HRESULT | CheckMediaType (const CMediaType *pMediaType) |
| This method is called to see if a given output format is supported. | |
| HRESULT | GetMediaType (int iPosition, CMediaType *pMediaType) |
| See Directshow help topic for IAMStreamConfig for details on this method. | |
| HRESULT | SetMediaType (const CMediaType *pmt) |
| This is called when the output format has been negotiated. | |
| HRESULT | OnThreadCreate (void) |
| Called when graph is run. | |
| HRESULT | OnThreadDestroy (void) |
| Called when a graph is stopped. | |
| HRESULT | OnThreadStartPlay (void) |
| Called when a graph starts playing. | |
| HRESULT | StartAcquisition () |
| Starts image acquisition. | |
| HRESULT | StopAcquisition () |
| Stops image acquisition. | |
| HRESULT | Save (PvString &aContent, bool aBasic=false) |
| Saves the filter persistence data. More... | |
| HRESULT | Load (const PvString &aContent, bool aBasic=false) |
| Loads and applies the filter persistence data. More... | |
| HRESULT | LoadDefault () |
| Loads the default configuration from Registry. | |
| void | SyncFormat () |
| Attempts to sync the device image size with the filter/graph configuration. | |
| PvGenParameterArray * | GetSelectedParameters () |
| Returns the currently selected parameters, if available. | |
| void | CopyImageYUV (PvBuffer *aBuffer, BYTE *pData, bool aIsYUYV) |
| Copies an image into the DirectShow buffer. | |
| void | CopyImageRGB (PvBuffer *aBuffer, BYTE *pData, bool aEnableAdvanced) |
| Copies an image into the DirectShow buffer. | |
| void | DrawText (BYTE *pData, const std::wstring &aText) |
| Draws some text on the output buffer. | |
| void | OutputDiagnostics (BYTE *pData) |
| Writes diagnostics output on the buffer. | |
| IVideoInfoHeader * | AllocPVIFrom (const CMediaType *aMediaType) |
| Allocs a PVI from a specific media type. | |
| HRESULT | DisconnectDevice () |
| Disconnects device, stream. | |
| HRESULT | ConnectIfNeeded () |
| Connects to a GEV or U3V device (if needed) | |
| HRESULT | SetDiagnosticEnabled (bool aValue) |
| Sets whether diagnostic output on received images is enabled or not. | |
| HRESULT | SetDeviceID (const std::wstring &aValue) |
| Sets the device ID. | |
| HRESULT | GetSourceCount (int &aValue) |
| Returns the number of source available on the device. | |
| HRESULT | GetSourceName (int aIndex, std::wstring &aValue) |
| Returns the name of a source. | |
| HRESULT | SetSource (const std::wstring &aValue) |
| Sets the source. | |
| HRESULT | SetWidth (int aValue) |
| Changes the filter width. | |
| HRESULT | SetHeight (int aValue) |
| Changes the filter height. | |
| HRESULT | SetParametersSelector (int aValue) |
| Sets the current parameters selector. | |
| HRESULT | GetParametersAvailable (bool &aValue) const |
| Returns if a specific parameter array is available. | |
| HRESULT | GetParameterCount (int &aValue) |
| Returns the parameter count for the currently selected parameter array. | |
| HRESULT | GetParameterName (int aIndex, std::wstring &aValue) |
| Returns the name of the parameter at aIndex in the currently selected parameter array. | |
| HRESULT | GetParameterCategory (const std::wstring &aName, std::wstring &aValue) |
| Returns the category of the parameter at aIndex in the currently selected parameter array. | |
| HRESULT | GetParameterValue (const std::wstring &aName, std::wstring &aValue) |
| Returns the value of the parameter at aIndex in the currently selected parameter array. | |
| HRESULT | SetParameterValue (const std::wstring &aName, const std::wstring &aValue, std::wstring &aMessage) |
| Tries changing the value of the parameter at aIndex in the currently selected parameter array. | |
| HRESULT | GetParameterType (const std::wstring &aName, std::wstring &aType) |
| Returns a string representing the type of the parameter. | |
| HRESULT | GetParameterAccess (const std::wstring &aName, bool &aAvailable, bool &aReadable, bool &aWritable) |
| Returns the current access mode for a feature. | |
| HRESULT | ParameterExecute (const std::wstring &aName, std::wstring &aMessage) |
| Executes a parameter of the currently selected parameter array. | |
| HRESULT | GetParameterPossibleValueCount (const std::wstring &aName, int &aCount) |
| For a parameter of the currently selected parameter array, returns how many possible values there are (if applicable) | |
| HRESULT | GetParameterPossibleValue (const std::wstring &aName, int aIndex, std::wstring &aValue) |
| For a parameter of the currently selected parameter array, returns one of the possible values (if applicable) | |
| HRESULT | GetParameterVisibility (const std::wstring &aName, int &aVisibility) |
| Returns the visibility of a GenICam parameter. | |
| HRESULT | MakeDefault () |
| Makes the current basic configuration (mostly camera selection) default. | |
| HRESULT | ResetDefault () |
| Clears the default basic configuration. | |
| HRESULT | SetOutputPixelType (int aValue) |
| Sets the output pixel type. | |
| HRESULT | SetKernelSize (int aValue) |
| Sets the kernel size for hot pixel correction. | |
| HRESULT | SetZoomValue (int aZoomValue) |
| Sets the zoom value. | |
| HRESULT | GetOutputResolution (int &aWidth, int &aHeight) const |
| If zoom factor is greater than 1, get the output resolution. | |
| HRESULT | SetOutputResolution (int aWidth, int aHeight) |
| Sets the output resolution. | |
| void | CalculateResolutionsForZoom () |
| Calculate the resolutions to support zoom. | |
| HRESULT PvDSStream::FillBuffer | ( | IMediaSample * | pms | ) |
Diagnostic for Hot pixel corrections.
This is the routine where we create the data being output by the filter.
| HRESULT PvDSStream::Load | ( | const PvString & | aContent, |
| bool | aBasic = false |
||
| ) |
Loads and applies the filter persistence data.
A basic save does not retrieves the device + stream parameters.
| HRESULT PvDSStream::Save | ( | PvString & | aContent, |
| bool | aBasic = false |
||
| ) |
Saves the filter persistence data.
A basic save does not persist the device + stream parameters.
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com