Hello Experts,
I would like to know what VIDIOC_S_FMT is doing exactly ?
Is it doing any scaling the images ?
This question came to my mind once I referred the below link.

linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/crop . html

I have a camera which doesn't do and/or support scaling the images.

So is it necessary to use VIDIOC_CROPCAP before VIDIOC_S_FMT ioctl call ?

When I need to use or purpose of the VIDIOC_CROPCAP and VIDIOC_S_FMT ioctl calls ?

Thanks for the help.