mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-13 02:54:26 +08:00
feat: 支持高通 iris v4l2m2m 硬件编码器
- 新增高通平台检测,避免 Amlogic v4l2m2m 检测误判 - 对高通 Iris 编码器调整 GOP 和 capture buffers - 强制关键帧仅在高通 Iris 之外启用
This commit is contained in:
@@ -9,6 +9,9 @@ extern "C" {
|
||||
|
||||
namespace util_encode {
|
||||
|
||||
bool is_qcom_iris_platform();
|
||||
bool supports_forced_keyframe(const std::string &name);
|
||||
|
||||
void set_av_codec_ctx(AVCodecContext *c, const std::string &name, int kbs,
|
||||
int gop, int fps, int thread_count);
|
||||
bool set_lantency_free(void *priv_data, const std::string &name);
|
||||
|
||||
Reference in New Issue
Block a user