Add CQP for older intel iGPU's

This commit is contained in:
Loki
2021-07-24 19:33:23 +01:00
parent 844ba53f54
commit ab70a056fc
5 changed files with 31 additions and 43 deletions

View File

@@ -147,7 +147,6 @@ int coder_from_view(const std::string_view &coder) {
} // namespace amd
video_t video {
0, // crf
28, // qp
0, // hevc_mode
@@ -582,7 +581,6 @@ void apply_config(std::unordered_map<std::string, std::string> &&vars) {
std::cout << "["sv << name << "] -- ["sv << val << ']' << std::endl;
}
int_f(vars, "crf", video.crf);
int_f(vars, "qp", video.qp);
int_f(vars, "min_threads", video.min_threads);
int_between_f(vars, "hevc_mode", video.hevc_mode, { 0, 3 });