diff --git a/configure b/configure index 3c38a8c4101f38f173d33dd9ceff7f5944d54c4c..9aac7773b0cd9f70384d7c38b9850dff95e4d1f4 100755 --- a/configure +++ b/configure @@ -1597,7 +1597,7 @@ CONFIG_EXTRA=" nettle pixblockdsp qpeldsp - qsv + qsvdec rangecoder riffdec riffenc @@ -1828,7 +1828,7 @@ h263p_encoder_select="h263_encoder" h264_decoder_select="cabac golomb h264chroma h264dsp h264pred h264qpel startcode videodsp" h264_decoder_suggest="error_resilience" h264_qsv_decoder_deps="libmfx" -h264_qsv_decoder_select="h264_mp4toannexb_bsf h264_parser qsv h264_qsv_hwaccel" +h264_qsv_decoder_select="h264_mp4toannexb_bsf h264_parser qsvdec h264_qsv_hwaccel" hevc_decoder_select="bswapdsp cabac golomb videodsp" huffyuv_decoder_select="bswapdsp huffyuvdsp" huffyuv_encoder_select="bswapdsp huffman huffyuvencdsp" diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 71ebdb841f948b95430211167b17adadda978a2c..eafc86a8683201559e586f9d8e4b49d40f8663bd 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -80,7 +80,7 @@ OBJS-$(CONFIG_MPEGVIDEOENC) += mpegvideo_enc.o mpeg12data.o \ mpegvideoencdsp.o OBJS-$(CONFIG_PIXBLOCKDSP) += pixblockdsp.o OBJS-$(CONFIG_QPELDSP) += qpeldsp.o -OBJS-$(CONFIG_QSV) += qsv.o +OBJS-$(CONFIG_QSVDEC) += qsvdec.o OBJS-$(CONFIG_RANGECODER) += rangecoder.o RDFT-OBJS-$(CONFIG_HARDCODED_TABLES) += sin_tables.o OBJS-$(CONFIG_RDFT) += rdft.o $(RDFT-OBJS-yes) @@ -222,7 +222,7 @@ OBJS-$(CONFIG_H264_DECODER) += h264.o h264_cabac.o h264_cavlc.o \ h264_direct.o h264_loopfilter.o \ h264_mb.o h264_picture.o h264_ps.o \ h264_refs.o h264_sei.o h264_slice.o -OBJS-$(CONFIG_H264_QSV_DECODER) += qsv_h264.o +OBJS-$(CONFIG_H264_QSV_DECODER) += qsvdec_h264.o OBJS-$(CONFIG_HEVC_DECODER) += hevc.o hevc_mvs.o hevc_ps.o hevc_sei.o \ hevc_cabac.o hevc_refs.o hevcpred.o \ hevcdsp.o hevc_filter.o @@ -719,7 +719,7 @@ SKIPHEADERS += %_tablegen.h \ SKIPHEADERS-$(CONFIG_DXVA2) += dxva2.h dxva2_internal.h SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER) += libschroedinger.h SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h -SKIPHEADERS-$(CONFIG_QSV) += qsv.h qsv_internal.h +SKIPHEADERS-$(CONFIG_QSVDEC) += qsv.h qsvdec.h SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_internal.h SKIPHEADERS-$(CONFIG_VDA) += vda.h vda_internal.h SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h vdpau_internal.h diff --git a/libavcodec/qsv.c b/libavcodec/qsvdec.c similarity index 99% rename from libavcodec/qsv.c rename to libavcodec/qsvdec.c index eef060464789bea894e55711b356d20abc85e45d..03e31c5bc112aab253c52acfb64bef1ec4361800 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsvdec.c @@ -34,7 +34,7 @@ #include "avcodec.h" #include "internal.h" -#include "qsv_internal.h" +#include "qsvdec.h" int ff_qsv_error(int mfx_err) { diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsvdec.h similarity index 95% rename from libavcodec/qsv_internal.h rename to libavcodec/qsvdec.h index 8ab149a797152c43ea7f97de872990d599e15c07..d12fde28563feaeb63b3827342692e9b5f3e69e7 100644 --- a/libavcodec/qsv_internal.h +++ b/libavcodec/qsvdec.h @@ -20,8 +20,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef AVCODEC_QSV_INTERNAL_H -#define AVCODEC_QSV_INTERNAL_H +#ifndef AVCODEC_QSVDEC_H +#define AVCODEC_QSVDEC_H #include <stdint.h> #include <sys/types.h> @@ -83,4 +83,4 @@ int ff_qsv_decode(AVCodecContext *s, QSVContext *q, int ff_qsv_close(QSVContext *q); -#endif /* AVCODEC_QSV_INTERNAL_H */ +#endif /* AVCODEC_QSVDEC_H */ diff --git a/libavcodec/qsv_h264.c b/libavcodec/qsvdec_h264.c similarity index 99% rename from libavcodec/qsv_h264.c rename to libavcodec/qsvdec_h264.c index a482e9c326df11d4b0ac0c0c632c96c866513fa3..958ce70f9dbcead048bd15f28b26e81d4c3a37c0 100644 --- a/libavcodec/qsv_h264.c +++ b/libavcodec/qsvdec_h264.c @@ -33,7 +33,7 @@ #include "avcodec.h" #include "internal.h" -#include "qsv_internal.h" +#include "qsvdec.h" #include "qsv.h" typedef struct QSVH264Context {