History

media: v4l2-ctrls: Add intra-refresh type control

Add a control to set intra-refresh type.

Dikshita Agarwal committed 4 years ago

Commit fcbc4ac1 parent ef152193 files · +36 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/v4l2-controls.h+5−0
@@ -449,6 +449,11 @@ enum v4l2_mpeg_video_multi_slice_mode { · 448 unmodified lines
449449 #define V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES (V4L2_CID_CODEC_BASE+234)
450450 #define V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR (V4L2_CID_CODEC_BASE+235)
451451 #define V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD (V4L2_CID_CODEC_BASE+236)
452+#define V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE (V4L2_CID_CODEC_BASE+237)
453+enum v4l2_mpeg_video_intra_refresh_period_type {
454+ V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_RANDOM = 0,
455+ V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_CYCLIC = 1,
456+};
452457
453458 /* CIDs for the MPEG-2 Part 2 (H.262) codec */
454459 #define V4L2_CID_MPEG_VIDEO_MPEG2_LEVEL (V4L2_CID_CODEC_BASE+270)