This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 5996a9ad3d49e167b0470b46d78dd7aee0364f09 Author: Lynne <[email protected]> AuthorDate: Fri Jan 2 06:55:50 2026 +0100 Commit: Lynne <[email protected]> CommitDate: Mon Jan 12 17:28:40 2026 +0100 configure: rename PTX_COMPRESSION to SHADER_COMPRESSION Its useful for GLSL and Metal as well. --- configure | 8 ++++---- ffbuild/common.mak | 2 +- libavfilter/cuda/load_helper.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 4f848bc633..11a79f7d7f 100755 --- a/configure +++ b/configure @@ -533,7 +533,7 @@ Developer options (useful when working on FFmpeg itself): --enable-linux-perf enable Linux Performance Monitor API --enable-macos-kperf enable macOS kperf (private) API --disable-large-tests disable tests that use a large amount of memory - --disable-ptx-compression don't compress CUDA PTX code even when possible + --disable-shader-compression don't compress shader code even when possible --disable-resource-compression don't compress resources even when possible --disable-version-tracking don't include the git/release version in the build @@ -2205,7 +2205,7 @@ CONFIG_LIST=" neon_clobber_test ossfuzz pic - ptx_compression + shader_compression resource_compression thumb valgrind_backtrace @@ -4345,7 +4345,7 @@ enable faan faandct faanidct enable iamf enable large_tests enable optimizations -enable ptx_compression +enable shader_compression enable resource_compression enable runtime_cpudetect enable safe_bitstream_reader @@ -7137,7 +7137,7 @@ EOF [ -x "$(command -v gzip)" ] && enable gzip -enabled zlib_gzip && enabled gzip || disable ptx_compression +enabled zlib_gzip && enabled gzip || disable shader_compression enabled zlib_gzip && enabled gzip || disable resource_compression diff --git a/ffbuild/common.mak b/ffbuild/common.mak index 6e4a4ff097..ccf42b9fd1 100644 --- a/ffbuild/common.mak +++ b/ffbuild/common.mak @@ -149,7 +149,7 @@ RUN_MINIFY = $(M)sed 's!/\\*.*\\*/!!g' $< | tr '\n' ' ' | tr -s ' ' | sed 's/^ / %.ptx: %.cu $(SRC_PATH)/compat/cuda/cuda_runtime.h $(COMPILE_NVCC) -ifdef CONFIG_PTX_COMPRESSION +ifdef CONFIG_SHADER_COMPRESSION %.ptx.gz: %.ptx $(RUN_GZIP) diff --git a/libavfilter/cuda/load_helper.c b/libavfilter/cuda/load_helper.c index b049ec7130..115523d642 100644 --- a/libavfilter/cuda/load_helper.c +++ b/libavfilter/cuda/load_helper.c @@ -23,7 +23,7 @@ #include "libavutil/cuda_check.h" #include "libavutil/mem.h" -#if CONFIG_PTX_COMPRESSION +#if CONFIG_SHADER_COMPRESSION #include <zlib.h> #define CHUNK_SIZE 1024 * 64 #endif @@ -37,7 +37,7 @@ int ff_cuda_load_module(void *avctx, AVCUDADeviceContext *hwctx, CUmodule *cu_mo { CudaFunctions *cu = hwctx->internal->cuda_dl; -#if CONFIG_PTX_COMPRESSION +#if CONFIG_SHADER_COMPRESSION z_stream stream = { 0 }; uint8_t *buf, *tmp; uint64_t buf_size; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
