ffmpeg.git
10 years agoImplement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
Thilo Borgmann [Tue, 7 Apr 2009 15:59:50 +0000 (15:59 +0000)]
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.

Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.

Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMove AVPacket up a bit, so that structs/functions that include AVPacket can
Thilo Borgmann [Tue, 7 Apr 2009 15:37:26 +0000 (15:37 +0000)]
Move AVPacket up a bit, so that structs/functions that include AVPacket can
themselves be reasonably positioned.

Patch by Thilo Borgmann thilo.borgmann googlemail com, see mailinglist thread
"[FFmpeg-devel] Google Summer of Code participation".

Originally committed as revision 18350 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agouse av_freep() instead of av_free() + =NULL.
Aurelien Jacobs [Tue, 7 Apr 2009 12:31:28 +0000 (12:31 +0000)]
use av_freep() instead of av_free() + =NULL.

Originally committed as revision 18349 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix the copyright year
Luca Abeni [Tue, 7 Apr 2009 12:28:41 +0000 (12:28 +0000)]
Fix the copyright year

Originally committed as revision 18348 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd support for H.263 video in the RTP muxer
Martin Storsjö [Tue, 7 Apr 2009 06:41:55 +0000 (06:41 +0000)]
Add support for H.263 video in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDo not return payload type 34 for H.263 (it is deprecated)
Luca Abeni [Tue, 7 Apr 2009 06:37:12 +0000 (06:37 +0000)]
Do not return payload type 34 for H.263 (it is deprecated)

Originally committed as revision 18346 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMove scale factor computation to its own function. Patch by Kenan
Kenan Gillet [Tue, 7 Apr 2009 01:39:17 +0000 (01:39 +0000)]
Move scale factor computation to its own function. Patch by Kenan
Gillet.

Originally committed as revision 18345 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoTry to honor even completely invalid motion vectors as far as is
Michael Niedermayer [Mon, 6 Apr 2009 21:45:02 +0000 (21:45 +0000)]
Try to honor even completely invalid motion vectors as far as is
easy.
Fixes issue961.

Originally committed as revision 18344 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoOnly insert the SPS and PPS NALs in sprop-parameter-sets
Martin Storsjö [Mon, 6 Apr 2009 21:04:26 +0000 (21:04 +0000)]
Only insert the SPS and PPS NALs in sprop-parameter-sets
Patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18343 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing entry corresponding to r18163.
Stefano Sabatini [Mon, 6 Apr 2009 17:44:31 +0000 (17:44 +0000)]
Add missing entry corresponding to r18163.

Originally committed as revision 18342 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCosmetics: remove empty line.
Stefano Sabatini [Mon, 6 Apr 2009 17:41:15 +0000 (17:41 +0000)]
Cosmetics: remove empty line.

Originally committed as revision 18341 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix minor version for the r18116 entry: minor was not bumped in that
Stefano Sabatini [Mon, 6 Apr 2009 17:39:39 +0000 (17:39 +0000)]
Fix minor version for the r18116 entry: minor was not bumped in that
revision.

Originally committed as revision 18340 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd convenience macros for 5.0/5.1 back speaker configurations.
Justin Ruggles [Mon, 6 Apr 2009 01:07:09 +0000 (01:07 +0000)]
Add convenience macros for 5.0/5.1 back speaker configurations.

Originally committed as revision 18339 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: Filters and matrices may change only once per substream per access unit.
Ramiro Polla [Mon, 6 Apr 2009 00:58:03 +0000 (00:58 +0000)]
mlpdec: Filters and matrices may change only once per substream per access unit.

Originally committed as revision 18338 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: There must be no extraword for MLP.
Ramiro Polla [Sun, 5 Apr 2009 20:54:19 +0000 (20:54 +0000)]
mlpdec: There must be no extraword for MLP.

Originally committed as revision 18337 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: Validate non-restart bit from the substream header.
Ramiro Polla [Sun, 5 Apr 2009 20:46:53 +0000 (20:46 +0000)]
mlpdec: Validate non-restart bit from the substream header.

Originally committed as revision 18336 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.
Ramiro Polla [Sun, 5 Apr 2009 20:11:40 +0000 (20:11 +0000)]
mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.

