[vlc-commits] Revert "picture: add a commonly used plane_SwapUV function"

Steve Lhomme git at videolan.org
Tue Feb 20 14:01:43 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 20 13:54:11 2018 +0100| [5f86f546fc0845cea88c4b1caaf7fd2ec594ab49] | 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=5f86f546fc0845cea88c4b1caaf7fd2ec594ab49
---

 include/vlc_picture.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/include/vlc_picture.h b/include/vlc_picture.h
index 1ab8fef14f..74f156fbbd 100644
--- a/include/vlc_picture.h
+++ b/include/vlc_picture.h
@@ -254,18 +254,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;
-}
-
 /**@}*/
 
 #endif /* VLC_PICTURE_H */



More information about the vlc-commits mailing list