diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-06 03:36:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:38 +0200 |
commit | 646ace34cd1562cc699e0b99f9e26c63f318e224 (patch) | |
tree | 1cf32bef4024396b70ce5ae1029a96cb62e59bdb /libavcodec/cbs_mpeg2.h | |
parent | d40b46f47c0945b9bc10f10b95294bae02f2c2ae (diff) | |
download | ffmpeg-646ace34cd1562cc699e0b99f9e26c63f318e224.tar.gz |
avcodec/h263enc: Remove no-output code
The no-output mode (guarded by AV_CODEC_FLAG2_NO_OUTPUT)
does not provide a noteworthy speedup; in fact, it even
turned out to be slower than the code with the no-output
code removed (ordinary encode: 153259721 decicycles,
noout encode: 153259721; encode with this patch applied:
152451581 decicycles; timings are for encode_frame callbacks
when encoding a 1080p sample to MPEG-4).
(Furthermore, this code was broken for most of its existence
(since 9207dc3b0db368bb9cf5eb295cbc1129c2975e31) and no one
noticed, so the no-output mode is probably not used at all.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cbs_mpeg2.h')
0 files changed, 0 insertions, 0 deletions