Add a control V4L2_CID_MPEG_VIDEO_AVERAGE_QP to report the average QP value of the current encoded frame. The value applies to the last dequeued capture buffer.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -898,6 +898,8 @@ enum v4l2_mpeg_video_av1_level { · 897 unmodified lines | |||
| 898 | V4L2_MPEG_VIDEO_AV1_LEVEL_7_3 = 23 | 898 | V4L2_MPEG_VIDEO_AV1_LEVEL_7_3 = 23 |
| 899 | }; | 899 | }; |
| 900 | 900 | ||
| 901 | #define V4L2_CID_MPEG_VIDEO_AVERAGE_QP (V4L2_CID_CODEC_BASE + 657) | ||
| 902 | |||
| 901 | /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */ | 903 | /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */ |
| 902 | #define V4L2_CID_CODEC_CX2341X_BASE (V4L2_CTRL_CLASS_CODEC | 0x1000) | 904 | #define V4L2_CID_CODEC_CX2341X_BASE (V4L2_CTRL_CLASS_CODEC | 0x1000) |
| 903 | #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_CODEC_CX2341X_BASE+0) | 905 | #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_CODEC_CX2341X_BASE+0) |