• Dean Liao's avatar
    media/gpu: Use VideoFrameLayout in V4L2ImageProcessor. · e1d1f67d
    Dean Liao authored
    Use VideoFrameLayout to store negotiated input/output format,
    coded_size and buffer layout obtained from S_FMT command.
    
    BUG=b:110815424,b:73752373
    TEST=Run VEA VDA unittest on devices (peach_pit and elm)
    VEA:
    video_encode_accelerator_unittest \
    --test_stream_data=bear-320x180.yuv:320:180:1:bear.mp4:100000:30 \
    --disable_flush --single-process-tests -v=0
    
    VDA:
    video_decode_accelerator_unittest \
    --test_stream_data=/usr/local/video/test-25fps.h264:320:240:250:258:\
    35:150:1 -v=0 --disable_flush --single-process-tests --ozone-platform=gbm
    
    Change-Id: If708cb66c5f33cb16ad8599339999a3aac9fcd47
    Reviewed-on: https://chromium-review.googlesource.com/c/1340440
    Commit-Queue: Shuo-Peng Liao <deanliao@google.com>
    Reviewed-by: default avatarAlexandre Courbot <acourbot@chromium.org>
    Reviewed-by: default avatarHirokazu Honda <hiroh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609211}
    e1d1f67d
v4l2_video_encode_accelerator.cc 50.7 KB