android: camera_device: Generate template for Video
The capture request template for video recording use cases requires a fixed FPS range. Generate the request templates for the VIDEO_RECORD and VIDEO_SNAPSHOT capture intents using the preview template and updating the supported FPS range. This change fixes the CTS tests android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRecordingTemplate Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -99,6 +99,7 @@ private:
|
||||
void notifyShutter(uint32_t frameNumber, uint64_t timestamp);
|
||||
void notifyError(uint32_t frameNumber, camera3_stream_t *stream);
|
||||
CameraMetadata *requestTemplatePreview();
|
||||
CameraMetadata *requestTemplateVideo();
|
||||
libcamera::PixelFormat toPixelFormat(int format) const;
|
||||
int processControls(Camera3RequestDescriptor *descriptor);
|
||||
std::unique_ptr<CameraMetadata> getResultMetadata(
|
||||
|
||||
Reference in New Issue
Block a user