Commit 1aa75767 authored by Hirokazu Honda's avatar Hirokazu Honda Committed by Commit Bot

media/gpu/test: Add "h264high" support

video_encode_accelerator_tests can specify h264 high for the
output profile. However, it doesn't support actually thanks to
the bug. This fixes the bug.

Bug: None
Test: video_encode_accelerator_tests --codec=h264high on eve
Change-Id: I62f87a708ed68f9f1a45a4b8a6ed490602fc5ede
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2269382Reviewed-by: default avatarDavid Staessens <dstaessens@chromium.org>
Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784211}
parent 2b8df0cb
......@@ -21,8 +21,11 @@ struct CodecParamToProfile {
const char* codec;
const VideoCodecProfile profile;
} kCodecParamToProfile[] = {
{"h264baseline", H264PROFILE_BASELINE}, {"h264", H264PROFILE_MAIN},
{"h264main", H264PROFILE_MAIN}, {"vp8", VP8PROFILE_ANY},
{"h264baseline", H264PROFILE_BASELINE},
{"h264", H264PROFILE_MAIN},
{"h264main", H264PROFILE_MAIN},
{"h264high", H264PROFILE_HIGH},
{"vp8", VP8PROFILE_ANY},
{"vp9", VP9PROFILE_PROFILE0},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment