1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavdevice
Anton Khirnov 27f8c9b27b lavu/frame: deprecate AVFrame.pkt_{pos,size}
These fields are supposed to store information about the packet the
frame was decoded from, specifically the byte offset it was stored at
and its size.

However,
- the fields are highly ad-hoc - there is no strong reason why
  specifically those (and not any other) packet properties should have a
  dedicated field in AVFrame; unlike e.g. the timestamps, there is no
  fundamental link between coded packet offset/size and decoded frames
- they only make sense for frames produced by decoding demuxed packets,
  and even then it is not always the case that the encoded data was
  stored in the file as a contiguous sequence of bytes (in order for pos
  to be well-defined)
- pkt_pos was added without much explanation, apparently to allow
  passthrough of this information through lavfi in order to handle byte
  seeking in ffplay. That is now implemented using arbitrary user data
  passthrough in AVFrame.opaque_ref.
- several filters use pkt_pos as a variable available to user-supplied
  expressions, but there seems to be no established motivation for using them.
- pkt_size was added for use in ffprobe, but that too is now handled
  without using this field. Additonally, the values of this field
  produced by libavcodec are flawed, as described in the previous
  ffprobe conversion commit.

In summary - these fields are ill-defined and insufficiently motivated,
so deprecate them.
2023-03-20 10:42:09 +01:00
..
tests
.gitignore
alldevices.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
alsa_dec.c
alsa_enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
alsa.c
alsa.h
android_camera.c
audiotoolbox.m avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
avdevice.c avdevice: remove FF_API_DEVICE_CAPABILITIES 2023-02-09 15:35:14 +01:00
avdevice.h avdevice: remove FF_API_DEVICE_CAPABILITIES 2023-02-09 15:35:14 +01:00
avdeviceres.rc
avfoundation.m avdevice/avfoundation: convert to new channel layout-API 2022-11-08 14:08:05 -03:00
bktr.c avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
caca.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
decklink_common_c.h
decklink_common.cpp
decklink_common.h avdevice/decklink_enc: don't take for granted that first frame to decklink output will be PTS 0 2023-03-08 23:53:15 +01:00
decklink_dec_c.c
decklink_dec.cpp
decklink_dec.h
decklink_enc_c.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
decklink_enc.cpp avdevice/decklink_enc: fix unused variable compiler warnings 2023-03-08 23:53:26 +01:00
decklink_enc.h
dshow_capture.h
dshow_common.c
dshow_crossbar.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c
dshow.c avdevice/dshow: reuse unused variables. 2022-05-12 22:06:44 -03:00
fbdev_common.c avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
fbdev_common.h
fbdev_dec.c avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
fbdev_enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
file_open.c
gdigrab.c
iec61883.c
internal.h
jack.c avformat/internal: Don't include avcodec.h 2022-09-26 03:02:50 +02:00
kmsgrab.c
lavfi.c lavu/frame: deprecate AVFrame.pkt_{pos,size} 2023-03-20 10:42:09 +01:00
libavdevice.v
libcdio.c avformat/demux: Add new demux.h header 2022-05-10 07:37:38 +02:00
libdc1394.c
Makefile configure: always enable gnu_windres if available 2022-08-13 14:42:36 +02:00
openal-dec.c
opengl_enc_shaders.h
opengl_enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
oss_dec.c avdevice/oss_dec: account for sample size when computing timestamp 2022-06-19 23:01:20 +02:00
oss_enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
oss.c avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
oss.h avdevice/oss_dec: account for sample size when computing timestamp 2022-06-19 23:01:20 +02:00
pulse_audio_common.c
pulse_audio_common.h
pulse_audio_dec.c avdevice/pulse_audio_dec: deprecate frame_size option 2022-06-16 21:28:20 +02:00
pulse_audio_enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
reverse.c
sdl2.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
sndio_dec.c
sndio_enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
sndio.c
sndio.h
timefilter.c
timefilter.h
utils.c
v4l2-common.c
v4l2-common.h avdevice/v4l2*: Improve included headers 2022-05-10 07:38:01 +02:00
v4l2.c avformat/internal: Don't include avcodec.h 2022-09-26 03:02:50 +02:00
v4l2enc.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
version_major.h Bump major versions of all libraries 2023-02-09 15:35:14 +01:00
version.c lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
version.h version.h: Bump minor post 6.0 branch 2023-02-19 18:37:36 +01:00
vfwcap.c
xcbgrab.c
xv.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00