[x264-devel] [Git][videolan/x264][master] Fix high bit depth deinterleave of YUYV or UYVY

Anton Mitrofanov (@BugMaster) gitlab at videolan.org
Sat Jan 28 22:16:25 UTC 2023



Anton Mitrofanov pushed to branch master at VideoLAN / x264


Commits:
eaa68fad by Anton Mitrofanov at 2023-01-28T22:11:33+00:00
Fix high bit depth deinterleave of YUYV or UYVY

- - - - -


1 changed file:

- common/frame.c


Changes:

=====================================
common/frame.c
=====================================
@@ -413,7 +413,7 @@ int x264_frame_copy_picture( x264_t *h, x264_frame_t *dst, x264_picture_t *src )
     {
         int p = i_csp == X264_CSP_UYVY;
         h->mc.plane_copy_deinterleave_yuyv( dst->plane[p], dst->i_stride[p], dst->plane[p^1], dst->i_stride[p^1],
-                                            (pixel*)src->img.plane[0], src->img.i_stride[0], h->param.i_width, h->param.i_height );
+                                            (pixel*)src->img.plane[0], src->img.i_stride[0]/SIZEOF_PIXEL, h->param.i_width, h->param.i_height );
     }
     else if( i_csp == X264_CSP_V210 )
     {



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/eaa68fad9e5d201d42fde51665f2d137ae96baf0

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/eaa68fad9e5d201d42fde51665f2d137ae96baf0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the x264-devel mailing list