summaryrefslogtreecommitdiff
path: root/libavutil/rational.h
Commit message (Collapse)AuthorAgeFilesLines
* avutil: Fix mismatching argument namesMarvin Scholz2022-10-171-1/+2
|
* lavu: add av_gcd_q().Nicolas George2020-05-231-0/+6
|
* rational: Extend DoxygenTimothy Gu2016-08-021-39/+80
|
* avutil: Add av_q2intfloat()Michael Niedermayer2015-05-261-0/+7
| | | | | | | This function allows writing AVRationals as IEEE floats without the need of platform dependant float operations Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu/rational: add syntactic sugar.Nicolas George2014-01-191-0/+11
| | | | | Add a function to create a rational and macros for common values.
* libavutil: cast truncated values to uint32_tAlfred E. Heggestad2013-08-271-1/+1
| | | | | | | | | programs using ffmpeg that are compiled with -Wshorten-64-to-32 gives a warning when using header files common.h and rational.h cast 64-bit truncated values to (uint32_t) to avoid the warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-051-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2 rational: add av_inv_q() returning the inverse of an AVRational dpx: Make start offset unsigned lavfi: properly signal out-of-memory error in ff_filter_samples cosmetics: Fix a few switched periods and linebreaks zerocodec: Fix memleak in decode_frame zerocodec: Cosmetics Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rational: add av_inv_q() returning the inverse of an AVRationalMans Rullgard2012-08-051-0/+11
| | | | | | | | | | | | This allows simplifying a few expressions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-231-0/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) aacdec: Fix PS in ADTS. avconv: Consistently use PIX_FMT_NONE. dsputil: use cpuflags in x86 emu_edge_core dsputil: use movups instead of movdqu in ff_emu_edge_core_sse() wma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits. mov: Remove some redundant and obsolete comments. Add libavutil/mathematics.h #includes for INFINITY doxy: structure libavformat groups doxy: introduce an empty structure in libavcodec doxy: provide a start page and document libavutil doxy: cleanup pixfmt.h regtest: split video encode/decode tests into individual targets ARM: add explicit .arch and .fpu directives to asm.S pthread: do not touch has_b_frames avconv: cleanup the transcoding loop in output_packet(). avconv: split subtitle transcoding out of output_packet(). avconv: split video transcoding out of output_packet(). avconv: split audio transcoding out of output_packet(). avconv: reindent. avconv: move streamcopy-only code out of decoding loop. ... Conflicts: avconv.c libavcodec/aaccoder.c libavcodec/pthread.c libavcodec/version.h libavutil/audioconvert.h libavutil/avutil.h libavutil/mem.h tests/ref/vsynth1/dv tests/ref/vsynth1/mpeg2thread tests/ref/vsynth2/dv tests/ref/vsynth2/mpeg2thread Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxy: provide a start page and document libavutilLuca Barbato2011-11-221-0/+9
| | | | | | | | | | | | Introduce a basic layout, the subpages are currently left empty. Split libavutil in multiple groups as example of the structure
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Update av_cmp_q() documentation after r25338.Stefano Sabatini2010-10-051-1/+2
| | | | Originally committed as revision 25340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_cmp_q() work with infinities and NAN.Michael Niedermayer2010-10-051-1/+4
| | | | Originally committed as revision 25338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_d2q() manage the case in which the value to convert is inf.Stefano Sabatini2010-10-041-0/+2
| | | | Originally committed as revision 25332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix av_cmp_q() with negative denominators.Michael Niedermayer2010-10-011-1/+1
| | | | Originally committed as revision 25283 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-301-9/+9
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-091-1/+1
| | | | | | | This reduces the number of false dependencies on header files and speeds up compilation. Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove '\p', '\c' and '\e' doxygen markup from doxy, as it shouldStefano Sabatini2009-06-061-3/+3
| | | | | | | | improve plain text doxy readability. See the thread: "[RFC] Should we use doxygen markup?". Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* cosmetics: Use 'num' instead of 'nom' as abbreviation for numerator.Diego Biurrun2009-02-011-4/+4
| | | | Originally committed as revision 16910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-281-20/+20
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_nearer_q() and av_find_nearest_q_idx() functions.Stefano Sabatini2008-09-251-0/+13
| | | | Originally committed as revision 15415 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng2008-03-191-5/+6
| | | | | | | in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12489.Benoit Fouet2008-03-181-5/+5
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pure, const and malloc attributes to libavutil.Zuxy Meng2008-03-181-5/+5
| | | | | | | | | Patch by Zuxy Meng: zuxy meng gmail com Original thread: [FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil Date: 03/18/2008 6:09 AM Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* match doxygen comment with other parts of the fileAlex Beregszaszi2007-07-141-1/+1
| | | | Originally committed as revision 9635 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include all prerequisites in header filesMåns Rullgård2007-06-161-0/+2
| | | | Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 2 mistakes in doxy comments, spotted by MichaelGuillaume Poirier2007-02-261-2/+2
| | | | Originally committed as revision 8133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move doxy comments from rational.c to rational.h and add some new commentsDujardin Bernard2007-02-261-1/+35
| | | | | | patch by Dujardin Bernard %dujardin P iut A numericable P fr% Originally committed as revision 8132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Doxygenize some commentsDujardin Bernard2007-02-261-3/+12
| | | | | | Patch by Dujardin Bernard % dujardin P iut A numericable P fr % Originally committed as revision 8131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: fix usefuLL --> usefuL typoDiego Biurrun2007-02-221-1/+1
| | | | Originally committed as revision 8061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-1/+1
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libavutil: Utility code from libavcodec moved to a separate library.Alexander Strasser2005-08-011-0/+69
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk