Gabriel Dume
f929ab0569
cosmetics: Write NULL pointer equality checks more compactly
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-08-15 03:18:18 -07:00
Anton Khirnov
a837c4f2df
zmbvenc: use the AVFrame API properly.
2013-11-16 13:24:10 +01:00
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
2013-10-03 23:32:01 +02:00
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
2012-10-08 07:13:26 +02:00
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-15 22:32:06 +03:00
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
2012-08-07 16:00:24 +02:00
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-06 22:37:38 +03:00
Diego Biurrun
562b6c744a
Remove unnecessary AVFrame pointer casts.
2012-03-01 23:11:10 +01:00
Anton Khirnov
11505f39e1
zmbvenc: switch to encode2().
2012-02-20 07:50:44 +01:00
Anton Khirnov
8c8c7b5e37
zmbvenc: move header writing to the end of encode_frame().
...
This makes switching to encode2() simpler, because it allows us to know
exactly how large should the output buffer be before we start writing
into it.
2012-02-20 07:50:44 +01:00
Paul B Mahol
013a677fb6
zmbvenc: Employ more meaningful return values.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-02-01 14:23:20 +01:00
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
2012-01-07 22:13:07 +01:00
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
2011-07-29 08:42:34 +02:00
Mans Rullgard
e65ab9d94f
Remove unused variables
2011-06-02 20:06:00 +01:00
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-02 12:18:44 +02:00
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-26 16:08:45 +00:00
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:45:34 +00:00
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-30 23:30:55 +00:00
Kostya Shishkov
e4de5b0fb5
cosmetics: break some long lines and insert few spaces
...
Originally committed as revision 20559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-20 07:26:17 +00:00
Kostya Shishkov
dd562761d9
10l trocadero: ZMBV encoder used zero score to detect whether block should be
...
XORed with source one or not, which went wrong with new block comparing code.
So track this condition explicitly.
Originally committed as revision 20558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-20 07:22:41 +00:00
Reimar Döffinger
4a49ab77c6
Remove unnecessary calls to avcodec_check_dimensions, the check is already
...
done at a higher level.
Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 20:13:28 +00:00
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-06 16:09:21 +00:00
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 21:32:13 +00:00
Benjamin Larsson
841b45e55d
Remove dead nested assignment found by CSA
...
Originally committed as revision 18784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 14:44:09 +00:00
Kostya Shishkov
1c86db80a9
Remove useless assignment during initialization for some decoders
...
Originally committed as revision 18680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-24 14:09:24 +00:00
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:19:48 +00:00
Kostya Shishkov
e6ab862368
ZMBV encoder forgot to fill coded frame pointer
...
Originally committed as revision 15359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 13:17:44 +00:00
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 21:50:13 +00:00
Michael Niedermayer
ee83232aa9
Avoid using log2() freebsd does not support it.
...
Originally committed as revision 13184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 21:28:55 +00:00
Carl Eugen Hoyos
eacced45c4
Replace some occurrences of -1 with PIX_FMT_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 22:28:43 +00:00
Michael Niedermayer
def1e277b9
Little fix for block sizes <16
...
Originally committed as revision 13095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:44:12 +00:00
Michael Niedermayer
058aae3ce7
Improve motion estimation metric.
...
Patch by Michael Niedermayer
Originally committed as revision 13090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 09:02:41 +00:00
Stefano Sabatini
038f846e41
Add long names to some AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-28 10:21:58 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Ramiro Polla
2c124cb65c
Use AV_xx throughout libavcodec
...
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:41:07 +00:00
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 09:00:44 +00:00
Nicholas Tung
e4141433ea
Get rid of unnecessary pointer casts.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:24:16 +00:00
Kostya Shishkov
c81ab015f8
Correctly ME border blocks
...
Originally committed as revision 8322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:51:01 +00:00
Måns Rullgård
f9aba097a3
remove useless #ifdef CONFIG_ZLIB
...
Originally committed as revision 7624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:58:32 +00:00
Benjamin Larsson
65de07ea4f
Fixed a typo, cosmetics.
...
Originally committed as revision 7598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:27:53 +00:00
Kostya Shishkov
a4b940198a
Deobfuscate expression
...
Originally committed as revision 7260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 05:28:00 +00:00
Kostya Shishkov
766937298e
1e6l forgot to add zmbvenc.c
...
Originally committed as revision 7258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 04:37:00 +00:00