[FFmpeg-devel] qsv: question on CONFIG macros

Rogozhkin, Dmitry V dmitry.v.rogozhkin at intel.com
Fri Sep 4 18:57:38 EEST 2020


Hi,

Can someone, please, help to clarify:
1. Where CONFIG_QSV and CONFIG_LIBMFX gets defined (I don't see that in
the grep output - attached below)?
2. What's relationship between these 2? Which one should actually be
used? /from the first glance they are about the same.../

$ fgrep -rsn CONFIG_QSV
doc/examples/Makefile:16:EXAMPLES-
$(CONFIG_QSVDEC_EXAMPLE)            += qsvdec
fftools/ffmpeg.h:621:#if CONFIG_QSV
fftools/ffmpeg_opt.c:3772:#if CONFIG_QSV
libavcodec/Makefile:137:OBJS-$(CONFIG_QSV)                     += qsv.o
libavcodec/Makefile:138:OBJS-$(CONFIG_QSVDEC)                  +=
qsvdec.o
libavcodec/Makefile:139:OBJS-$(CONFIG_QSVENC)                  +=
qsvenc.o
libavcodec/Makefile:1184:SKIPHEADERS-$(CONFIG_QSV)              +=
qsv.h qsv_internal.h
libavcodec/Makefile:1185:SKIPHEADERS-$(CONFIG_QSVDEC)           +=
qsvdec.h
libavcodec/Makefile:1186:SKIPHEADERS-$(CONFIG_QSVENC)           +=
qsvenc.h
libavcodec/qsv_api.c:27:#if CONFIG_QSV
libavfilter/Makefile:28:OBJS-$(CONFIG_QSVVPP)                        += 
qsvvpp.o
libavfilter/Makefile:525:SKIPHEADERS-
$(CONFIG_QSVVPP)                 += qsvvpp.h
libavutil/Makefile:182:OBJS-$(CONFIG_QSV)                      +=
hwcontext_qsv.o
libavutil/Makefile:198:SKIPHEADERS-$(CONFIG_QSV)              +=
hwcontext_qsv.h
libavutil/hwcontext.c:47:#if CONFIG_QSV

$ fgrep -rsn CONFIG_LIBMFX
fftools/Makefile:13:OBJS-ffmpeg-$(CONFIG_LIBMFX)       +=
fftools/ffmpeg_qsv.o
fftools/ffmpeg_opt.c:138:#if CONFIG_LIBMFX
libavutil/hwcontext_opencl.c:49:#if CONFIG_LIBMFX
libavutil/hwcontext_opencl.c:2249:#if CONFIG_LIBMFX

Regards,
Dmitry.


More information about the ffmpeg-devel mailing list