Commit ff098171 authored by Felix Abecassis's avatar Felix Abecassis Committed by Jean-Baptiste Kempf

Move copy.{c,h} from module avcodec to module video_chroma.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 87763908
......@@ -263,7 +263,7 @@ endif
### avcodec hardware acceleration ###
libvaapi_plugin_la_SOURCES = \
codec/avcodec/copy.c codec/avcodec/copy.h \
video_chroma/copy.c video_chroma/copy.h \
codec/avcodec/vaapi.c
libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(LIBVA_CFLAGS) $(X_CFLAGS) $(AVCODEC_CFLAGS)
......@@ -273,7 +273,7 @@ codec_LTLIBRARIES += libvaapi_plugin.la
endif
libdxva2_plugin_la_SOURCES = \
codec/avcodec/copy.c codec/avcodec/copy.h \
video_chroma/copy.c video_chroma/copy.h \
codec/avcodec/dxva2.c
libdxva2_plugin_la_LIBADD = -lole32 -lshlwapi -luuid
if HAVE_AVCODEC_DXVA2
......@@ -281,7 +281,7 @@ codec_LTLIBRARIES += libdxva2_plugin.la
endif
libvda_plugin_la_SOURCES = \
codec/avcodec/copy.c codec/avcodec/copy.h \
video_chroma/copy.c video_chroma/copy.h \
codec/avcodec/vda.c
libvda_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS)
libvda_plugin_la_LDFLAGS = -Wl,-framework,CoreFoundation,-framework,VideoDecodeAcceleration,-framework,QuartzCore
......
......@@ -49,7 +49,7 @@
#include "avcodec.h"
#include "va.h"
#include "copy.h"
#include "../../video_chroma/copy.h"
static int Open(vlc_va_t *, int, const es_format_t *);
static void Close(vlc_va_t *);
......
......@@ -39,7 +39,7 @@
#include "avcodec.h"
#include "va.h"
#include "copy.h"
#include "../../video_chroma/copy.h"
#ifndef VA_SURFACE_ATTRIB_SETTABLE
#define vaCreateSurfaces(d, f, w, h, s, ns, a, na) \
......
......@@ -34,7 +34,7 @@
#include "avcodec.h"
#include "va.h"
#include "copy.h"
#include "../../video_chroma/copy.h"
#include <libavcodec/vda.h>
#include <VideoDecodeAcceleration/VDADecoder.h>
......
......@@ -21,8 +21,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _VLC_AVCODEC_COPY_H
#define _VLC_AVCODEC_COPY_H 1
#ifndef _VLC_VIDEOCHROMA_COPY_H
#define _VLC_VIDEOCHROMA_COPY_H 1
typedef struct {
# ifdef CAN_COMPILE_SSE2
......@@ -42,4 +42,3 @@ void CopyFromYv12(picture_t *dst, uint8_t *src[3], size_t src_pitch[3],
copy_cache_t *cache);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment