summaryrefslogtreecommitdiffstats
path: root/components/update_client
diff options
context:
space:
mode:
authorhenryhsu <henryhsu@chromium.org>2015-10-22 00:24:37 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-22 07:25:12 +0000
commit60050bad0730a58ea7c6c54c46e025f3770e6e5c (patch)
treee8d088304b2bcb38e4fba7dcd57858d191eb3e7e /components/update_client
parent8e435ab4888c1b7204a7aa10e3d2642a54468c42 (diff)
downloadchromium_src-60050bad0730a58ea7c6c54c46e025f3770e6e5c.zip
chromium_src-60050bad0730a58ea7c6c54c46e025f3770e6e5c.tar.gz
chromium_src-60050bad0730a58ea7c6c54c46e025f3770e6e5c.tar.bz2
Add source change event in V4L2 Jpeg decoder accelerator
Some platforms will generate different output subsampling formats with different input subsampling formats. Therefore, we enqueue input buffer first and then use S_FMT to get proper pixelformat and resolution of output buffer. Without pixelformat change event, we cannot know which buffer has format change when there are multiple buffers queued. When source change event is triggered, driver has stopped decoding. Client should dequeue event, dequeue all output buffers, and stop CAPTURE queue. Then the client should call S_FMT to set output pixelformat. If driver doesn't support the assigned pixelformat, driver should overwrite a supported format. Client has to call STREAMON on CAPTURE queue again to continue decoding. This commit also adds the support to convert the output format to I420 if the driver does not support I420. BUG=426383 TEST=apprtc without loopback, pass JDA unittests. Review URL: https://codereview.chromium.org/1279863006 Cr-Commit-Position: refs/heads/master@{#355507}
Diffstat (limited to 'components/update_client')
0 files changed, 0 insertions, 0 deletions