summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.c
Commit message (Collapse)AuthorAge
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dnxhdenc: x86: more sensible names for optimization file and init functionDiego Biurrun2012-08-24
|
* mpegvideo: convert mpegvideo_common.h to a .c fileMans Rullgard2012-08-09
| | | | | | | | | | This file defines a single, huge function, MPV_motion(), which although being declared inline is not actually inlined by the compiler (for good reason). There is thus no sense in defining this function in a header file, resulting in multiple copies of it in the final library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add ff_ prefix to some nonstatic symbolsMartin Storsjö2012-02-15
| | | | | | Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c. Signed-off-by: Martin Storsjö <martin@martin.st>
* dnxhdenc: switch to encode2.Anton Khirnov2012-02-12
|
* Merge some declarations and initializations.Diego Biurrun2012-01-04
| | | | | | This fixes compilation failures related to START_TIMER/STOP_TIMER macros and -Werror=declaration-after-statement. START_TIMER declares variables and thus may not be placed after statements outside of a new block.
* dnxhdenc: fix signed overflowsMans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhdenc: fixed signed multiplication overflowMans Rullgard2011-10-14
| | | | | | | | | The low 32 bits of a multiplication are the same for signed and unsigned operands. Casting to unsigned before multiplying is thus equivalent while avoiding signed overflow, which is undefined by the C99 standard. Signed-off-by: Mans Rullgard <mans@mansr.com>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* dnxhdenc: fix declarations in for loopsMans Rullgard2011-07-27
| | | | | | Apparently the gcc warning doesn't trigger on these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhd: 10-bit supportJoseph Artsimovich2011-07-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhdenc: remove inline from function only called through pointerMans Rullgard2011-07-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhdenc: whitespace cosmeticsMans Rullgard2011-07-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhdenc: Replace a forward declaration by the proper #include.Diego Biurrun2011-07-12
|
* dnxhdenc: add AVClass in private context.Baptiste Coudurier2011-05-12
| | | | | | Fixes private options. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-10
| | | | This breaks API and ABI.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Introduce slice threads flag.Ronald S. Bultje2011-04-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhd: allow encoding with Avid Nitris compatibility.Baptiste Coudurier2011-03-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make DNxHD encoder produce files that are strictly VC-3 compatibleBaptiste Coudurier2010-11-16
| | | | Originally committed as revision 25756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use LOCAL_ALIGNED macro for local arraysMåns Rullgård2010-02-17
| | | | Originally committed as revision 21866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid integer overflow in dnxhd encoder, fixes #1557Baptiste Coudurier2009-11-20
| | | | Originally committed as revision 20557 to svn://svn.ffmpeg.org/ffmpeg/trunk
* clarify why the encoder is failingBaptiste Coudurier2009-11-19
| | | | Originally committed as revision 20556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after removing the outer for loops in the execute2 patchReimar Döffinger2009-10-12
| | | | Originally committed as revision 20212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dnxhdenc to execute2 multithreading API.Reimar Döffinger2009-10-12
| | | | | | | This allows for some simplifications like removing some outer loops and gives much better performance for thread_count > number of idle CPUs. Originally committed as revision 20211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove casts that are useless since the argument is void *.Reimar Döffinger2009-10-06
| | | | Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a custom radix sort implementation instead of qsort in dnxhd encoder.Reimar Döffinger2009-09-21
| | | | | | | | | | | This is mainly to avoid test failures due to implementation-defined behaviour of qsort when elements are equal, giving different results for each of FreeBSD, Linux/glibc and Solaris. In addition it is about 35 % faster, effect on overall speed is minimal though (< 2%). Regression tests are unchanged (i.e. identical to Linux/glibc). Originally committed as revision 19949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix uninitialized memory in dnxhd encoderBaptiste Coudurier2009-09-18
| | | | Originally committed as revision 19912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-06
| | | | | | 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
* Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and labelRamiro Polla2009-09-06
| | | | | | parameters. Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* data parameter of dnxhd_encode_picture() should not be const.Daniel Verkamp2009-05-08
| | | | | | | Fixes "dnxhdenc.c:805: warning: initialization from incompatible pointer type". patch by Daniel Verkamp, daniel drv nu Originally committed as revision 18773 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dnxhd get_pixels_8x4_sym sse2Baptiste Coudurier2008-12-12
| | | | Originally committed as revision 16072 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move get_pixels_8x4 before init func to avoid useless forward declaration.Baptiste Coudurier2008-12-12
| | | | Originally committed as revision 16071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename 4x8 to 8x4 to match widthxheight consistentlyBaptiste Coudurier2008-12-12
| | | | Originally committed as revision 16070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move structure definitions in their own headerBaptiste Coudurier2008-12-11
| | | | Originally committed as revision 16051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticsBaptiste Coudurier2008-12-11
| | | | Originally committed as revision 16050 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use dsp clear_blockBaptiste Coudurier2008-12-11
| | | | Originally committed as revision 16049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Making it easier to send arbitrary structures as work orders to MT workersRoman Shaposhnik2008-11-12
| | | | Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk