[FFmpeg-devel] [PATCH] libavutil/hwcontext_opencl.c: fix bug in `opencl_get_plane_format`
ruiling.song at intel.com
Mon Apr 8 04:15:36 EEST 2019
> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of
> Cld fire
> Sent: Monday, April 8, 2019 8:11 AM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_opencl.c: fix bug in
> > For P010, I guess that division needs to round up?
> Yep, rounding the division up did the trick; thanks!
> One last observation before I submit a new patch: I actually missed
> previously that the order number is still not lining up for the ARGB format
> (the order number that maps to ARGB in the code is currently 4123 while the
> new method using the offset and depth is ending up with an order number of
> 2341). Simply changing the order number that maps to ARGB from 4123 to 2341
> seems to work fine; is it okay to make that change or do the mapping
> numbers need to remain exactly the same?
I think we don't need to remain exact as before, you can update the case-values accordingly.
And 2341 seems correct for ARGB.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel