ffmpeg.git
8 years agoInstall libavutil/{aes,sha}.h
Alexis Ballier [Thu, 7 Apr 2011 13:19:23 +0000 (10:19 -0300)]
Install libavutil/{aes,sha}.h

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopad: fix example explanation
Stefano Sabatini [Thu, 7 Apr 2011 15:45:31 +0000 (17:45 +0200)]
pad: fix example explanation

"row" and "column" term positions in the explanation were inverted.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Thu, 7 Apr 2011 01:32:26 +0000 (03:32 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  Fix parser: mark av_parser_parse() for removal on next major bump
  swscale: postpone sws_getContext removal until next major bump.
  fate: add AAC LATM test
  mmst: get rid of deprecated AVERRORs
  lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.
  Reemove remaining uses of deprecated AVERROR_NOTSUPP.
REIMPLEMENTED in 2 lines of code:  lavf: if id3v2 tag is present and all else fails, guess by file extension

Conflicts:
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAlign stack variables manually in yadif x86 code, should fix ticket25
Michael Niedermayer [Wed, 6 Apr 2011 22:31:21 +0000 (00:31 +0200)]
Align stack variables manually in yadif x86 code, should fix ticket25
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomove image check down in ffplay.c
Michael Niedermayer [Wed, 6 Apr 2011 22:24:53 +0000 (00:24 +0200)]
move image check down in ffplay.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDisable dr1 in ffplay for svq1 (fixes ticket40)
Michael Niedermayer [Wed, 6 Apr 2011 21:41:02 +0000 (23:41 +0200)]
Disable dr1 in ffplay for svq1 (fixes ticket40)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix parser: mark av_parser_parse() for removal on next major bump
Brad [Wed, 6 Apr 2011 21:41:12 +0000 (17:41 -0400)]
Fix parser: mark av_parser_parse() for removal on next major bump

Fix the breakage introduced with 9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d

8 years agoCheck sizes a bit in ffplay, cant hurt.
Michael Niedermayer [Wed, 6 Apr 2011 21:39:57 +0000 (23:39 +0200)]
Check sizes a bit in ffplay, cant hurt.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix ticket34
Michael Niedermayer [Wed, 6 Apr 2011 21:06:47 +0000 (23:06 +0200)]
Fix ticket34
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDrop checkheaders from check, its useless
Michael Niedermayer [Wed, 6 Apr 2011 19:49:25 +0000 (21:49 +0200)]
Drop checkheaders from check, its useless
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix ticket20
Michael Niedermayer [Wed, 6 Apr 2011 19:17:32 +0000 (21:17 +0200)]
Fix ticket20
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswscale: postpone sws_getContext removal until next major bump.
Anton Khirnov [Wed, 6 Apr 2011 12:46:31 +0000 (14:46 +0200)]
swscale: postpone sws_getContext removal until next major bump.

The replacement isn't ready yet.

8 years agofate: add AAC LATM test
Janne Grunau [Tue, 5 Apr 2011 18:25:48 +0000 (20:25 +0200)]
fate: add AAC LATM test

8 years agoAdd PlayStation Portable PMP format demuxer
Reimar Döffinger [Sat, 26 Mar 2011 15:25:10 +0000 (16:25 +0100)]
Add PlayStation Portable PMP format demuxer

Not yet complete, for demuxing AAC the AAC header must be generated
manually.
Possibly the decoder could accept the header as extradata to simplify
this.

8 years agommst: get rid of deprecated AVERRORs
Anton Khirnov [Wed, 6 Apr 2011 06:20:09 +0000 (08:20 +0200)]
mmst: get rid of deprecated AVERRORs

8 years agolxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.
Anton Khirnov [Wed, 6 Apr 2011 06:18:16 +0000 (08:18 +0200)]
lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.

8 years agoReemove remaining uses of deprecated AVERROR_NOTSUPP.
Anton Khirnov [Wed, 6 Apr 2011 06:16:06 +0000 (08:16 +0200)]
Reemove remaining uses of deprecated AVERROR_NOTSUPP.

8 years agolavf: if id3v2 tag is present and all else fails, guess by file extension
Anton Khirnov [Tue, 5 Apr 2011 10:19:35 +0000 (12:19 +0200)]
lavf: if id3v2 tag is present and all else fails, guess by file extension

8 years agoRevert "ffmpeg: fix aspect ratio setting"
Michael Niedermayer [Wed, 6 Apr 2011 01:00:46 +0000 (03:00 +0200)]
Revert "ffmpeg: fix aspect ratio setting"

This reverts commit d1eb50bb29caad9745631759265f475177df99b9.
Reason, it breaks fate

8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Wed, 6 Apr 2011 00:59:49 +0000 (02:59 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  psymodel: extend API to include PE and bit allocation.
  avio: always compile dyn_buf functions
  Remove unnecessary parameter from ff_thread_init() and fix behavior
  Revert "aac_latm_dec: use aac context and aac m4ac"
  configure: tell user if libva is enabled like the rest of external libs.
  Add silence support for AV_SAMPLE_FMT_U8.
  avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
  avio: deprecate av_url_read_seek
  avio: deprecate av_url_read_pause
  ac3enc: NEON optimised extract_exponents

Conflicts:
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix ffmpeg-mt fixme in h264.
Michael Niedermayer [Tue, 5 Apr 2011 22:15:42 +0000 (00:15 +0200)]
Fix ffmpeg-mt fixme in h264.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix REBASE_PICTURE with h.264
Michael Niedermayer [Tue, 5 Apr 2011 22:14:56 +0000 (00:14 +0200)]
Fix REBASE_PICTURE with h.264
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix crash in ffmpeg.c with PIX_FMT_NONE
Michael Niedermayer [Tue, 5 Apr 2011 21:22:08 +0000 (23:22 +0200)]
Fix crash in ffmpeg.c with PIX_FMT_NONE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "Set the correct target for mingw64 dlltool"
Michael Niedermayer [Tue, 5 Apr 2011 18:46:46 +0000 (20:46 +0200)]
Revert "Set the correct target for mingw64 dlltool"
Revert due to dlltool/lib revert
This reverts commit 417516f63f8a9ee214ee9fa6fcb483962ea0f096.

8 years agoFix gazeta-20090408-1456-aa.ts
Michael Niedermayer [Tue, 5 Apr 2011 16:27:15 +0000 (18:27 +0200)]
Fix gazeta-20090408-1456-aa.ts
regression introduced by 15957b197a63d08c33c34f08ef8b161335736914
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix Ticket37
Michael Niedermayer [Tue, 5 Apr 2011 09:51:58 +0000 (11:51 +0200)]
Fix Ticket37

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopsymodel: extend API to include PE and bit allocation.
Nathan Caldwell [Tue, 5 Apr 2011 07:05:22 +0000 (01:05 -0600)]
psymodel: extend API to include PE and bit allocation.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agoavio: always compile dyn_buf functions
Anton Khirnov [Tue, 5 Apr 2011 17:04:28 +0000 (19:04 +0200)]
avio: always compile dyn_buf functions

Fixes build with --disable-muxers --disable-network.

Thanks to Hendrik Leppkes for noticing.

8 years agoDo not offer unsupported HWAccel PIX_FMT.
Reimar Döffinger [Mon, 4 Apr 2011 18:02:42 +0000 (20:02 +0200)]
Do not offer unsupported HWAccel PIX_FMT.

Only fixes MPEG-1/MPEG-2 as a first step.

8 years agoUse CONFIG_VDPAU as condition for using ff_vdpau_mpeg_picture_complete.
Reimar Döffinger [Mon, 4 Apr 2011 18:11:19 +0000 (20:11 +0200)]
Use CONFIG_VDPAU as condition for using ff_vdpau_mpeg_picture_complete.

CONFIG_VDPAU is the condition on which ff_vdpau_mpeg_picture_complete
is compiled in, so it is more appropriate, particularly since the
separate VDPAU decoder should be removed in the longer term.

8 years agoac3dec: avoid pointless alloc and indirection for input_buffer
Reimar Döffinger [Thu, 24 Mar 2011 20:27:05 +0000 (21:27 +0100)]
ac3dec: avoid pointless alloc and indirection for input_buffer

Since we now always allocate it, it can simply be made part of the context
instead.

8 years agoRemove unnecessary parameter from ff_thread_init() and fix behavior
Alexander Strange [Tue, 29 Mar 2011 21:18:21 +0000 (17:18 -0400)]
Remove unnecessary parameter from ff_thread_init() and fix behavior

thread_count passed to ff_thread_init() is only used to set AVCodecContext.
thread_count, and can be removed. Instead move it to the legacy implementation
of avcodec_thread_init().

This also fixes the problem that calling avcodec_thread_init() with pthreads
enabled did not set it since ff1efc524cb3c60f2f746e3b4550bb1a86c65316.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agodocumentation: fix @url syntax in developer.texi
Stefano Sabatini [Tue, 5 Apr 2011 13:31:14 +0000 (15:31 +0200)]
documentation: fix @url syntax in developer.texi

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agoscale: make the filter parametric
Stefano Sabatini [Sun, 27 Mar 2011 20:58:08 +0000 (22:58 +0200)]
scale: make the filter parametric

Make the filter accept parametric expressions for the output video
size.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agoeval: add support for trunc, ceil, and floor functions
Stefano Sabatini [Sun, 27 Mar 2011 20:56:49 +0000 (22:56 +0200)]
eval: add support for trunc, ceil, and floor functions

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agoffmpeg: fix aspect ratio setting
Stefano Sabatini [Mon, 4 Apr 2011 00:15:34 +0000 (02:15 +0200)]
ffmpeg: fix aspect ratio setting

This is done by adding a setsar filter at the beginning of the
configured filterchain.

This implementation is more robust, since does not modify the
filterchain description (which was creating potential syntax errors),
but directly modifies the filterchain structure.

This also changes the ffmpeg -aspect behavior, as following filters in
the filterchain can change the DAR/SAR set by the inserted setsar
filter.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agoAdd support for pcm_f32* to alsa.
Carl Eugen Hoyos [Tue, 5 Apr 2011 14:12:41 +0000 (16:12 +0200)]
Add support for pcm_f32* to alsa.

8 years agoAdd audio_float to confgigure's CONFIG list.
Carl Eugen Hoyos [Tue, 5 Apr 2011 13:14:51 +0000 (15:14 +0200)]
Add audio_float to confgigure's CONFIG list.

8 years agoRevert "aac_latm_dec: use aac context and aac m4ac"
Janne Grunau [Tue, 5 Apr 2011 10:21:50 +0000 (12:21 +0200)]
Revert "aac_latm_dec: use aac context and aac m4ac"

This reverts commit 36864ac3540445c513484017aa9927e942fac24a since it
breaks LATM decoding in ffplay.

8 years agoSupport s32 output via alsa audio device.
Carl Eugen Hoyos [Tue, 5 Apr 2011 08:53:50 +0000 (10:53 +0200)]
Support s32 output via alsa audio device.

8 years agoTemplate alsa reordering functions.
Carl Eugen Hoyos [Tue, 5 Apr 2011 08:15:03 +0000 (10:15 +0200)]
Template alsa reordering functions.

8 years agoconfigure: tell user if libva is enabled like the rest of external libs.
Konstantin Pavlov [Mon, 4 Apr 2011 20:49:34 +0000 (00:49 +0400)]
configure: tell user if libva is enabled like the rest of external libs.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAdd silence support for AV_SAMPLE_FMT_U8.
Alex Converse [Mon, 4 Apr 2011 23:07:23 +0000 (16:07 -0700)]
Add silence support for AV_SAMPLE_FMT_U8.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoavio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
Anton Khirnov [Mon, 4 Apr 2011 17:55:07 +0000 (19:55 +0200)]
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal

8 years agoavio: deprecate av_url_read_seek
Anton Khirnov [Mon, 4 Apr 2011 17:48:31 +0000 (19:48 +0200)]
avio: deprecate av_url_read_seek

It's not used anywhere internally.

Salvage its documentation for ffio_read_seek.

8 years agoavio: deprecate av_url_read_pause
Anton Khirnov [Mon, 4 Apr 2011 17:46:19 +0000 (19:46 +0200)]
avio: deprecate av_url_read_pause

It's not used anywhere internally.

Salvage its documentation for ffio_read_pause.

8 years agoh264_parser: Fix whitespace after previous change.
Philip Langdale [Tue, 29 Mar 2011 04:43:23 +0000 (21:43 -0700)]
h264_parser: Fix whitespace after previous change.

'git diff -w' confirmed to return nothing.

Signed-off-by: Philip Langdale <philipl@overt.org>
8 years agoh264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.
Philip Langdale [Tue, 29 Mar 2011 04:42:02 +0000 (21:42 -0700)]
h264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.

Currently, the parser is buggy and only processes the stream extradata
when the flag is set. This fixes it to actually inspect the frames.

Whitespce will be fixed in a separate change.

Signed-off-by: Philip Langdale <philipl@overt.org>
8 years agoUpdate yadif copyright header
Michael Niedermayer [Tue, 5 Apr 2011 01:12:46 +0000 (03:12 +0200)]
Update yadif copyright header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFactorise the C filtering in yadif
James Darnley [Tue, 5 Apr 2011 01:11:05 +0000 (03:11 +0200)]
Factorise the C filtering in yadif

8 years agoYadif fixes that where missing from the patch
Michael Niedermayer [Tue, 5 Apr 2011 01:02:52 +0000 (03:02 +0200)]
Yadif fixes that where missing from the patch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSupport 16-bit in yadif
James Darnley [Wed, 24 Nov 2010 20:25:09 +0000 (21:25 +0100)]
Support 16-bit in yadif

8 years agosupport more than yuv420p in yadif
James Darnley [Tue, 5 Apr 2011 00:45:10 +0000 (02:45 +0200)]
support more than yuv420p in yadif

(and correctly support grey8)

8 years agoRedefine sameq
Lou Logan [Mon, 28 Mar 2011 20:13:44 +0000 (12:13 -0800)]
Redefine sameq

I think the documentation of sameq is causing confusion and misuse of
this option.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofix runtime-cpu-detect bug in swscale
Darren Horrocks [Tue, 5 Apr 2011 00:34:26 +0000 (02:34 +0200)]
fix runtime-cpu-detect bug in swscale

swscale doesnt ever actually do any runtime detection at all when
runtime cpu detection is enabled, it simply passes whatever is passed
to -sws_flags, which could be nothing at all making swscale default to
the C implementation.

8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Tue, 5 Apr 2011 00:24:55 +0000 (02:24 +0200)]
Merge remote branch 'qatar/master'

* qatar/master: (22 commits)
  ac3enc: move extract_exponents inner loop to ac3dsp
  avio: deprecate url_get_filename().
  avio: deprecate url_max_packet_size().
  avio: make url_get_file_handle() internal.
  avio: make url_filesize() internal.
  avio: make url_close() internal.
  avio: make url_seek() internal.
  avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
  avio: make url_write() internal.
  avio: make url_read_complete() internal.
  avio: make url_read() internal.
  avio: make url_open() internal.
  avio: make url_connect internal.
  avio: make url_alloc internal.
  applehttp: Merge two for loops
  applehttp: Restructure the demuxer to use a custom AVIOContext
  applehttp: Move finished and target_duration to the variant struct
  aacenc: reduce the number of loop index variables
  avio: deprecate url_open_protocol
  avio: deprecate url_poll and URLPollEntry
  ...

Conflicts:
libavformat/applehttp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoac3enc: NEON optimised extract_exponents
Mans Rullgard [Sat, 12 Mar 2011 22:17:14 +0000 (22:17 +0000)]
ac3enc: NEON optimised extract_exponents

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoretry_transfer_wrapper: only call interrupt callback when less than requested is...
Michael Niedermayer [Mon, 4 Apr 2011 23:58:03 +0000 (01:58 +0200)]
retry_transfer_wrapper: only call interrupt callback when less than requested is r/w.
Its a waste of cpu cycles otherwise

8 years agompegts: Put CODEC_ID_NONE check back that was removed by mistake in 5b56ad03
Michael Niedermayer [Mon, 4 Apr 2011 22:06:11 +0000 (00:06 +0200)]
mpegts: Put CODEC_ID_NONE check back that was removed by mistake in 5b56ad03

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoac3enc: move extract_exponents inner loop to ac3dsp
Mans Rullgard [Sat, 12 Mar 2011 22:16:49 +0000 (22:16 +0000)]
ac3enc: move extract_exponents inner loop to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoavio: deprecate url_get_filename().
Anton Khirnov [Thu, 31 Mar 2011 16:00:55 +0000 (18:00 +0200)]
avio: deprecate url_get_filename().

URLContext.filename should be used directly.

8 years agoavio: deprecate url_max_packet_size().
Anton Khirnov [Thu, 31 Mar 2011 15:58:04 +0000 (17:58 +0200)]
avio: deprecate url_max_packet_size().

URLContext.max_packet_size should be used directly.

8 years agoavio: make url_get_file_handle() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:51:24 +0000 (17:51 +0200)]
avio: make url_get_file_handle() internal.

8 years agoavio: make url_filesize() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:46:00 +0000 (17:46 +0200)]
avio: make url_filesize() internal.

8 years agoavio: make url_close() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:36:06 +0000 (17:36 +0200)]
avio: make url_close() internal.

8 years agoavio: make url_seek() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:30:31 +0000 (17:30 +0200)]
avio: make url_seek() internal.

8 years agoavio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
Anton Khirnov [Thu, 31 Mar 2011 15:26:09 +0000 (17:26 +0200)]
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together

8 years agoavio: make url_write() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:48:01 +0000 (16:48 +0200)]
avio: make url_write() internal.

8 years agoavio: make url_read_complete() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:40:31 +0000 (16:40 +0200)]
avio: make url_read_complete() internal.

8 years agoavio: make url_read() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:31:43 +0000 (16:31 +0200)]
avio: make url_read() internal.

8 years agoavio: make url_open() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:25:10 +0000 (16:25 +0200)]
avio: make url_open() internal.

8 years agoavio: make url_connect internal.
Anton Khirnov [Thu, 31 Mar 2011 14:10:50 +0000 (16:10 +0200)]
avio: make url_connect internal.

8 years agoavio: make url_alloc internal.
Anton Khirnov [Thu, 31 Mar 2011 14:04:59 +0000 (16:04 +0200)]
avio: make url_alloc internal.

8 years agoOnly make buffer smaller in fill_buffer() if read_packet() is set.
Carl Eugen Hoyos [Mon, 4 Apr 2011 14:43:15 +0000 (16:43 +0200)]
Only make buffer smaller in fill_buffer() if read_packet() is set.

Fixes a possible invalid free().

8 years agoCommunicate pulldown flags to clients to fix VC-1 playback with pulldown content
Alexandre Colucci [Mon, 4 Apr 2011 13:20:10 +0000 (15:20 +0200)]
Communicate pulldown flags to clients to fix VC-1 playback with pulldown content

The pulldown flags should be communicated to the client of the libavcodec library. Not doing so causes jerky playback with pulldown content. Note that this change requires the patch previously provided here: http://ffmpeg.org/pipermail/ffmpeg-devel/2011-April/110314.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix VC-1 playback with pulldown content
Alexandre Colucci [Mon, 4 Apr 2011 13:08:50 +0000 (15:08 +0200)]
Fix VC-1 playback with pulldown content

The attached patch fixes the jerky playback of VC-1 content with pulldown. The pulldown flags were incorrectly set. They must be correct in order to display the frames with the correct timing as mentioned in the specifications: "SMPTE 421M: VC-1 Compressed Video Bitstream Format and Decoding Process". More precisely the following tables:

