summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* improve CRC APIAurelien Jacobs2008-01-041-12/+0
| | | | | | | - don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for avcodec_open codec parameter == NULL and return error in that caseReimar Döffinger2007-12-251-1/+1
| | | | Originally committed as revision 11316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add option for user to scale the amount of dynamic range compression which isJustin Ruggles2007-12-201-0/+1
| | | | | | applied by the audio decoder, and use that option in the AC3 decoder. Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_log_get/set_level()Måns Rullgård2007-12-121-1/+1
| | | | Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_*_next() API for libavcodecMichael Niedermayer2007-12-121-0/+5
| | | | Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make rc_buffer_size apply to audio as wellMichael Niedermayer2007-12-031-1/+1
| | | | Originally committed as revision 11150 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add pcm_s16le_planar support for electronicarts filesAurelien Jacobs2007-11-251-0/+2
| | | | Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print pixel and display aspect ratiosMichel Bardiaux2007-10-181-0/+9
| | | | Originally committed as revision 10778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oops, revert unrelated changeLoren Merritt2007-09-271-1/+1
| | | | Originally committed as revision 10597 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending ↵Loren Merritt2007-09-271-1/+1
| | | | | | on lpc order. Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove check for input buffer size as it does not guarantee thatKostya Shishkov2007-09-241-2/+1
| | | | | | | decoder will not run out of output buffer bounds (and all suspected decoders have their own checks now). Originally committed as revision 10567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for yuva420p colorspace (yuv420p + alpha)Aurelien Jacobs2007-09-241-5/+7
| | | | Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add request_channels member to AVCodecContext so we now have a properReimar Döffinger2007-08-231-0/+1
| | | | | | way to tell the decoder how many output channels we would like. Originally committed as revision 10199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use defines instead of raw hex numbers to specify CRC polynomialsReimar Döffinger2007-08-191-3/+3
| | | | Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add attribute that forces alignment of stack to functions that need it.Ramiro Polla2007-08-131-5/+5
| | | | | | | | | Necessary for systems that don't align by default to 16 bytes, required by some SSE instructions. Requires GCC >= 4.2. Based on patch by Gaël Chardon. Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_get_bits_per_sample_format()David Conrad2007-08-131-0/+16
| | | | Originally committed as revision 10099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure that default_get_buffer() doesnt reuse images if the dimension orMichael Niedermayer2007-08-101-0/+12
| | | | | | | pix_fmt changed fixes heap overflow, possibly exploitable Originally committed as revision 10064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return AVERROR(EINVAL) when invalid width and/or height are specified toPanagiotis Issaris2007-07-201-0/+1
| | | | | | avcodec_open. Originally committed as revision 9770 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return AVERROR(ENOMEM) on memory allocation failure of avcodec_open.Panagiotis Issaris2007-07-201-1/+3
| | | | Originally committed as revision 9769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set codec_type on initAlex Beregszaszi2007-07-171-0/+1
| | | | Originally committed as revision 9721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove underscores before fcntl flagsRamiro Polla2007-07-111-1/+1
| | | | Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Proper check for mkstemp().Ramiro Polla2007-07-111-3/+3
| | | | Originally committed as revision 9596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* free thread contextJanne Grunau2007-07-061-0/+2
| | | | | | patch by Janne Grunau: [janne-ffmpeg grunau be] Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* me option implemented as an AVOptionStefano Sabatini2007-07-061-0/+12
| | | | | | | | | patch by Stefano Sabatini: [stefano sabatini-lala poste it] original thread: [FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption date: 07/05/2007 03:12 PM Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split frame rate and frame size abbreviation into two structuresStefano Sabatini2007-06-211-49/+65
| | | | | | patch by Stefano Sabatini: [stefano sabatini-lala poste it] Originally committed as revision 9379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-121-4/+4
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the video size and rate abbreviations system from libavformat to libavcodecStefano Sabatini2007-06-121-0/+110
| | | | | | | | | patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it] original thread: [FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system date: 06/02/2007 05:30 PM Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix a crash with svq1 + sse2.Loren Merritt2007-05-121-0/+2
| | | | | | EMU_EDGE broke memory alignment when the desired alignment is >32 bytes. Originally committed as revision 8999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add the possibility to choose aac profileNicolas George2007-05-021-0/+4
| | | | | | | | patch by Nicolas George nicolas george chez normalesup org original thread: [Ffmpeg-devel] [PATCH] FAAC profile selection date: 04/27/2007 08:11 PM Originally committed as revision 8872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typosDiego Biurrun2007-04-071-2/+2
| | | | Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typoMichael Niedermayer2007-04-031-1/+1
| | | | Originally committed as revision 8611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FF_CODER_TYPE_RAW / RLE / DEFLATE extracted from a patch by Kamil NowosadKamil Nowosad2007-04-031-0/+3
| | | | Originally committed as revision 8609 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentionMichael Niedermayer2007-04-011-6/+6
| | | | Originally committed as revision 8590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make AVCodec.init() optionalMichael Niedermayer2007-04-011-0/+2
| | | | Originally committed as revision 8589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix H.264 8x8 transform selectionLimin Wang2007-03-241-1/+1
| | | | | | | | | | | It seems that it's opt parse bug, it can't process the flags which start by digit. After change 8x8dct to dct8x8, I can set it without problem. I guess nobody will use it since it can't work as expected, so the quick fix is change the option name. Patch by Limin Wang lance dot lmwang at gmail com Originally committed as revision 8492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill 3 more av_mallocz_static()Michael Niedermayer2007-03-141-0/+2
| | | | Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a -ab with default of 64kMichael Niedermayer2007-03-071-1/+2
| | | | | | | change -b to only apply to video this returns -ab/-b to the old defautls and old behavior regarding ordering of them Originally committed as revision 8286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take ↵Michael Niedermayer2007-03-071-4/+19
| | | | | | | | CodecType as an additional parameter also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so Originally committed as revision 8283 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change management of "ab" option in ffmpeg.c, so that it works as "b" option.Benoit Fouet2007-03-051-1/+1
| | | | | | | | | patch by Benoit Fouet % benoit P fouet A purplelabs P com % Original thread: Subj: [Ffmpeg-devel] [PATCH] use new way to handle "ab" option Date: 03/03/2007 10:51 PM Originally committed as revision 8244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"Panagiotis Issaris2007-03-041-1/+1
| | | | | | to "picture" as suggested by Baptiste Coudurier. Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dummy support for mpeg2 non linear quantBaptiste Coudurier2007-03-041-0/+1
| | | | Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ps option and rename rtp_payload_size AVOption to psBaptiste Coudurier2007-03-011-1/+1
| | | | Originally committed as revision 8172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get rid of rtp_mode field after next major bumpBaptiste Coudurier2007-02-281-0/+2
| | | | Originally committed as revision 8164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enable rtp payload size AVOption for video encodingBaptiste Coudurier2007-02-281-1/+1
| | | | Originally committed as revision 8163 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont check buffer size if the decode function wont be called at allMichael Niedermayer2007-02-231-11/+12
| | | | Originally committed as revision 8090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_realloc_static() is an internal function and therefore should use the ff_ ↵Panagiotis Issaris2007-02-231-1/+1
| | | | | | prefix instead of av_. Originally committed as revision 8089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the Doxygen function documentation unaltered from libavcodec/utils.c toPanagiotis Issaris2007-02-221-20/+0
| | | | | | libavcodec/avcodec.h. Originally committed as revision 8079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add more Doxygen documentation.Panagiotis Issaris2007-02-221-69/+0
| | | | Originally committed as revision 8078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typo.Panagiotis Issaris2007-02-221-1/+1
| | | | Originally committed as revision 8065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify release_buffer using FFSWAPAurelien Jacobs2007-02-211-4/+2
| | | | Originally committed as revision 8057 to svn://svn.ffmpeg.org/ffmpeg/trunk