commit | dd7080ae434cf6f6b7a0e388b466ae7c7b6dbee1 | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@chromium.org> | Fri Oct 12 10:04:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 12 10:04:23 2018 |
tree | 5e736684085bd88625df25c60cd61d7864fd147f | |
parent | 9b00f3499c1dc74c8e0419384a69f041ebcd2442 [diff] |
media/gpu/VEA unittest: Enable VEAs to test with any yuv format stream VEA unittest is only able to test I420 format input file. This enables it to test any yuv format stream. NV12, NV12 and YV21 formated raw videos are created by following commands. $ ffmpeg -s 320x192 -i bear_320x192_40frames.yuv -pix_fmt nv12 bear_320x192_40frames.nv12.yuv $ ffmpeg -s 320x192 -i bear_320x192_40frames.yuv -pix_fmt nv21 bear_320x192_40frames.nv21.yuv $ ffmpeg -s 320x192 -i bear_320x192_40frames.yuv -pix_fmt yuv420p -vf shuffleplanes=0:2:1 bear_320x192_40frames.yv12.yuv BUG=chromium:894381 TEST=[kevin] ./video_encode_accelerator_unittest --test_stream_data=bear_320x192_40frames.nv12.yuv:320:192:1:bear.out:200000:30:::6 --ozone-platform=gbm 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: I8a6b142671fc0532ba872f7eff966d43a2848ad9 Reviewed-on: https://chromium-review.googlesource.com/c/1135106 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Kuang-che Wu <kcwu@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#599158}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .