Public Member Functions | |
virtual Status | enableOutputStream (OutputStream *stream)=0 |
Enables the specified output stream. More... | |
virtual Status | disableOutputStream (OutputStream *stream)=0 |
Disables the specified output stream. More... | |
virtual Status | clearOutputStreams ()=0 |
Disables all output streams. More... | |
virtual Status | enableInputStream (InputStream *stream, InputStreamSettings *streamSettings)=0 |
Enables the specified input stream and stream settings. More... | |
virtual Status | disableInputStream (InputStream *stream, InputStreamSettings *streamSettings)=0 |
Disables the specified input stream with the stream settings provided. More... | |
virtual Status | clearInputStreams ()=0 |
Disables all input streams. More... | |
virtual Status | getOutputStreams (std::vector< OutputStream * > *streams) const =0 |
Returns all enabled output streams. More... | |
virtual Status | getInputStreams (std::vector< InputStream * > *streams) const =0 |
Returns all enabled input streams. More... | |
virtual InterfaceProvider * | getStreamSettings (const OutputStream *stream)=0 |
Returns the Stream settings for a particular stream in the request. More... | |
virtual InterfaceProvider * | getAutoControlSettings (const AutoControlId acId=0)=0 |
Returns the capture control settings for a given AC. More... | |
virtual InterfaceProvider * | getSourceSettings ()=0 |
Returns the source settings for the request. More... | |
virtual Status | setClientData (uint32_t data)=0 |
Sets the client data for the request. More... | |
virtual uint32_t | getClientData () const =0 |
Gets the client data for the request. More... | |
virtual Status | setPixelFormatType (const PixelFormatType &pixelFormatType)=0 |
Set this if need 2 simultaneous outputs i.e. More... | |
virtual PixelFormatType | getPixelFormatType () const =0 |
Check if 2 simultaneous outputs are needed. More... | |
virtual Status | setCVOutput (const CVOutput &cvOutput)=0 |
Set the output port for RGBA output. More... | |
virtual CVOutput | getCVOutput () const =0 |
Get output port for RGBA output. More... | |
virtual Status | setEnableIspStage (bool enableIspStage)=0 |
Set this to false if o/p buffer is Bayer and ISP stage needs to be skipped. More... | |
virtual bool | getEnableIspStage () const =0 |
Check if ISP stage is enabled/disabled. More... | |
virtual Status | setReprocessingEnable (bool enable)=0 |
Set the flag to enable reprocessing mode for this request. More... | |
virtual Status | setMsbPadding (bool enableMsbPadding)=0 |
Set the flag to enable msb padding. More... | |
virtual bool | getMsbPadding () const =0 |
Check if msb padding is enabled/disabled. More... | |
Static Public Member Functions | |
static const InterfaceID & | id () |
Protected Member Functions | |
~IRequest () | |
|
pure virtual |
Disables all input streams.
|
pure virtual |
Disables all output streams.
|
pure virtual |
Disables the specified input stream with the stream settings provided.
|
pure virtual |
Disables the specified output stream.
|
pure virtual |
Enables the specified input stream and stream settings.
Captures made with this Request will produce input on that stream.
|
pure virtual |
Enables the specified output stream.
Captures made with this Request will produce output on that stream.
|
pure virtual |
Returns the capture control settings for a given AC.
The returned object will have the same lifespan as this object, and expose the IAutoControlSettings interface.
[in] | acId | The id of the AC component for which the settings are requested. (Currently unused) |
|
pure virtual |
Gets the client data for the request.
|
pure virtual |
Get output port for RGBA output.
|
pure virtual |
Check if ISP stage is enabled/disabled.
|
pure virtual |
Returns all enabled input streams.
[out] | streams | A vector that will be populated with the enabled input streams. |
|
pure virtual |
Check if msb padding is enabled/disabled.
|
pure virtual |
Returns all enabled output streams.
[out] | streams | A vector that will be populated with the enabled streams. |
|
pure virtual |
Check if 2 simultaneous outputs are needed.
|
pure virtual |
Returns the source settings for the request.
The returned object will have the same lifespan as this object, and expose the ISourceSettings interface.
|
pure virtual |
Returns the Stream settings for a particular stream in the request.
The returned object will have the same lifespan as this object, and expose the IStreamSettings interface.
[in] | stream | The stream for which the settings are requested. |
|
inlinestatic |
|
pure virtual |
Sets the client data for the request.
This value is passed through to and queryable from the CaptureMetadata generated for any captures completed using this Request. Default value is 0.
[in] | data | The client data. |
|
pure virtual |
Set the output port for RGBA output.
|
pure virtual |
Set this to false if o/p buffer is Bayer and ISP stage needs to be skipped.
|
pure virtual |
Set the flag to enable msb padding.
|
pure virtual |
Set this if need 2 simultaneous outputs i.e.
YUV and RGBA
|
pure virtual |
Set the flag to enable reprocessing mode for this request.