Table 20: Progressive P picture layer bitstream for Advanced Profile
Table 22: Progressive B picture layer bitstream for Advanced Profile
Table 23: Progressive Skipped picture layer bitstream for Advanced Profile
Table 82: Interlaced Frame I and BI picture layer bitstream for Advanced Profile
Table 83: Interlaced Frame P picture layer bitstream for Advanced Profile
Table 84: Interlaced Frame B picture layer bitstream for Advanced Profile
Table 85: Picture Layer bitstream for Field 1 of Interlace Field Picture for Advanced Profile

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoapplehttp: Merge two for loops
Martin Storsjö [Sun, 20 Mar 2011 22:23:54 +0000 (00:23 +0200)]
applehttp: Merge two for loops

The previous commit didn't do this straight away, to keep the
diff slightly simpler.

8 years agoapplehttp: Restructure the demuxer to use a custom AVIOContext
Martin Storsjö [Sun, 20 Mar 2011 22:21:56 +0000 (00:21 +0200)]
applehttp: Restructure the demuxer to use a custom AVIOContext

This avoids issues where EOF at the end of the segment is given
the variant demuxer. Now the demuxers only see one single data
stream (as when using the applehttp protocol handler).

8 years agoapplehttp: Move finished and target_duration to the variant struct
Martin Storsjö [Sun, 20 Mar 2011 22:08:59 +0000 (00:08 +0200)]
applehttp: Move finished and target_duration to the variant struct

This is a preparation for a restructuring of the demuxer, to
minimize the later diff.

8 years agoaacenc: reduce the number of loop index variables
Young Han Lee [Thu, 31 Mar 2011 13:41:53 +0000 (22:41 +0900)]
aacenc: reduce the number of loop index variables

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agoavio: deprecate url_open_protocol
Anton Khirnov [Thu, 31 Mar 2011 14:00:49 +0000 (16:00 +0200)]
avio: deprecate url_open_protocol

The unbuffered API will be made private and it's not used anywhere
internally.

8 years agoavio: deprecate url_poll and URLPollEntry
Anton Khirnov [Thu, 31 Mar 2011 13:22:18 +0000 (15:22 +0200)]
avio: deprecate url_poll and URLPollEntry

They're unimplemented and nobody cared to do anything with that for
10 years.

8 years agoac3enc: select bandwidth based on bit rate, sample rate, and number of
Justin Ruggles [Mon, 28 Mar 2011 13:18:37 +0000 (09:18 -0400)]
ac3enc: select bandwidth based on bit rate, sample rate, and number of
full-bandwidth channels.

This reduces high-frequency artifacts and improves the quality of the lower
frequency audio at low bit rates.

8 years agoflvdec: fix segfault in amf_parse_object() due to NULL key
Justin Ruggles [Sun, 3 Apr 2011 19:15:36 +0000 (15:15 -0400)]
flvdec: fix segfault in amf_parse_object() due to NULL key

