From patchwork Thu Jan 25 13:43:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 35044 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:8888:b0:199:de12:6fa6 with SMTP id d8csp80377pzf; Thu, 25 Jan 2024 05:44:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAWOzNvf9Zwv+wx4BdYN6oaOyPWcyWOJ2KQik4l7XSsiR1pXv3Udw31H4iBRpiL8berl0v X-Received: by 2002:aa7:c895:0:b0:55c:c8af:d9d9 with SMTP id p21-20020aa7c895000000b0055cc8afd9d9mr641879eds.8.1706190285206; Thu, 25 Jan 2024 05:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706190285; cv=none; d=google.com; s=arc-20160816; b=YVUtmCbKUsbcEtLxzt4nZ79fo+vX+xHFQHzxVg87Mgty6cgKzsu/wQN4tjjpD1SHm0 98GQcF0enkng3X676MyJ7TuDmh4M20WZtU2JUrb4RTKT5x8q+CBJteXEUOH+YBXGenpO 0s+pzlx4E4eJIHjTsA1piToPIx2UYIiMn4DiJJLYQf7CNMSt3QDeqr6RVdaqnETnUIpq z0YGC1ztG1ZXnDDWNQyQbss5G8Oi9mQ/vdI6skYk8IAp5vgTGfrZoDbm2+dM0DafDqfn cZd5CU2H/qtBsV/UlNJH9vmKqP+IqYWMjGs9gXVibypb+XzXdY6et5KeUCrBhjTLkLKQ 5kyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=PXVZzkNLpLMNU1xixuAwsWKwzSTQDSs6GFLAylVfkXM=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=VHjGxqgnROPZ5vpaoNzqiz4Viu9wfYMJ2gGricOG/FdjffvNmQhOs77sxRUXCBr6t2 D+/PwaoH9U0cUuC+ujw9Fzduq14f+7uB5jjbBUlVGaWYLmvTAdO6kR7+YH6ihVK+zmYn OCEGJLiJnFLNtlOsCB+JokLDC5epCvmN/z1KhGNviNKcOe30+6YSHozkBXG1FRk5ZWwD ZxSDJ7p256oyRZbOTCMetq2enCVRxlCv+Y6/OuhFNlGvU08wnZIAkyPUNuD9E62NqsaE exWc1p5c9KOi9L7skiACGsiX4mGWwlR6b+YuUYy1ZRleq0yXjnvOKh4hMNL3lHX1knRf 1ElA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=a9o63hfR; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id e14-20020a50d4ce000000b0055c227b03fbsi5060958edj.519.2024.01.25.05.44.44; Thu, 25 Jan 2024 05:44:45 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=a9o63hfR; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E5ABA68D0CF; Thu, 25 Jan 2024 15:44:40 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9961368C327 for ; Thu, 25 Jan 2024 15:44:33 +0200 (EET) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1d72f71f222so29635325ad.1 for ; Thu, 25 Jan 2024 05:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706190271; x=1706795071; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=rC0Jzpn7za0rf2uV1n8y8RO9aiuuSJB5RpPCmD5vAMU=; b=a9o63hfRf2CRcyvCUp3pVwuuDKVA6vX0YfmgkZaUclTFy7heE+vYmzfojiR5DR2P8P AUPfUIBZ30ytRXFX/XEuMS2fpt/QyO3ibbbyR1oVb3cI3SDTR5XyiYeBM5RJN5X0vCm7 zpUvMFKYjTHIgql5uCZmpaNjP83lf+lx/fLs8F0WcvYfm3D1p0MFoUhoPZsCdRSNbEvE rQLKGZe+s+hY7DgrLzzZCkGtsuao8rt7ld4l6yWzEuC5a/Td3Cwy4UeUTR1afQ3wO7Hf /AYYppqN3wc/VoXZ7pip/DNTYT7K2t/CaGIcxXwwi7EDGtaJWtdUW9W/PMvJNYHRKZ7e pC7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706190271; x=1706795071; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rC0Jzpn7za0rf2uV1n8y8RO9aiuuSJB5RpPCmD5vAMU=; b=aERXs2P5DXK/ji+4bKf8iNYw4YD/DBNDqtmHAXL40O9mPk/e0n3RQUqnaPvx79rPD+ rGVe0+HMZhM1fAEV0vz7OFvuX4tSz/bTd6C5jFakq8ISBVWbpu+v0Jpo12X1I6Tw5a8R 9vsUNmGjWmGWV2AfqIcxa9FOWGWW/Ab/YBjBV+CnyGF+AaF7Ni3rrnIcA8nyQ5rHs4vE w4WvJBJ7ujYNYTmxTA7GEsTYz0DUPDEsJxFU9io59WBmjaVXymfK1kGxq0sItNAeRIAA vTqM/HFW2n3azvoc1y2aUDHJ73DcD2s8UIFcUV/m5q7DgLVkYFpHRuEnHcEepipq7Kev iiOw== X-Gm-Message-State: AOJu0Yx3/+C8zF4VOxLuH45MxVAydtd5Jm1L8HvJL6QOCnVnncd1d+Oc elv9wdZDWy+pHf82I4xZXWKT6NX3LpLoXYFYMCJV9lpLv4ygVMmHooYKzB/B X-Received: by 2002:a17:902:b192:b0:1d7:15ea:4249 with SMTP id s18-20020a170902b19200b001d715ea4249mr877605plr.7.1706190270587; Thu, 25 Jan 2024 05:44:30 -0800 (PST) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id k17-20020a170902f29100b001d707a14316sm11785146plc.75.2024.01.25.05.44.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:44:30 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 25 Jan 2024 10:43:23 -0300 Message-ID: <20240125134425.374-1-jamrial@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 00/24] Major library version bump X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 6MZhdtYsEQau As the subject states, this set removes deprecated API scheduled for removal in the past year, since the last major bump. After this is committed, it will be open ABI season for a few weeks, but no longer than a month. So if you want to do some cleaning (like removing avpriv_ functions, or moving field offsets from public strucs around), now is the time. Of particular interest is the removal of the old channel layout API. This means decoders, demuxers and filters can now output custom and ambisonic layouts without worrying the caller may not be aware of them because it only looked at the old fields. James Almer (24): avcodec: remove deprecated FF_API_IDCT_NONE avcodec: remove deprecated FF_API_SVTAV1_OPTS avcodec: remove deprecated FF_API_AYUV_CODECID avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK avcodec: remove deprecated FF_API_AVCODEC_CHROMA_POS avcodec: remove deprecated FF_API_VT_HWACCEL_CONTEXT avcodec: remove deprecated FF_API_AVCTX_FRAME_NUMBER avcodec: remove deprecated FF_CODEC_CRYSTAL_HD avformat: remove deprecated FF_API_GET_END_PTS avformat: remove deprecated FF_API_AVIODIRCONTEXT avformat: remove deprecated FF_API_AVFORMAT_IO_CLOSE avfilter: remove deprecated FF_API_LIBPLACEBO_OPTS avutil: remove deprecated FF_API_FIFO_PEEK2 avutil: remove deprecated FF_API_FIFO_OLD_API avutil: remove deprecated FF_API_XVMC avutil: remove deprecated FF_API_OLD_CHANNEL_LAYOUT avutil: remove deprecated FF_API_AV_FOPEN_UTF8 avutil: remove deprecated FF_API_PKT_DURATION avutil: remove deprecated FF_API_REORDERED_OPAQUE avutil: remove deprecated FF_API_FRAME_PICTURE_NUMBER avcodec/version_major: postpone some deprecations until the next bump avformat/version_major: postpone some deprecations until the next bump avutil/version_major: postpone some deprecations until the next bump libs: bump major version for all libraries configure | 13 - doc/APIchanges | 2 +- doc/ffprobe.xsd | 4 - fftools/ffmpeg_filter.c | 5 - fftools/ffmpeg_mux_init.c | 21 +- fftools/ffprobe.c | 12 - libavcodec/Makefile | 1 - libavcodec/aac_ac3_parser.c | 6 - libavcodec/aacdec.c | 2 - libavcodec/aacdec_common.c | 17 - libavcodec/aacdec_fixed.c | 1 - libavcodec/aacdec_template.c | 7 - libavcodec/aacdectab.h | 4 - libavcodec/ac3dec.c | 8 - libavcodec/ac3enc.c | 24 - libavcodec/ac3enc.h | 3 - libavcodec/ac3enc_fixed.c | 1 - libavcodec/ac3enc_float.c | 1 - libavcodec/alacenc.c | 16 - libavcodec/allcodecs.c | 10 - libavcodec/aptxdec.c | 2 - libavcodec/aptxenc.c | 2 - libavcodec/audiotoolboxenc.c | 19 - libavcodec/avcodec.c | 34 - libavcodec/avcodec.h | 110 --- libavcodec/codec.h | 7 - libavcodec/codec_desc.c | 9 - libavcodec/codec_id.h | 3 - libavcodec/codec_internal.h | 19 - libavcodec/codec_par.c | 46 -- libavcodec/codec_par.h | 16 - libavcodec/crystalhd.c | 826 ------------------- libavcodec/dcadec.c | 12 - libavcodec/dcaenc.c | 3 - libavcodec/decode.c | 72 -- libavcodec/diracdec.c | 15 - libavcodec/dolby_e.c | 7 - libavcodec/eac3enc.c | 1 - libavcodec/encode.c | 16 - libavcodec/g722enc.c | 1 - libavcodec/get_buffer.c | 6 - libavcodec/h264_slice.c | 5 - libavcodec/libcodec2.c | 2 - libavcodec/libdav1d.c | 22 +- libavcodec/libfdk-aacdec.c | 8 - libavcodec/libfdk-aacenc.c | 23 - libavcodec/libgsmenc.c | 2 - libavcodec/libmp3lame.c | 1 - libavcodec/librav1e.c | 13 - libavcodec/libshine.c | 1 - libavcodec/libspeexenc.c | 1 - libavcodec/libsvtav1.c | 48 -- libavcodec/libtwolame.c | 1 - libavcodec/libuavs3d.c | 6 - libavcodec/libvpxenc.c | 14 - libavcodec/libwebpenc_animencoder.c | 13 - libavcodec/libx264.c | 18 - libavcodec/libx265.c | 20 - libavcodec/mlp.c | 9 - libavcodec/mlp.h | 3 - libavcodec/mlpdec.c | 9 - libavcodec/mlpenc.c | 2 - libavcodec/mpegaudioenc_fixed.c | 1 - libavcodec/mpegaudioenc_float.c | 1 - libavcodec/mpegvideo_dec.c | 6 - libavcodec/nvenc.c | 12 - libavcodec/nvenc.h | 4 - libavcodec/options.c | 5 - libavcodec/options_table.h | 10 - libavcodec/opusenc.c | 1 - libavcodec/packet.h | 7 - libavcodec/pcm-blurayenc.c | 11 - libavcodec/pcm-dvdenc.c | 2 - libavcodec/pthread_frame.c | 16 - libavcodec/ra144enc.c | 1 - libavcodec/sbcdec.c | 1 - libavcodec/sbcenc.c | 1 - libavcodec/utils.c | 25 +- libavcodec/v408dec.c | 35 +- libavcodec/v408enc.c | 37 +- libavcodec/version.h | 2 +- libavcodec/version_major.h | 21 +- libavcodec/videotoolbox.c | 31 - libavcodec/videotoolbox.h | 65 -- libavcodec/vorbis_data.c | 14 - libavcodec/vorbis_data.h | 3 - libavcodec/vorbisdec.c | 1 - libavdevice/alsa_enc.c | 7 - libavdevice/pulse_audio_enc.c | 7 - libavdevice/version.h | 2 +- libavdevice/version_major.h | 2 +- libavfilter/af_afir.c | 5 - libavfilter/af_aformat.c | 13 - libavfilter/af_amerge.c | 6 - libavfilter/af_aresample.c | 6 - libavfilter/af_ashowinfo.c | 10 - libavfilter/af_channelmap.c | 6 - libavfilter/af_channelsplit.c | 7 - libavfilter/af_join.c | 6 - libavfilter/af_ladspa.c | 5 - libavfilter/af_lv2.c | 5 - libavfilter/af_pan.c | 6 - libavfilter/audio.c | 12 - libavfilter/avfilter.c | 5 - libavfilter/avfilter.h | 8 - libavfilter/avfiltergraph.c | 6 - libavfilter/buffersink.c | 70 +- libavfilter/buffersink.h | 4 - libavfilter/buffersrc.c | 51 +- libavfilter/buffersrc.h | 9 - libavfilter/f_streamselect.c | 5 - libavfilter/formats.c | 20 +- libavfilter/framepool.c | 5 - libavfilter/tests/formats.c | 3 - libavfilter/version.h | 2 +- libavfilter/version_major.h | 4 +- libavfilter/vf_deshake_opencl.c | 7 - libavfilter/vf_drawtext.c | 15 - libavfilter/vf_libplacebo.c | 76 -- libavfilter/vsrc_testsrc.c | 5 - libavformat/avformat.c | 14 +- libavformat/avformat.h | 20 - libavformat/avio.c | 2 - libavformat/avio.h | 6 - libavformat/dashenc.c | 5 - libavformat/demux.c | 19 - libavformat/demux_utils.c | 20 - libavformat/dfpwmdec.c | 17 +- libavformat/dump.c | 25 - libavformat/fifo.c | 5 - libavformat/hlsenc.c | 5 - libavformat/imfdec.c | 5 - libavformat/mux.c | 23 - libavformat/mux_utils.c | 10 - libavformat/nutdec.c | 4 - libavformat/nutenc.c | 15 - libavformat/options.c | 12 - libavformat/pcmdec.c | 20 - libavformat/segment.c | 5 - libavformat/tee.c | 5 - libavformat/version.h | 2 +- libavformat/version_major.h | 15 +- libavutil/avutil.h | 13 - libavutil/channel_layout.c | 184 ----- libavutil/channel_layout.h | 150 ---- libavutil/fifo.c | 219 ----- libavutil/fifo.h | 202 ----- libavutil/file.c | 6 - libavutil/file.h | 17 - libavutil/file_open.c | 7 - libavutil/frame.c | 148 +--- libavutil/frame.h | 61 -- libavutil/opt.c | 112 --- libavutil/opt.h | 11 - libavutil/pixdesc.c | 6 - libavutil/pixfmt.h | 4 - libavutil/version.h | 26 +- libpostproc/version.h | 2 +- libpostproc/version_major.h | 2 +- libswresample/options.c | 22 - libswresample/rematrix.c | 48 +- libswresample/swresample.c | 120 --- libswresample/swresample.h | 63 -- libswresample/swresample_frame.c | 47 +- libswresample/swresample_internal.h | 7 - libswresample/version.h | 2 +- libswresample/version_major.h | 2 +- libswscale/version.h | 2 +- libswscale/version_major.h | 2 +- tests/ref/fate/exif-image-embedded | 46 -- tests/ref/fate/exif-image-jpg | 4 - tests/ref/fate/exif-image-tiff | 4 - tests/ref/fate/exif-image-webp | 4 - tests/ref/fate/ffprobe_compact | 28 +- tests/ref/fate/ffprobe_csv | 28 +- tests/ref/fate/ffprobe_default | 44 - tests/ref/fate/ffprobe_flat | 44 - tests/ref/fate/ffprobe_ini | 44 - tests/ref/fate/ffprobe_json | 44 - tests/ref/fate/ffprobe_xml | 28 +- tests/ref/fate/ffprobe_xsd | 28 +- tests/ref/fate/filter-formats | 3 - tests/ref/fate/flcl1905 | 350 ++++---- tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 32 +- tests/ref/fate/gaplessenc-pcm-to-mov-aac | 32 +- tests/ref/fate/gaplessinfo-itunes1 | 32 +- tests/ref/fate/gaplessinfo-itunes2 | 32 +- tests/ref/fate/h264-dts_5frames | 20 - tests/ref/fate/jpg-icc | 4 - tests/ref/fate/mov-zombie | 130 +-- tests/ref/fate/png-icc | 4 - tests/ref/fate/png-side-data | 4 - 192 files changed, 424 insertions(+), 4622 deletions(-) delete mode 100644 libavcodec/crystalhd.c