Originally committed as revision 18335 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoswscale: Remove X86 commented out code.
Ramiro Polla [Sun, 5 Apr 2009 19:17:53 +0000 (19:17 +0000)]
swscale: Remove X86 commented out code.

Originally committed as revision 29149 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoMake sure the last bits of huffyuv frames are zeroed.
Michael Niedermayer [Sun, 5 Apr 2009 13:02:47 +0000 (13:02 +0000)]
Make sure the last bits of huffyuv frames are zeroed.
Fixes issue946

Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoswscale: Use function pointers for swScale functions.
Ramiro Polla [Sat, 4 Apr 2009 22:45:02 +0000 (22:45 +0000)]
swscale: Use function pointers for swScale functions.

Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoswscale: {}-related cosmetics.
Ramiro Polla [Sat, 4 Apr 2009 22:43:24 +0000 (22:43 +0000)]
swscale: {}-related cosmetics.

Originally committed as revision 29144 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoswscale: Add const to some swScale functions' parameters.
Ramiro Polla [Sat, 4 Apr 2009 22:41:46 +0000 (22:41 +0000)]
swscale: Add const to some swScale functions' parameters.

Originally committed as revision 29143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoARM: NEON optimized put_signed_pixels_clamped
David Conrad [Sat, 4 Apr 2009 21:02:48 +0000 (21:02 +0000)]
ARM: NEON optimized put_signed_pixels_clamped

Originally committed as revision 18333 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoARM: NEON optimised add_pixels_clamped
Måns Rullgård [Sat, 4 Apr 2009 20:18:58 +0000 (20:18 +0000)]
ARM: NEON optimised add_pixels_clamped

Based on patch by David Conrad.

Originally committed as revision 18332 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing static qualifier from function declaration. Patch by Kenan
Kenan Gillet [Sat, 4 Apr 2009 16:27:54 +0000 (16:27 +0000)]
Add missing static qualifier from function declaration. Patch by Kenan
Gillet.

Originally committed as revision 18331 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
Stefano Sabatini [Sat, 4 Apr 2009 13:20:53 +0000 (13:20 +0000)]
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
with libswscale.

Originally committed as revision 18330 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove JACK input device addition entry.
Stefano Sabatini [Fri, 3 Apr 2009 21:28:04 +0000 (21:28 +0000)]
Remove JACK input device addition entry.

The addition of a new component is not considered an API change.

Originally committed as revision 18329 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDo not fail on zero packets.
Michael Niedermayer [Fri, 3 Apr 2009 15:32:31 +0000 (15:32 +0000)]
Do not fail on zero packets.

Originally committed as revision 18328 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMark line_skip3 asm argument as output-only instead of using av_uninit.
Reimar Döffinger [Fri, 3 Apr 2009 14:03:49 +0000 (14:03 +0000)]
Mark line_skip3 asm argument as output-only instead of using av_uninit.

Originally committed as revision 18327 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMark put_signed_pixels_clamped_mmx output operands as early-clobber because
Reimar Döffinger [Fri, 3 Apr 2009 14:02:34 +0000 (14:02 +0000)]
Mark put_signed_pixels_clamped_mmx output operands as early-clobber because
they are. Hopefully fixes some FATE errors, too.

Originally committed as revision 18326 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE
Reimar Döffinger [Fri, 3 Apr 2009 14:01:24 +0000 (14:01 +0000)]
Use DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE

Originally committed as revision 18325 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd VC-1 bitstream decoding through VA API.
Gwenole Beauchesne [Fri, 3 Apr 2009 07:40:58 +0000 (07:40 +0000)]
Add VC-1 bitstream decoding through VA API.

Originally committed as revision 18324 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUpdate after the last two commits.
Stefano Sabatini [Fri, 3 Apr 2009 00:06:17 +0000 (00:06 +0000)]
Update after the last two commits.

Originally committed as revision 18323 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement JACK input device.
Olivier Guilyardi [Thu, 2 Apr 2009 23:53:47 +0000 (23:53 +0000)]
Implement JACK input device.

Patch by Olivier Guilyardi list samalyse com.
See the thread: "[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer".

Originally committed as revision 18322 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement av_fifo_space().
Olivier Guilyardi [Thu, 2 Apr 2009 23:22:19 +0000 (23:22 +0000)]
Implement av_fifo_space().

