Benjamin Larsson
241f5eab32
Remove dead assignments found by CSA
...
Originally committed as revision 18731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-02 09:12:03 +00:00
Michael Niedermayer
339cdf9681
Remove useless init from ff_mpeg4_set_direct_mv() found by CSA.
...
Originally committed as revision 18583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 18:24:39 +00:00
Michael Niedermayer
feda8550a9
Remove several useless writes to variables, found by CSA.
...
Originally committed as revision 18579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 18:16:36 +00:00
Michael Niedermayer
01d83278e9
Remove unused variable in init_mv_penalty_and_fcode() found by CSA.
...
Originally committed as revision 18557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 14:42:02 +00:00
Michael Niedermayer
c2394854ed
Remove useless assignment from h263_pred_dc() found by the clang static analyzer.
...
Originally committed as revision 18547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 12:57:47 +00:00
Stefano Sabatini
fb53b4a035
Rename pbBufPtr() to put_bits_ptr().
...
The new name is more readable and consistent with the FFmpeg naming
style.
Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 16:59:38 +00:00
Gwenole Beauchesne
11b9397941
Record MPEG-4 sprite trajectory points [up to num_sprite_warping_points][isY].
...
Originally committed as revision 18250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 20:39:08 +00:00
Ramiro Polla
d4efacff64
Use intptr_t when casting pointers to int.
...
Originally committed as revision 18192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 01:34:02 +00:00
Kostya Shishkov
c978997a88
Enable PB-frames decoding for H.263
...
Originally committed as revision 17746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:18:39 +00:00
Kostya Shishkov
685502cf3d
Add PB-frame decoding support for H.263/i263 (and enable it for i263)
...
Originally committed as revision 17745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:17:22 +00:00
Kostya Shishkov
b89e77cff7
Factor out block decoding in ff_h263_decode_mb()
...
Originally committed as revision 17734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 17:18:49 +00:00
Gwenole Beauchesne
ee3e36315e
Add ff_h263_find_resync_marker() to find the bit position of the next resync_marker, if any.
...
patch by Gwenole Beauchesne gbeauchesne splitted-desktopcom
based on suggested implementation by me
Originally committed as revision 17560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 16:12:47 +00:00
Kostya Shishkov
91ba181a15
Better parsing of i263 picture header
...
Originally committed as revision 17532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 18:13:40 +00:00
Diego Biurrun
c7f03f4e2a
Remove pointless '#if CONFIG_ENCODERS' around forward declarations.
...
Originally committed as revision 16992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:36:37 +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
Gwenole Beauchesne
3021a8a70b
Make ff_h263_resync() return the bit position of the resync_marker or
...
a negative number if none was found.
Patch by Gwenolé Beauchesne: gbeauchesne splitted minus desktop com
Originally committed as revision 16858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 17:13:03 +00:00
Gwenole Beauchesne
73f184936d
Use a constant instead of a magic number.
...
Patch by Gwenolé Beauchesne: gbeauchesne splitted minus desktop com
Originally committed as revision 16856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 08:18:06 +00:00
Stefan Gehrer
fa79489fd3
avoid duplication of dquant_code
...
Originally committed as revision 16742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:26:40 +00:00
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 22:57:40 +00:00
Aurelien Jacobs
2bb6eba21d
remove ff_get_fourcc() and use AV_RL32() instead
...
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:21:01 +00:00
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Michael Niedermayer
ed4c638a07
Fix PTS returned by the demuxers for mpeg4 without a decoder.
...
More precissely fix has_b_frames.
Fixes issue757
Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:47:29 +00:00
Michael Niedermayer
c62da7972b
Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
...
Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:30:36 +00:00
Michael Niedermayer
aaf0e267ff
s/qp_t/qp_tt/ to avoid bad examples that could lead to issues with reserved
...
namespaces of POSIX.
Originally committed as revision 16065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 21:45:41 +00:00
Loren Merritt
5fecfb7d58
clear_block mmx
...
Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-10 21:35:17 +00:00
Michael Niedermayer
289e8fd001
Implement complexity estimation parsing and try to detect an incorrectly set
...
complexity estimation flag.
Originally committed as revision 15993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 17:43:39 +00:00
Andrew Savchenko
9f0a705d46
Only warn about "Invalid and inefficient vfw-avi packed B frames" once.
...
Patch by Andrew Savchenko, Bircoph at list dot ru
Originally committed as revision 15772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 06:54:42 +00:00
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Michael Niedermayer
047599a4ba
Rename error_resilience to error_recognition.
...
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Ramiro Polla
6647ab80e3
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
...
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 14:27:48 +00:00
Art Clarke
51f90867ea
Allocate static tables on stack, not heap.
...
Patch by Art Clarke: aclarke vlideshow com
Originally committed as revision 13907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 07:33:15 +00:00
Michael Niedermayer
ceaaf78bb7
Change init_vlc_rl() so it does not use *alloc_static() anymore.
...
Originally committed as revision 13567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:08:41 +00:00
Diego Biurrun
9c852bcf58
cosmetics: spelling typo fixes
...
Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 09:20:59 +00:00
Diego Biurrun
842eabc5f9
cosmetics: XviD is now called Xvid.
...
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 12:32:59 +00:00
Michael Niedermayer
bc545029bf
Warn about packed B-frames. (especially useful if the file in question is
...
not an avi ...)
Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 11:32:42 +00:00
Vladimir Voroshilov
159ef4b02a
Implement FFMAX3(a,b,c) - maximum over three arguments.
...
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 17:07:58 +00:00
Diego Biurrun
d952638699
typo: occured --> occurred
...
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 01:06:57 +00:00
Diego Biurrun
bd10713636
typo fixes
...
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 16:15:47 +00:00
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Michael Niedermayer
3485b9cdda
Revert r11689 and r11690 (uninitalized warning fix) as its theoretically
...
undefined in C.
Originally committed as revision 11694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:01:33 +00:00
Michael Niedermayer
b2aba2e6e7
Comment about weird warning prevention.
...
Originally committed as revision 11690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 02:13:53 +00:00
Michael Niedermayer
b34130ae61
fix "uninitalized" warning, the alternative way.
...
I hope this is valid C, flame me if not.
md5sum of h263.o doesnt change, so this doesnt cause a slowdown.
Originally committed as revision 11689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:38:00 +00:00
Baptiste Coudurier
961c25b588
revert r11677, it is considered speed critical
...
Originally committed as revision 11688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:25:29 +00:00
Baptiste Coudurier
d83085cd5a
fix indentation
...
Originally committed as revision 11678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:06:54 +00:00
Baptiste Coudurier
3fbe36d4d0
init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function
...
Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:05:44 +00:00
Aurelien Jacobs
ba869f6b25
merge some #ifdef CONFIG_ENCODERS sections
...
Originally committed as revision 10656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:50:27 +00:00
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:13:31 +00:00