James Almer
45dcfb2d60
avcodec/version_major: remove unnecessary define for an internal function
...
It being avpriv and not public, it can be removed in the next bump regardless of when it
happens.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-09-01 11:00:44 -03:00
Leo Izen
bfb17d2630
avcodec/exif: add deprecation guards for old avpriv_
...
Add FF_API_OLD_EXIF deprecation guard based on lavc version < 62 in
order to allow removing the avpriv_ next major version bump.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
2025-08-19 11:26:47 -04:00
Timo Rothenpieler
3ce348063c
avcodec/nvdec: switch to proper pixfmts on next major bump
2025-07-11 17:49:58 +02:00
James Almer
b6bcc1c3c2
avcodec/exr: deprecate gamma and apply_trc options
...
Decoders should not modify sample values, as that's the job of a library like swscale.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:44:38 -03:00
James Almer
b338d1b35b
libs: bump major version for all libraries
...
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:44:34 -03:00
James Almer
b439ea4320
avcodec/version_major: postpone some deprecations until the next bump
...
They are either too recent, or need more work before they can be removed.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
bd58a68dbc
avcodec: remove deprecated FF_API_QUALITY_FACTOR
...
Deprecated since 2024-03-29.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
638690b872
avcodec: remove deprecated FF_API_VDPAU_ALLOC_GET_SET
...
Deprecated since 2024-03-07.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
fbaa8c3a7d
avcodec: remove deprecated FF_API_BUFFER_MIN_SIZE
...
Deprecated since 2024-02-20.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
0d48da2db0
avcodec: remove deprecated FF_API_AVCODEC_CLOSE
...
Deprecated since 2024-02-09.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
8224327698
avcodec: remove deprecated FF_API_FF_PROFILE_LEVEL
...
Deprecated since 2023-09-06.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
84c64e079c
avcodec: remove deprecated FF_API_AVFFT
...
Deprecated since 2023-09-01.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
5828624246
avcodec: remove deprecated FF_API_DROPCHANGED
...
Deprecated since 2023-07-15.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
7d07723db5
avcodec: remove deprecated FF_API_TICKS_PER_FRAME
...
Deprecated since 2023-05-15.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:07 -03:00
James Almer
c29a1cbd03
avcodec: remove deprecated FF_API_SUBFRAMES
...
Deprecated since 2023-05-15.
Signed-off-by: James Almer <jamrial@gmail.com>
2025-03-28 14:33:06 -03:00
Marton Balint
19c95ecbff
avcodec: deprecate AVCodecContext properties
...
These properties are unreliable because they depend on the frames decoded so
far, users should check directly the presence of the decoded AVFrame side data
or AVFrame flags.
Signed-off-by: Marton Balint <cus@passwd.hu>
2025-01-05 22:25:29 +01:00
J. Dekker
d89fbfd4df
avcodec: deprecate sonic
...
This is an experimental and research codec of which ffmpeg is the only
encoder and decoder, development has stalled since 2013 and these files
don't exist in the wild.
Deprecate the encoders to be removed next major bump, decoders to be
removed one bump afterwards. We also disable the the encoders by default
in configure, the decoders should be disabled by default next bump.
Signed-off-by: J. Dekker <jdek@itanimul.li>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2024-11-25 14:34:55 -05:00
Anton Khirnov
13129f1af4
lavc: deprecate the omx encoders
...
They have not been relevant for a long time, and support for this API is
also being dropped from other projects.
2024-11-09 02:46:17 +01:00
James Almer
e2427a4223
avcodec: deprecate v408 de/encoder
...
The uyva pixel format was recently added, so this lavc workaround is no longer
needed.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-10-12 11:21:14 -03:00
Anton Khirnov
c240ff98b3
lavc/packet: schedule AV_PKT_DATA_QUALITY_FACTOR for removal
...
It is unused internally and has been marked as deprecated a long time
ago.
2024-03-29 09:01:54 +01:00
Andreas Rheinhardt
c9f5cea9cc
avcodec/vdpau: Deprecate redundant allocators and getter/setter
...
The allocators have been superseded by av_vdpau_bind_context().
The latter have only been added "to allow multiple forks to add
fields to the structure without breaking ABI" [1], but libav
is no more, so this is not needed any longer.
[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2013-August/146954.html
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-08 00:58:40 +01:00
James Almer
783d00b203
libs: bump major version for all libraries
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 11:29:43 -03:00
James Almer
118948cbac
avcodec/version_major: postpone some deprecations until the next bump
...
They are either too recent, or can't be removed yet.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
5b23b18d40
avcodec: remove deprecated FF_CODEC_CRYSTAL_HD
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
98e1eebef9
avcodec: remove deprecated FF_API_SLICE_OFFSET
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
2717dcfb85
avcodec: remove deprecated FF_API_AVCTX_FRAME_NUMBER
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
7bca8ce422
avcodec: remove deprecated FF_API_VT_HWACCEL_CONTEXT
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
c4498aae7c
avcodec: remove deprecated FF_API_AVCODEC_CHROMA_POS
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
f00f70c8f1
avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:30 -03:00
James Almer
9ee59b63f5
avcodec: remove deprecated FF_API_AYUV_CODECID
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:29 -03:00
James Almer
c947731275
avcodec: remove deprecated FF_API_SVTAV1_OPTS
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:29 -03:00
James Almer
0b8940f96a
avcodec: remove deprecated FF_API_IDCT_NONE
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-03-07 08:53:29 -03:00
Andreas Rheinhardt
1d66a122df
avcodec/avcodec: Deprecate AV_INPUT_BUFFER_MIN_SIZE
...
It used to be used with preallocated packet buffers with
the old encode API, but said API is no more and therefore
there is no reason for this to be public any more.
So deprecate it and use an internal replacement
for the encoders using it as an upper bound for the
size of their headers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-02-21 00:24:44 +01:00
Anton Khirnov
1cc24d7495
lavc: deprecate avcodec_close()
...
Its use has been discouraged since 2016, but now is no longer used in
avformat, so there is no reason to keep it public.
2024-02-09 16:14:56 +01:00
Andreas Rheinhardt
8238bc0b5e
avcodec/defs: Add AV_PROFILE_* defines, deprecate FF_PROFILE_* defines
...
These defines are also used in other contexts than just AVCodecContext
ones, e.g. in libavformat. Furthermore, given that these defines are
public, the AV-prefix is the right one, so deprecate (and not just move)
the FF-macros.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-09-07 00:39:02 +02:00
Lynne
139e54911c
lavc/avfft: deprecate the API
...
This deprecates the currently unused API.
2023-09-01 23:59:14 +02:00
Anton Khirnov
f264204de9
lavc: deprecate AV_CODEC_FLAG_DROPCHANGED
...
This decoding flag makes decoders drop all frames after a parameter
change, but what exactly constitutes a parameter change is not well
defined and will typically depend on the exact use case.
This functionality then does not belong in libavcodec, but rather in
user code
2023-07-15 10:19:33 +02:00
Anton Khirnov
7d1d61cc5f
lavc: deprecate AVCodecContext.ticks_per_frame
...
For encoding, this field is entirely redundant with
AVCodecContext.framerate.
For decoding, this field is entirely redundant with
AV_CODEC_PROP_FIELDS.
2023-05-15 10:56:18 +02:00
Anton Khirnov
8b20d0dcb5
lavc: deprecate AV_CODEC_CAP_SUBFRAMES
...
There is nothing meaningful the caller can do with it.
2023-05-15 10:24:54 +02:00
Anton Khirnov
432adca5fe
lavc: disable an obsolete hack for real video
...
AVCodecContext.slice_{count,offset} are unneeded since 2007, commit
383b123ed3 and following. Deprecate those
fields.
2023-03-02 21:32:00 +01:00
Marton Balint
6b6f7db819
avcodec: add AVCodecContext.frame_num as 64 bit variant to frame_number
...
Frame counters can overflow relatively easily (INT_MAX number of frames is
slightly more than 1 year for 60 fps content), so make sure we use 64 bit
values for them.
Also deprecate the old 32 bit frame_number attribute.
Signed-off-by: Marton Balint <cus@passwd.hu>
2023-02-13 00:36:46 +01:00
James Almer
5bad485603
Bump major versions of all libraries
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:35:14 +01:00
James Almer
1135ad0f26
avcodec/version: postpone the remaining API deprecations
...
They are either too recent, or still need work like FF_API_INIT_PACKET.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:35:14 +01:00
James Almer
1ba8b6d9dc
avcodec: remove FF_API_SUB_TEXT_FORMAT
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:35:14 +01:00
James Almer
3ceffe7839
avcodec: remove FF_API_FLAG_TRUNCATED
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:35:14 +01:00
James Almer
5f9e848e68
avcodec: remove FF_API_AVCTX_TIMEBASE
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:35:08 +01:00
James Almer
10c9a0874c
avcodec: remove FF_API_AUTO_THREADS
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:24:16 +01:00
James Almer
63258b6f7c
avcodec: remove FF_API_GET_FRAME_CLASS
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:24:16 +01:00
James Almer
0b3152779d
avcodec: remove FF_API_DEBUG_MV
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-02-09 15:24:16 +01:00
James Almer
e0786a8eeb
avcodec: remove FF_API_THREAD_SAFE_CALLBACKS
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2023-02-09 15:24:16 +01:00