fixes Issue 2674

8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Mon, 4 Apr 2011 00:15:12 +0000 (02:15 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  fate: fix partial run when no samples path is specified
  ARM: NEON fixed-point forward MDCT
  ARM: NEON fixed-point FFT
  lavf: bump minor version and add an APIChanges entry for avio changes
  avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
  avio: make url_fdopen internal.
  avio: make url_open_dyn_packet_buf internal.
  avio: avio_ prefix for url_close_dyn_buf
  avio: avio_ prefix for url_open_dyn_buf
  avio: introduce an AVIOContext.seekable field
  ac3enc: use generic fixed-point mdct
  lavfi: add fade filter
  Change yadif to not use out of picture lines.
  lavc: deprecate AVCodecContext.antialias_algo
  lavc: mark mb_qmin/mb_qmax for removal on next major bump.

Conflicts:
doc/filters.texi
libavcodec/ac3enc_fixed.h
libavcodec/ac3enc_float.h
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/vf_fade.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoadd MicroDVD muxer and demuxer
Aurelien Jacobs [Fri, 10 Sep 2010 21:10:53 +0000 (23:10 +0200)]
add MicroDVD muxer and demuxer

Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
8 years agoflvdec: fix segfault in amf_parse_object() due to NULL key
Justin Ruggles [Sun, 3 Apr 2011 19:18:36 +0000 (15:18 -0400)]
flvdec: fix segfault in amf_parse_object() due to NULL key

fixes Issue 2674

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: make 'bits_per_raw_sample' option more useful
Peter Ross [Sun, 3 Apr 2011 00:14:00 +0000 (10:14 +1000)]
ffmpeg: make 'bits_per_raw_sample' option more useful

Currently bits_per_raw_sample is exposed as an AVCodecContext option.
The option is not very useful, because ffmpeg 1) overwrites it with
a value from the upstream codec, or 2) it resets the value whenever
the video is resampled.

This patch adds the -bits_per_raw sample option to FFmpeg, and
caches the value like is done for the -pix_fmt option.

Example usage:
ffmpeg v210.avi -pix_fmt rgb48 -bits_per_raw_sample 10 out%d.dpx

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: fix partial run when no samples path is specified
Mans Rullgard [Sun, 3 Apr 2011 22:12:16 +0000 (23:12 +0100)]
fate: fix partial run when no samples path is specified

This restores the behaviour of running only the builtin
regression tests when no path to external samples is given.
aa3805a inadvertently broke this by always setting SAMPLES
to something.  Using := makes the ifdef test work as expected
when the FATE_SAMPLES environment variable is empty.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: NEON fixed-point forward MDCT
Mans Rullgard [Mon, 28 Mar 2011 18:39:44 +0000 (19:39 +0100)]
ARM: NEON fixed-point forward MDCT

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: NEON fixed-point FFT
Mans Rullgard [Sun, 27 Mar 2011 09:26:58 +0000 (10:26 +0100)]
ARM: NEON fixed-point FFT

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavf: bump minor version and add an APIChanges entry for avio changes
Anton Khirnov [Thu, 17 Mar 2011 12:42:45 +0000 (13:42 +0100)]
lavf: bump minor version and add an APIChanges entry for avio changes

8 years agoavio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
Anton Khirnov [Sun, 3 Apr 2011 20:55:31 +0000 (22:55 +0200)]
avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()

8 years agoLibavcodec AC3/E-AC3/DTS decoders now output floating point data.
clsid2 [Mon, 7 Mar 2011 00:08:34 +0000 (00:08 +0000)]
Libavcodec AC3/E-AC3/DTS decoders now output floating point data.

git-svn-id: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout@3769 3b938f2f-1a1a-0410-8054-a526ea5ff92c

8 years agoFloat output for libavcodec AAC decoder
clsid2 [Mon, 7 Mar 2011 00:28:50 +0000 (00:28 +0000)]
Float output for libavcodec AAC decoder

git-svn-id: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout@3770 3b938f2f-1a1a-0410-8054-a526ea5ff92c

8 years agoFloat output for libavcodec Vorbis decoder
clsid2 [Mon, 7 Mar 2011 00:46:59 +0000 (00:46 +0000)]
Float output for libavcodec Vorbis decoder

git-svn-id: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout@3771 3b938f2f-1a1a-0410-8054-a526ea5ff92c

8 years agoavio: make url_fdopen internal.
Anton Khirnov [Thu, 17 Mar 2011 07:44:44 +0000 (08:44 +0100)]
avio: make url_fdopen internal.

The unbuffered URLContext API will be made private, so there's no point
in this function being public.

8 years agoavio: make url_open_dyn_packet_buf internal.
Anton Khirnov [Thu, 17 Mar 2011 07:19:54 +0000 (08:19 +0100)]
avio: make url_open_dyn_packet_buf internal.

It doesn't look fit to be a part of the public API.

Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.

8 years agoavio: avio_ prefix for url_close_dyn_buf
Anton Khirnov [Thu, 17 Mar 2011 07:16:07 +0000 (08:16 +0100)]
avio: avio_ prefix for url_close_dyn_buf

8 years agoavio: avio_ prefix for url_open_dyn_buf
Anton Khirnov [Thu, 17 Mar 2011 07:13:34 +0000 (08:13 +0100)]
avio: avio_ prefix for url_open_dyn_buf