File tree 2 files changed +23
-1
lines changed
drivers/staging/vc04_services/bcm2835-camera 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 13
13
* core driver device
14
14
*/
15
15
16
- #define V4L2_CTRL_COUNT 29 /* number of v4l controls */
16
+ #define V4L2_CTRL_COUNT 31 /* number of v4l controls */
17
17
18
18
enum {
19
19
COMP_CAMERA = 0 ,
Original file line number Diff line number Diff line change @@ -1270,6 +1270,28 @@ static const struct bm2835_mmal_v4l2_ctrl v4l2_ctrls[V4L2_CTRL_COUNT] = {
1270
1270
.mmal_id = MMAL_PARAMETER_INTRAPERIOD ,
1271
1271
.setter = ctrl_set_video_encode_param_output ,
1272
1272
},
1273
+ {
1274
+ .id = V4L2_CID_MPEG_VIDEO_H264_MIN_QP ,
1275
+ .type = MMAL_CONTROL_TYPE_STD ,
1276
+ .min = 0 ,
1277
+ .max = 40 ,
1278
+ .def = 0 ,
1279
+ .step = 1 ,
1280
+ .imenu = NULL ,
1281
+ .mmal_id = MMAL_PARAMETER_VIDEO_ENCODE_MIN_QUANT ,
1282
+ .setter = ctrl_set_video_encode_param_output ,
1283
+ },
1284
+ {
1285
+ .id = V4L2_CID_MPEG_VIDEO_H264_MAX_QP ,
1286
+ .type = MMAL_CONTROL_TYPE_STD ,
1287
+ .min = 0 ,
1288
+ .max = 40 ,
1289
+ .def = 0 ,
1290
+ .step = 1 ,
1291
+ .imenu = NULL ,
1292
+ .mmal_id = MMAL_PARAMETER_VIDEO_ENCODE_MAX_QUANT ,
1293
+ .setter = ctrl_set_video_encode_param_output ,
1294
+ },
1273
1295
};
1274
1296
1275
1297
int bm2835_mmal_set_all_camera_controls (struct bm2835_mmal_dev * dev )
You can’t perform that action at this time.
0 commit comments