• Miguel Casas-Sanchez's avatar
    vaapi: start adding vaapi_video_decode_accelerator_unittest · 8bfb33e8
    Miguel Casas-Sanchez authored
    This CL adds a new file vaapi_video_decode_accelerator_unittest
    and adds it to media_unittests when use_vaapi is true. The new
    file is then compiled as part of the top level chromiumos_preflight
    group (in particular by chromeos_amd64-generic_chromium_compile_only_ng),
    and also in the linux_chromium_chromeos_ bots.
    
    This CL also adds a few test cases, dealing mostly with the interaction
    of input buffers and the VaVDA's internal |decoder_|. (More tests
    to come).
    
    Note that: vaapi_..._unittest needs vaapi to be compiled but not
    to be run.
    
    Bug: 717265
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: I4b8768e79401170269190292ebf18ef616adb1f8
    Reviewed-on: https://chromium-review.googlesource.com/753756
    Commit-Queue: Daniele Castagna <dcastagna@chromium.org>
    Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
    Reviewed-by: default avatarFredrik Hubinette <hubbe@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#515477}
    8bfb33e8
BUILD.gn 15.7 KB