• Pin-chih Lin's avatar
    video_encode_accelerator: add initial_framerate to initial Config · fc7b5a87
    Pin-chih Lin authored
    Currently on VideoEncodeAccelerator::Initialize() deafult framerate is
    always used to initialize encoder. As we have profile and level of H.264
    encoding in initial Config, framerate should be also adjustable on
    initialization for the client to configure a supportable parameter set
    under the limit of of profile/level.
    
    BUG=871154
    TEST=build and deploy chrome on eve
    TEST=build and run video_encoder_accelerator_unittest on eve
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: Ifd6e33ada82d44c0e1b46f56856caeec9600e139
    Reviewed-on: https://chromium-review.googlesource.com/1163592Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
    Reviewed-by: default avatarPawel Osciak <posciak@chromium.org>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Commit-Queue: Pin-chih Lin <johnylin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#582510}
    fc7b5a87
video_encode_accelerator.h 10.8 KB