Patch by Olivier Guilyardi list et samalyse DOT c0m.

Originally committed as revision 18321 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.
Diego Biurrun [Thu, 2 Apr 2009 22:41:58 +0000 (22:41 +0000)]
Fix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.

Originally committed as revision 18320 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRewrite put_signed_pixels_clamped_mmx() to eliminate mmx.h from dsputil_mmx.c.
Alex Converse [Thu, 2 Apr 2009 21:02:42 +0000 (21:02 +0000)]
Rewrite put_signed_pixels_clamped_mmx() to eliminate mmx.h from dsputil_mmx.c.

Originally committed as revision 18319 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUpdate after the last API change.
Stefano Sabatini [Thu, 2 Apr 2009 20:24:15 +0000 (20:24 +0000)]
Update after the last API change.

Originally committed as revision 18318 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMove AVPacket declaration from avformat.h to avcodec.h.
Thilo Borgmann [Thu, 2 Apr 2009 19:53:53 +0000 (19:53 +0000)]
Move AVPacket declaration from avformat.h to avcodec.h.

Patch by Thilo Borgmann thilo dot borgmann at googlemail _dot_ com.

Originally committed as revision 18317 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoswscale: Remove mmx2 params from h[yc]scale().
Ramiro Polla [Thu, 2 Apr 2009 18:34:11 +0000 (18:34 +0000)]
swscale: Remove mmx2 params from h[yc]scale().

Originally committed as revision 29129 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoswscale: Split h[yc]scale_fast() into their own functions.
Ramiro Polla [Thu, 2 Apr 2009 18:32:49 +0000 (18:32 +0000)]
swscale: Split h[yc]scale_fast() into their own functions.

Originally committed as revision 29128 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoswscale: Execute sfence and emms depending on runtime flags.
Ramiro Polla [Thu, 2 Apr 2009 18:31:22 +0000 (18:31 +0000)]
swscale: Execute sfence and emms depending on runtime flags.

Originally committed as revision 29127 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoMap MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.
Jai Menon [Thu, 2 Apr 2009 12:15:04 +0000 (12:15 +0000)]
Map MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.

Patch by Jai Menon

Originally committed as revision 18316 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReindent
Reimar Döffinger [Thu, 2 Apr 2009 11:27:14 +0000 (11:27 +0000)]
Reindent

Originally committed as revision 18315 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSupport DVD subtitles in mov/mp4 as created by Nero.
Reimar Döffinger [Thu, 2 Apr 2009 11:26:46 +0000 (11:26 +0000)]
Support DVD subtitles in mov/mp4 as created by Nero.
See also http://samples.mplayerhq.hu/sub/NeroMP4/unsupported-embedded-subs-2.mp4

Originally committed as revision 18314 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRegister VA API HW accelerators.
Gwenole Beauchesne [Thu, 2 Apr 2009 08:53:34 +0000 (08:53 +0000)]
Register VA API HW accelerators.

Pending bits from earlier approved patches:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/066111.html
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-April/066918.html

Originally committed as revision 18313 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd VA API deps.
Gwenole Beauchesne [Thu, 2 Apr 2009 08:49:33 +0000 (08:49 +0000)]
Add VA API deps.

Originally committed as revision 18312 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd hwaccel configury. This generates CONFIG_<CODEC>_<HWACCEL>_HWACCEL
Gwenole Beauchesne [Thu, 2 Apr 2009 08:48:06 +0000 (08:48 +0000)]
Add hwaccel configury. This generates CONFIG_<CODEC>_<HWACCEL>_HWACCEL
from registered HW accelerated codecs with REGISTER_HWACCEL().

Originally committed as revision 18311 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReplace manual setting of the removed av_log_level variable by the
Diego Biurrun [Thu, 2 Apr 2009 08:15:03 +0000 (08:15 +0000)]
Replace manual setting of the removed av_log_level variable by the
corresponding call to av_log_set_level().

Originally committed as revision 18310 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd VA API pixfmt (only VLD is available ATM).
Gwenole Beauchesne [Thu, 2 Apr 2009 08:08:45 +0000 (08:08 +0000)]
Add VA API pixfmt (only VLD is available ATM).

Originally committed as revision 18309 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd an empty line in front of configure debug instructions.
Diego Biurrun [Thu, 2 Apr 2009 08:02:32 +0000 (08:02 +0000)]
Add an empty line in front of configure debug instructions.
This makes the actual error message that configure prints be more noticeable.

Originally committed as revision 18308 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd MPEG-4 / H.263 bitstream decoding through VA API.
Gwenole Beauchesne [Thu, 2 Apr 2009 07:30:04 +0000 (07:30 +0000)]
Add MPEG-4 / H.263 bitstream decoding through VA API.

Originally committed as revision 18307 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoskip empty data packets in flv, fix input.flv
Baptiste Coudurier [Thu, 2 Apr 2009 03:52:19 +0000 (03:52 +0000)]
skip empty data packets in flv, fix input.flv

Originally committed as revision 18306 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoARM: START/STOP_TIMER support for ARMv7
Måns Rullgård [Wed, 1 Apr 2009 22:56:26 +0000 (22:56 +0000)]
ARM: START/STOP_TIMER support for ARMv7

Originally committed as revision 18305 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSplit libavutil/timer.h per architecture
Måns Rullgård [Wed, 1 Apr 2009 22:56:22 +0000 (22:56 +0000)]
Split libavutil/timer.h per architecture

Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoExtend read_line() to make it take a read_pal_component parameter.
Stefano Sabatini [Wed, 1 Apr 2009 21:07:49 +0000 (21:07 +0000)]
Extend read_line() to make it take a read_pal_component parameter.

Originally committed as revision 18303 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd SSE4 detection support
David Conrad [Wed, 1 Apr 2009 09:11:32 +0000 (09:11 +0000)]
Add SSE4 detection support

Originally committed as revision 18302 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd 16cif video frame size abbreviation. i.e. -s alias for 1408x1152.
Gwenole Beauchesne [Wed, 1 Apr 2009 08:55:31 +0000 (08:55 +0000)]
Add 16cif video frame size abbreviation. i.e. -s alias for 1408x1152.

Originally committed as revision 18301 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove unused FILTSIGN macro
David Conrad [Wed, 1 Apr 2009 08:06:30 +0000 (08:06 +0000)]
Remove unused FILTSIGN macro

Originally committed as revision 18300 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove aandcttab.o from dct-test dependencies, the lib includes it
Måns Rullgård [Wed, 1 Apr 2009 01:22:36 +0000 (01:22 +0000)]
Remove aandcttab.o from dct-test dependencies, the lib includes it

Originally committed as revision 18299 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake examples and test progs depend on libraries
Måns Rullgård [Wed, 1 Apr 2009 00:54:23 +0000 (00:54 +0000)]
Make examples and test progs depend on libraries

Originally committed as revision 29119 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoAdd $(ELIBS) to example/test app link command
Måns Rullgård [Wed, 1 Apr 2009 00:53:34 +0000 (00:53 +0000)]
Add $(ELIBS) to example/test app link command

Originally committed as revision 18298 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake examples and test progs depend on libraries
Måns Rullgård [Wed, 1 Apr 2009 00:53:31 +0000 (00:53 +0000)]
Make examples and test progs depend on libraries

Originally committed as revision 18297 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoLink tests/examples with -lfoo instead of libfoo.a
Måns Rullgård [Wed, 1 Apr 2009 00:53:28 +0000 (00:53 +0000)]
Link tests/examples with -lfoo instead of libfoo.a

Originally committed as revision 18296 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAlways use -L flags for all subdirs
Måns Rullgård [Wed, 1 Apr 2009 00:53:25 +0000 (00:53 +0000)]
Always use -L flags for all subdirs

Originally committed as revision 18295 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMove make rules applicable only to subdirs into subdir.mak
Måns Rullgård [Wed, 1 Apr 2009 00:53:22 +0000 (00:53 +0000)]
Move make rules applicable only to subdirs into subdir.mak

Originally committed as revision 18294 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoadd another dv fourcc CDVH
Ben Littler [Wed, 1 Apr 2009 00:45:28 +0000 (00:45 +0000)]
add another dv fourcc CDVH

Originally committed as revision 18293 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReindent after the last patch.
Stefano Sabatini [Tue, 31 Mar 2009 22:53:48 +0000 (22:53 +0000)]
Reindent after the last patch.

