Reland "Android: Query encoder for supported pixel formats"
This is a reland of 0bd5cafd The original implementation would incorrectly try to use other pixel formats besides COLOR_FORMAT_YUV420_SEMIPLANAR and COLOR_FORMAT_YUV420_PLANAR Original change's description: > Test H264VideoEncodeAndValidate would fail on devices that don't > support COLOR_FORMAT_YUV420_SEMIPLANAR. This make it so the test > queries the encoder, and then take the color format from the > returned set. > > R=braveyao@chromium.org > > Bug: 860559 > Change-Id: I524a7e803e9781960a99308834bac4d361e0c442 > Reviewed-on: https://chromium-review.googlesource.com/1127469 > Reviewed-by: Weiyong Yao <braveyao@chromium.org> > Reviewed-by: John Rummell <jrummell@chromium.org> > Commit-Queue: Weiyong Yao <braveyao@chromium.org> > Cr-Commit-Position: refs/heads/master@{#573361} R=braveyao@chromium.org Bug: 860559 Change-Id: If2926cb692910fcd8672ddefcf0c4e45e5998e10 Reviewed-on: https://chromium-review.googlesource.com/1132342 Commit-Queue: Weiyong Yao <braveyao@chromium.org> Reviewed-by:Weiyong Yao <braveyao@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#574730}
Showing
Please register or sign in to comment