| 8 | #include "common/v4l2_frame_buffer.h" |
| 9 | |
| 10 | struct EncoderConfig { |
| 11 | int width; |
| 12 | int height; |
| 13 | int fps = 30; |
| 14 | int bitrate = 2 * 1024 * 1024; |
| 15 | int keyframe_interval = 600; |
| 16 | int idr_interval = 256; |
| 17 | bool is_dma_src = false; |
| 18 | uint32_t src_pix_fmt = 0; |
| 19 | uint32_t dst_pix_fmt = 0; |
| 20 | v4l2_mpeg_video_bitrate_mode rc_mode = V4L2_MPEG_VIDEO_BITRATE_MODE_CBR; |
| 21 | }; |
| 22 | |
| 23 | struct ScalerConfig { |
| 24 | int src_width; |
nothing calls this directly
no outgoing calls
no test coverage detected