Originally committed as revision 18292 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd/fix support for bitstream formats reading in read_line().
Stefano Sabatini [Tue, 31 Mar 2009 22:52:30 +0000 (22:52 +0000)]
Add/fix support for bitstream formats reading in read_line().

Originally committed as revision 18291 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake the step and offset fields of the component descriptor express a
Stefano Sabatini [Tue, 31 Mar 2009 22:48:18 +0000 (22:48 +0000)]
Make the step and offset fields of the component descriptor express a
number of bits for bitstreams formats.

Originally committed as revision 18290 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix ipvideo_decode_block_opcode_0xD again.
Reimar Döffinger [Tue, 31 Mar 2009 22:28:36 +0000 (22:28 +0000)]
Fix ipvideo_decode_block_opcode_0xD again.

Originally committed as revision 18289 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDocument read_line().
Stefano Sabatini [Tue, 31 Mar 2009 20:13:29 +0000 (20:13 +0000)]
Document read_line().

Originally committed as revision 18286 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd a notice telling that the behavior of skip_put_bits() is undefined
Stefano Sabatini [Tue, 31 Mar 2009 19:57:53 +0000 (19:57 +0000)]
Add a notice telling that the behavior of skip_put_bits() is undefined
if n is 0.

Originally committed as revision 18285 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCosmetics: remove some pointless {}
Reimar Döffinger [Tue, 31 Mar 2009 19:39:47 +0000 (19:39 +0000)]
Cosmetics: remove some pointless {}

Originally committed as revision 18284 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSlightly simplify ipvideo_decode_block_opcode_0xD
Reimar Döffinger [Tue, 31 Mar 2009 19:36:44 +0000 (19:36 +0000)]
Slightly simplify ipvideo_decode_block_opcode_0xD

Originally committed as revision 18283 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoOne more simplification for ipvideo_decode_block_opcode_0xA
Reimar Döffinger [Tue, 31 Mar 2009 19:18:13 +0000 (19:18 +0000)]
One more simplification for ipvideo_decode_block_opcode_0xA

Originally committed as revision 18282 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCosmetics: reorder the pixel format descriptors to make them match the
Stefano Sabatini [Tue, 31 Mar 2009 18:52:50 +0000 (18:52 +0000)]
Cosmetics: reorder the pixel format descriptors to make them match the
same order in pixfmt.h.

Originally committed as revision 18281 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSlightly simplify first part of ipvideo_decode_block_opcode_0xA,
Reimar Döffinger [Tue, 31 Mar 2009 18:48:31 +0000 (18:48 +0000)]
Slightly simplify first part of ipvideo_decode_block_opcode_0xA,
hopefully allows for further simplifications in the future.

Originally committed as revision 18280 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoChange the order of the components for RGB565LE and RGB565BE,
Stefano Sabatini [Tue, 31 Mar 2009 18:41:39 +0000 (18:41 +0000)]
Change the order of the components for RGB565LE and RGB565BE,
to make them resemble the order in the name: BGR <-> RGB.

Originally committed as revision 18279 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd comments specifying the name of the components in the descriptors.
Stefano Sabatini [Tue, 31 Mar 2009 18:36:58 +0000 (18:36 +0000)]
Add comments specifying the name of the components in the descriptors.

Originally committed as revision 18278 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake ipvideo_decode_block_opcode_0x8 a lot simpler by decoding the pixels
Reimar Döffinger [Tue, 31 Mar 2009 18:35:19 +0000 (18:35 +0000)]
Make ipvideo_decode_block_opcode_0x8 a lot simpler by decoding the pixels
in a more natural order.

Originally committed as revision 18277 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix a too small CHECK_STREAM_PTR value in interplayvideo.c
Reimar Döffinger [Tue, 31 Mar 2009 18:23:52 +0000 (18:23 +0000)]
Fix a too small CHECK_STREAM_PTR value in interplayvideo.c

Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake read_line() take as parameter a const AVPixFmtDescriptor * rather than a
Stefano Sabatini [Tue, 31 Mar 2009 18:18:14 +0000 (18:18 +0000)]
Make read_line() take as parameter a const AVPixFmtDescriptor * rather than a
(non const) AVPixFmtDescriptor *.

