[vlc-commits] Revert "picture: add a commonly used plane_SwapUV function"
Steve Lhomme
git at videolan.org
Tue Feb 20 14:31:25 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 20 13:54:11 2018 +0100| [a617445d80b59852161a3df098aeea98d09b32dd] | committer: Steve Lhomme
Revert "picture: add a commonly used plane_SwapUV function"
This reverts commit c8f7552339f837cc1f1916179d7380a56726f46e.
Not needed anymore. Use picture_SwapUV().
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a617445d80b59852161a3df098aeea98d09b32dd
---
include/vlc_picture.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/include/vlc_picture.h b/include/vlc_picture.h
index 1499715066..5e8c6b4471 100644
--- a/include/vlc_picture.h
+++ b/include/vlc_picture.h
@@ -256,18 +256,6 @@ enum
#define A_PIXELS p[A_PLANE].p_pixels
#define A_PITCH p[A_PLANE].i_pitch
-
-/*****************************************************************************
- * plane helper funcions
- *****************************************************************************/
-
-static inline void plane_SwapUV(plane_t p[PICTURE_PLANE_MAX])
-{
- uint8_t *buf = p[V_PLANE].p_pixels;
- p[V_PLANE].p_pixels = p[U_PLANE].p_pixels;
- p[U_PLANE].p_pixels = buf;
-}
-
/**
* Swap UV planes of a Tri Planars picture.
*
More information about the vlc-commits
mailing list