MCPcopy Create free account
hub / github.com/TzuHuanTai/RaspberryPi-WebRTC / EncoderConfig

Class EncoderConfig

src/codecs/frame_processor.h:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "common/v4l2_frame_buffer.h"
9
10struct 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
23struct ScalerConfig {
24 int src_width;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected