Andreas Rheinhardt
790f793844
avutil/common: Don't auto-include mem.h
...
There are lots of files that don't need it: The number of object
files that actually need it went down from 2011 to 884 here.
Keep it for external users in order to not cause breakages.
Also improve the other headers a bit while just at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-31 00:08:43 +01:00
Andreas Rheinhardt
a6189ba896
avcodec/mpegutils: Simplify indenting
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-26 06:30:45 +01:00
Andreas Rheinhardt
5eda98f382
avcodec/mpegutils: Avoid allocations when using AVBPrint
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-26 06:30:45 +01:00
Zhao Zhili
33698ef891
avcodec/mpegutils: print axis in debug_info2
...
For example,
./ffmpeg -nostats -threads 1 -debug qp \
-export_side_data +venc_params \
-i reinit-small_420_9-to-small_420_8.h264 \
-frames 2 \
-f null -
New frame, type: B
0 64 128 192
0 313131313131313131313131313129
16 292929292929292929292929292929
32 323232323232323232323232323232
48 323232323232323232323232323232
64 323232323232323232323232323232
80 323232323232323232323232323232
96 323232323030303030303030303030
112 303030303030303030303030303030
128 303030303030303030303030303028
144 313131312929292929292929292929
160 292929292929292929292929292929
176 292929292929292929292929292931
192 312831312631313131312730283131
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2024-01-04 17:35:11 +08:00
Zhao Zhili
bd48c08f80
avcodec/mpegutils: make debug_info2 thread safe
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2024-01-04 17:33:56 +08:00
Andreas Rheinhardt
f8503b4c33
avutil/internal: Don't auto-include emms.h
...
Instead include emms.h wherever it is needed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-09-04 11:04:45 +02: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
Andreas Rheinhardt
f63c6c81d4
avcodec/mpegutils: Reindent after the previous commit
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-10-20 06:57:30 +02:00
Andreas Rheinhardt
678f1b1cf4
avcodec/mpegutils: Return early in ff_draw_horiz_band()
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-10-20 06:57:30 +02:00
Andreas Rheinhardt
68a90ac3e6
avcodec/mpegutils: Constify ff_print_debug_info2, ff_draw_horiz_band
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-08-10 18:49:35 +02:00
Andreas Rheinhardt
fa5440cbcd
avcodec/mpegutils: Combine multiple av_log statements
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-08-10 18:49:35 +02:00
Limin Wang
e99be1735a
avcodec: remove the unused low_delay
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-09-29 18:00:13 +08:00
James Almer
c3f3b562c9
avcodec: remove long dead debug_mv code
...
FF_API_DEBUG_MV has been zero since ffmpeg 4.0
Signed-off-by: James Almer <jamrial@gmail.com>
2021-01-25 19:03:22 -03:00
James Almer
c666689491
avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export
...
Add an initial mvs flag to is, analog to the export_mvs flags2 one.
Signed-off-by: James Almer <jamrial@gmail.com>
2020-02-22 23:19:07 -03:00
Kieran Kunhya
a83a03af9a
libavcodec: Move ff_print_debug_info2 to mpegutils.c
2017-12-11 00:09:25 +00:00
Michael Niedermayer
329a3286d6
Merge commit ' be039278b5'
...
* commit 'be039278b5 ':
mpegvideo: move ff_draw_horiz_band() to mpegutils.c
Conflicts:
libavcodec/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-17 13:23:48 +01:00
Vittorio Giovara
be039278b5
mpegvideo: move ff_draw_horiz_band() to mpegutils.c
...
Drop the mpegvideo dependency for svq3 in configure.
2014-03-16 23:05:39 +01:00