linux icon indicating copy to clipboard operation
linux copied to clipboard

JPEG Control Reference in bcm2835-codec driver. Add control ID V4L2_CID_JPEG_RESTART_INTERVAL

Open bllem opened this issue 1 year ago • 0 comments

I added Image Process Control ID to be able to add RSTn markers to the generated JPEG file.

Tested on a live example. Example of use:

v4l2_control controls;
controls.id = V4L2_CID_JPEG_RESTART_INTERVAL;
controls.value = 100;
        
if(0 < ioctl(fd,  VIDIOC_S_CTRL, &controls)) {
    perror("Error  VIDIOC_S_EXT_CTRLS"); 
}

bllem avatar Jul 04 '24 18:07 bllem