Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4943

Camera board • Re: HW Encoder V4l2 add support for intra refresh

$
0
0
I think understanding the exact definitions from V4l2 which type of intra refresh is nice but not exactly needed (In the end, those things are hw specific, and in my opinion, not possible to set vendor agnostic).
V4L2 is a platform agnostic API. If you implement anything, you do it against the spec.
Feel free to hack, but hacks won't get merged.
What I am wondering right now is how I can pass a message of type MMAL_PARAMETER_VIDEO_INTRA_REFRESH_T to mmal in the inux v4l2 driver if neither the struct is defined somewhere and the function definition for mmal_port_parameter_set is also slightly different (single param). Can you help me in this regard ?
https://github.com/raspberrypi/userland ... rs_video.h is the original MMAL parameter definitions, and those that V4L2 cares about have been translated to https://github.com/raspberrypi/linux/bl ... rameters.h.
Take an existing mapped one (eg struct MMAL_PARAMETER_VIDEO_PROFILE_T to struct mmal_parameter_video_profile, and it'll be fairly obvious what needs to happen.

Statistics: Posted by 6by9 — Wed Jan 24, 2024 4:48 pm



Viewing all articles
Browse latest Browse all 4943

Trending Articles