Originally committed as revision 18275 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing $(EXESUF) to example/test program dependency declaration.
Diego Biurrun [Tue, 31 Mar 2009 16:52:24 +0000 (16:52 +0000)]
Add missing $(EXESUF) to example/test program dependency declaration.

Originally committed as revision 29114 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoReplace MPEG group reference DCT implementation by newly rewritten version.
Dylan Yudaken [Tue, 31 Mar 2009 15:50:11 +0000 (15:50 +0000)]
Replace MPEG group reference DCT implementation by newly rewritten version.
patch by Dylan Yudaken, dyudaken gmail com

Originally committed as revision 18274 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReplacement reference DCT implementation.
Dylan Yudaken [Tue, 31 Mar 2009 15:48:47 +0000 (15:48 +0000)]
Replacement reference DCT implementation.
patch by Dylan Yudaken, dyudaken gmail com

Originally committed as revision 18273 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAvoid the last two uses of bitmasks in interplayvideo
Reimar Döffinger [Tue, 31 Mar 2009 14:48:14 +0000 (14:48 +0000)]
Avoid the last two uses of bitmasks in interplayvideo

Originally committed as revision 18272 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years ago100l, fix FATE test broken by r18264
Reimar Döffinger [Tue, 31 Mar 2009 14:44:46 +0000 (14:44 +0000)]
100l, fix FATE test broken by r18264

Originally committed as revision 18271 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReindent
Reimar Döffinger [Tue, 31 Mar 2009 14:10:45 +0000 (14:10 +0000)]
Reindent

Originally committed as revision 18270 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDeduplicate code by moving it outside the if/else
Reimar Döffinger [Tue, 31 Mar 2009 14:06:22 +0000 (14:06 +0000)]
Deduplicate code by moving it outside the if/else

Originally committed as revision 18269 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRearrange how the different cases are checked to reduce the number of
Reimar Döffinger [Tue, 31 Mar 2009 14:04:54 +0000 (14:04 +0000)]
Rearrange how the different cases are checked to reduce the number of
comparisons and allow further simplifications.

Originally committed as revision 18268 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix warnings in tree.c test code.
Benoit Fouet [Tue, 31 Mar 2009 14:00:46 +0000 (14:00 +0000)]
Fix warnings in tree.c test code.

Originally committed as revision 18267 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAvoid "reloading" code by using a 64 bit type for the flags and loading all at once.
Reimar Döffinger [Tue, 31 Mar 2009 13:58:40 +0000 (13:58 +0000)]
Avoid "reloading" code by using a 64 bit type for the flags and loading all at once.

Originally committed as revision 18266 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove now pointless temporary pix variables.
Reimar Döffinger [Tue, 31 Mar 2009 13:33:55 +0000 (13:33 +0000)]
Remove now pointless temporary pix variables.

Originally committed as revision 18265 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSlightly simplify part of ipvideo_decode_block_opcode_0x8
Reimar Döffinger [Tue, 31 Mar 2009 13:30:42 +0000 (13:30 +0000)]
Slightly simplify part of ipvideo_decode_block_opcode_0x8

Originally committed as revision 18264 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix indentation
Reimar Döffinger [Tue, 31 Mar 2009 13:21:41 +0000 (13:21 +0000)]
Fix indentation

Originally committed as revision 18263 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAvoid code duplication by using ?: and array indexing instead of if..else
Reimar Döffinger [Tue, 31 Mar 2009 13:21:10 +0000 (13:21 +0000)]
Avoid code duplication by using ?: and array indexing instead of if..else

Originally committed as revision 18262 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoPrettify some assignments
Reimar Döffinger [Tue, 31 Mar 2009 12:57:03 +0000 (12:57 +0000)]
Prettify some assignments

Originally committed as revision 18261 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoGet rid of some pointless bitmask/shifter variables in interplayvideo.c
Reimar Döffinger [Tue, 31 Mar 2009 12:44:35 +0000 (12:44 +0000)]
Get rid of some pointless bitmask/shifter variables in interplayvideo.c

Originally committed as revision 18260 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMark non-exported functions in test and example programs as static.
Diego Biurrun [Tue, 31 Mar 2009 09:32:59 +0000 (09:32 +0000)]
Mark non-exported functions in test and example programs as static.

Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk