[x264-devel] YUY2 to YUV420P with OpenGL ES 3.1
Chris Hiszpanski
chris at hiszpanski.name
Mon Mar 9 00:08:07 CET 2020
Done. For anyone interested, here's a compute shader for packed-to-planar conversion:
https://github.com/thinkski/coralvid/blob/master/src/yuyv_to_yuv420p.comp
Hard-coded for 720p, improvements welcome (GPL-2.0).
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, January 27, 2020 12:21 AM, Emily Bowman <silverbacknet at gmail.com> wrote:
> If you throw it up on a github, it'd probably get a few people who could use it, at least.
>
> ffmpeg's been working on a gpu replacement/enhancement of swscale for a long time, but in the meantime, bespoke solutions have to fill the gap.
>
> On Sun, Jan 26, 2020 at 10:37 PM Chris Hiszpanski <chris at hiszpanski.name> wrote:
>
> > > Colorspace conversion is a bit out of scope for libx264, since that's
> > > a very deep rabbit hole to go into.
> >
> > Makes sense, thanks.
> >
> > > Note that YUY2 (YUYV) input is natively supported for 4:2:2 encoding
> > > already, although afaik it only has SIMD on x86.
> >
> > Good to know. Yeah, not sure if it makes sense adding SIMD on ARM as
> > they're mostly used in relatively lower-powered embedded devices that
> > typically have hardware encoders (bizarre to me that i.MX8M does not),
> > and the SIMD instructions would barely achieve real-time frame rates._______________________________________________
> > x264-devel mailing list
> > x264-devel at videolan.org
> > https://mailman.videolan.org/listinfo/x264-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20200308/cbb873fb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 477 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20200308/cbb873fb/attachment.sig>
More information about the x264-devel
mailing list