Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8301bebb authored by Akshata Sahukar's avatar Akshata Sahukar
Browse files

uapi: Introduce capture rate and CVP frame rate controls



Introduce V4L2_CID_MPEG_VIDC_CAPTURE_FRAME_RATE and
V4L2_CID_MPEG_VIDC_CVP_FRAME_RATE controls to indicate capture
frame rate and cvp frame rate respectively. Capture rate and CVP
frame rate are needed in deriving CVP skip ratio. While encoding
frames, firmware uses CVP skip ratio to scale CVP metadata from
earlier frames.

Change-Id: Iede53da9c31c2e7d187d1542903e6c8e2ed0979b
Signed-off-by: default avatarAkshata Sahukar <asahukar@codeaurora.org>
parent 3b501c04
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -988,6 +988,12 @@ enum v4l2_mpeg_vidc_video_hevc_max_hier_coding_layer {
#define V4L2_CID_MPEG_VIDC_SUPERFRAME \
	(V4L2_CID_MPEG_MSM_VIDC_BASE + 124)

#define V4L2_CID_MPEG_VIDC_CAPTURE_FRAME_RATE \
	(V4L2_CID_MPEG_MSM_VIDC_BASE + 125)

#define V4L2_CID_MPEG_VIDC_CVP_FRAME_RATE \
	(V4L2_CID_MPEG_MSM_VIDC_BASE + 126)

/*  Camera class control IDs */

#define V4L2_CID_CAMERA_CLASS_BASE	(V4L2_CTRL_CLASS_CAMERA | 0x900)