]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoMake ff_print_debug_info() a no-op when using HW acceleration.
benoit [Fri, 27 Feb 2009 15:51:15 +0000 (15:51 +0000)]
Make ff_print_debug_info() a no-op when using HW acceleration.
Patch by Gwenolé Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17646 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
benoit [Fri, 27 Feb 2009 15:49:32 +0000 (15:49 +0000)]
Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
Patch by Gwenolé Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17645 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd hardware acceleration hooks to H.264.
benoit [Fri, 27 Feb 2009 15:45:55 +0000 (15:45 +0000)]
Add hardware acceleration hooks to H.264.
Patch by Gwenolé Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17644 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure -vsync 2 does not produce timestamps equal to the previous,
michael [Fri, 27 Feb 2009 14:53:29 +0000 (14:53 +0000)]
Make sure -vsync 2 does not produce timestamps equal to the previous,
rather drop a frame.
Fixes Issue872.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17643 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate commented fprintf().
michael [Fri, 27 Feb 2009 14:44:58 +0000 (14:44 +0000)]
Update commented fprintf().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17642 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not allow standard-frame-rate detection to increase the value of
reimar [Fri, 27 Feb 2009 14:13:15 +0000 (14:13 +0000)]
Do not allow standard-frame-rate detection to increase the value of
r_frame_rate by more than 1% over a previously set/detected value.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17641 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix SVQ3 regression since ticks_per_frame=2.
michael [Fri, 27 Feb 2009 14:01:32 +0000 (14:01 +0000)]
Fix SVQ3 regression since ticks_per_frame=2.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17640 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify ipmovie.c pts calculation by using an appropriate time_base.
reimar [Fri, 27 Feb 2009 10:07:12 +0000 (10:07 +0000)]
Simplify ipmovie.c pts calculation by using an appropriate time_base.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17639 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a context to av_log() call.
benoit [Fri, 27 Feb 2009 08:31:20 +0000 (08:31 +0000)]
Add a context to av_log() call.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17638 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd HW acceleration hooks for MPEG-4 / H.263 decoding.
benoit [Fri, 27 Feb 2009 08:27:50 +0000 (08:27 +0000)]
Add HW acceleration hooks for MPEG-4 / H.263 decoding.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17637 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove superfluous call to mpeg_decode_slice() for hwaccel, this
benoit [Fri, 27 Feb 2009 08:20:45 +0000 (08:20 +0000)]
Remove superfluous call to mpeg_decode_slice() for hwaccel, this
function already contains the needed code.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17636 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReturn early if a HW accelerator is used.
benoit [Fri, 27 Feb 2009 08:16:22 +0000 (08:16 +0000)]
Return early if a HW accelerator is used.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17635 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd VA API pixel formats.
benoit [Fri, 27 Feb 2009 08:12:41 +0000 (08:12 +0000)]
Add VA API pixel formats.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17634 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd ff_hwaccel_pixfmt_list_420[] definition.
benoit [Fri, 27 Feb 2009 08:09:23 +0000 (08:09 +0000)]
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17633 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoHack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1
reimar [Fri, 27 Feb 2009 08:02:34 +0000 (08:02 +0000)]
Hack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17632 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDetect the case when the time base is exact but far finer than necessary to
reimar [Fri, 27 Feb 2009 07:56:24 +0000 (07:56 +0000)]
Detect the case when the time base is exact but far finer than necessary to
represent the time stamps, as e.g. for ipmovie.c and set a better r_frame_rate.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17631 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd ticks_per_frame, this should hopefully fix the regressions caused
michael [Thu, 26 Feb 2009 23:47:32 +0000 (23:47 +0000)]
Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17630 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: vertical alignment
aurel [Thu, 26 Feb 2009 22:39:53 +0000 (22:39 +0000)]
cosmetics: vertical alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17629 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in rpl demuxer
aurel [Thu, 26 Feb 2009 22:38:46 +0000 (22:38 +0000)]
use new metadata API in rpl demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17628 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in wc3 demuxer
aurel [Thu, 26 Feb 2009 22:35:26 +0000 (22:35 +0000)]
use new metadata API in wc3 demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17627 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMark as "internal but installed" the avio.h file.
stefano [Thu, 26 Feb 2009 22:34:18 +0000 (22:34 +0000)]
Mark as "internal but installed" the avio.h file.

This should prevent its direct inclusion in an external project, which
results broken if avformat.h is not included before.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17626 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a @file notice to avio.h.
stefano [Thu, 26 Feb 2009 22:28:42 +0000 (22:28 +0000)]
Add a @file notice to avio.h.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17625 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename avfilter_parse_graph() to avfilter_graph_parse(), for better
stefano [Thu, 26 Feb 2009 22:03:55 +0000 (22:03 +0000)]
Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
consistency with the rest of the API.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17624 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
stefano [Thu, 26 Feb 2009 22:02:09 +0000 (22:02 +0000)]
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
consistency with the rest of the API.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17623 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoHalf user provided time_base once during the first frame when there is no
michael [Thu, 26 Feb 2009 21:09:24 +0000 (21:09 +0000)]
Half user provided time_base once during the first frame when there is no
timebase stored in the h264 stream.
This should fix fate. (ffmpeg.c used pict_repeat with its default 1/25 timebase)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17622 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetics: Fix indentation after last commit.
cehoyos [Thu, 26 Feb 2009 20:36:47 +0000 (20:36 +0000)]
Cosmetics: Fix indentation after last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17621 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoInitialize H264 parser context correctly if the optional SEI messages
cehoyos [Thu, 26 Feb 2009 20:36:02 +0000 (20:36 +0000)]
Initialize H264 parser context correctly if the optional SEI messages
are not present.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17620 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomove static tables from asf.h to non-static tables in asf.c
aurel [Thu, 26 Feb 2009 16:17:17 +0000 (16:17 +0000)]
move static tables from asf.h to non-static tables in asf.c
this avoid getting those tables duplicated in asfenc.o and asfdec.o

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17619 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agorename asf-enc.c to asfenc.c and asf.c to asfdec.c for consistency
aurel [Thu, 26 Feb 2009 15:44:19 +0000 (15:44 +0000)]
rename asf-enc.c to asfenc.c and asf.c to asfdec.c for consistency

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17618 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix a memleak in av_metadata_set()
aurel [Thu, 26 Feb 2009 14:40:04 +0000 (14:40 +0000)]
fix a memleak in av_metadata_set()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17617 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement marker bit, which is used for several RTP payloads currently
rbultje [Thu, 26 Feb 2009 14:24:50 +0000 (14:24 +0000)]
Implement marker bit, which is used for several RTP payloads currently
under review. See "[FFmpeg-devel] RTP mark bit not passed to parse_packet"
thread on mailinglist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17616 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDon't (ab)use PKT_FLAG_* in RTP code, since the two have virtually nothing
rbultje [Thu, 26 Feb 2009 14:23:05 +0000 (14:23 +0000)]
Don't (ab)use PKT_FLAG_* in RTP code, since the two have virtually nothing
in common except for this one value. Change was requested by Luca in the
"[FFmpeg-devel] RTP mark bit not passed to parse_packet" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17615 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument rtsp.h, see "[PATCH] document rtsp.h" thread.
rbultje [Thu, 26 Feb 2009 14:15:41 +0000 (14:15 +0000)]
Document rtsp.h, see "[PATCH] document rtsp.h" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17614 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix next_pts computation to consider repeat_pict.
michael [Thu, 26 Feb 2009 13:15:22 +0000 (13:15 +0000)]
Fix next_pts computation to consider repeat_pict.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17613 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomovenc: add muxing of language along with metadata tags when available
aurel [Thu, 26 Feb 2009 13:13:48 +0000 (13:13 +0000)]
movenc: add muxing of language along with metadata tags when available

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17612 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoreturn -1 for errors in ff_mov_iso639_to_lang() to allow for error checking
aurel [Thu, 26 Feb 2009 13:11:18 +0000 (13:11 +0000)]
return -1 for errors in ff_mov_iso639_to_lang() to allow for error checking

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17611 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: indentation
aurel [Thu, 26 Feb 2009 13:08:22 +0000 (13:08 +0000)]
cosmetics: indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17610 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in mov muxer
aurel [Thu, 26 Feb 2009 13:06:49 +0000 (13:06 +0000)]
use new metadata API in mov muxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17609 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodon't trigger metadata compatibility code when user app already set metadata
aurel [Thu, 26 Feb 2009 13:00:13 +0000 (13:00 +0000)]
don't trigger metadata compatibility code when user app already set metadata
using new API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17608 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodv probe
bcoudurier [Thu, 26 Feb 2009 08:45:59 +0000 (08:45 +0000)]
dv probe

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17607 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoShare the function to write a raw FLAC header and use it in the Matroska
jbr [Thu, 26 Feb 2009 02:41:53 +0000 (02:41 +0000)]
Share the function to write a raw FLAC header and use it in the Matroska
muxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17606 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: add a comment in flac_write_header().
jbr [Thu, 26 Feb 2009 02:33:19 +0000 (02:33 +0000)]
cosmetics: add a comment in flac_write_header().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17605 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for full header extradata to raw FLAC muxer.
jbr [Thu, 26 Feb 2009 02:32:18 +0000 (02:32 +0000)]
Add support for full header extradata to raw FLAC muxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17604 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: line wrap and indentation after last commit.
jbr [Thu, 26 Feb 2009 02:30:29 +0000 (02:30 +0000)]
cosmetics: line wrap and indentation after last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17603 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse a shared function to validate FLAC extradata.
jbr [Thu, 26 Feb 2009 02:29:24 +0000 (02:29 +0000)]
Use a shared function to validate FLAC extradata.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17602 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSeparate the raw FLAC muxer from raw.c to its own file, flacenc.c.
jbr [Thu, 26 Feb 2009 02:21:43 +0000 (02:21 +0000)]
Separate the raw FLAC muxer from raw.c to its own file, flacenc.c.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17601 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRe-indent after last commit.
alexc [Thu, 26 Feb 2009 01:54:16 +0000 (01:54 +0000)]
Re-indent after last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17600 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRefactor AAC unsigned band type decoding for a modest speedup.
alexc [Thu, 26 Feb 2009 01:51:34 +0000 (01:51 +0000)]
Refactor AAC unsigned band type decoding for a modest speedup.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17599 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse const to better allow the compiler to optimize AAC independent coupling.
alexc [Thu, 26 Feb 2009 01:50:00 +0000 (01:50 +0000)]
Use const to better allow the compiler to optimize AAC independent coupling.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17598 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCompleted documentation of reference field.
cehoyos [Thu, 26 Feb 2009 01:38:51 +0000 (01:38 +0000)]
Completed documentation of reference field.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17597 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not set h264.is_reference for pictures that are delayed, but not
cehoyos [Thu, 26 Feb 2009 01:03:01 +0000 (01:03 +0000)]
Do not set h264.is_reference for pictures that are delayed, but not
actually reference frames.

Patch by NVIDIA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17596 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoThe field rangered in VDPAU's VdpPictureInfoVC1 now also contains
cehoyos [Thu, 26 Feb 2009 00:29:01 +0000 (00:29 +0000)]
The field rangered in VDPAU's VdpPictureInfoVC1 now also contains
rangeredfrm (VC-1 7.1.13) in bit 1.

Patch by NVIDIA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17595 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoApply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU.
cehoyos [Wed, 25 Feb 2009 23:58:52 +0000 (23:58 +0000)]
Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17594 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd missing prototype for ff_is_hwaccel_pix_fmt().
diego [Wed, 25 Feb 2009 23:24:34 +0000 (23:24 +0000)]
Add missing prototype for ff_is_hwaccel_pix_fmt().
patch by Gwenole Beauchesne, gbeauchesne,splitted-desktop,com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17593 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agohttp://bytesex.org/xawtv/ permanently redirects to
superdump [Wed, 25 Feb 2009 20:18:01 +0000 (20:18 +0000)]
http://bytesex.org/xawtv/ permanently redirects to
http://linux.bytesex.org/xawtv/ so update the URL

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17592 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd hwaccel->decode_slice() call for avhwaccel by Gwenole Beauchesne.
michael [Wed, 25 Feb 2009 19:39:42 +0000 (19:39 +0000)]
Add hwaccel->decode_slice() call for avhwaccel by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17591 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMore AVhwaccel hunks from Gwenole Beauchesne.
michael [Wed, 25 Feb 2009 19:16:27 +0000 (19:16 +0000)]
More AVhwaccel hunks from Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17590 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agospelling/wording/grammar cosmetics
diego [Wed, 25 Feb 2009 19:10:39 +0000 (19:10 +0000)]
spelling/wording/grammar cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17589 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agospelling/wording/grammar cosmetics
diego [Wed, 25 Feb 2009 18:03:47 +0000 (18:03 +0000)]
spelling/wording/grammar cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17588 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix VC1 and WMV3 playback in MPlayer.
cehoyos [Wed, 25 Feb 2009 15:43:53 +0000 (15:43 +0000)]
Fix VC1 and WMV3 playback in MPlayer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17587 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agountypo
michael [Wed, 25 Feb 2009 10:45:08 +0000 (10:45 +0000)]
untypo

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17586 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: reindent after last commit
kostya [Wed, 25 Feb 2009 08:36:00 +0000 (08:36 +0000)]
cosmetics: reindent after last commit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17585 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSince motion vectors for intra blocks are always zero, do not try to retrieve them.
kostya [Wed, 25 Feb 2009 08:35:37 +0000 (08:35 +0000)]
Since motion vectors for intra blocks are always zero, do not try to retrieve them.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17584 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix index edit rate, inverse num and den
bcoudurier [Wed, 25 Feb 2009 08:09:13 +0000 (08:09 +0000)]
fix index edit rate, inverse num and den

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17583 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimplify, use codec->block_align
bcoudurier [Wed, 25 Feb 2009 08:08:10 +0000 (08:08 +0000)]
simplify, use codec->block_align

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17582 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoset channel number even for inactive channels
bcoudurier [Wed, 25 Feb 2009 08:06:15 +0000 (08:06 +0000)]
set channel number even for inactive channels

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17581 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodo not set frame start bit since marked as not used and factorize
bcoudurier [Wed, 25 Feb 2009 08:05:43 +0000 (08:05 +0000)]
do not set frame start bit since marked as not used and factorize

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17580 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAVInputFormat.reed_seek2()
michael [Wed, 25 Feb 2009 03:18:11 +0000 (03:18 +0000)]
AVInputFormat.reed_seek2()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17579 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago10l: Ignore error output from failed attempt to read snapshot_version.
diego [Tue, 24 Feb 2009 23:10:36 +0000 (23:10 +0000)]
10l: Ignore error output from failed attempt to read snapshot_version.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17578 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRead revision string from the file snapshot_version if available.
diego [Tue, 24 Feb 2009 23:04:52 +0000 (23:04 +0000)]
Read revision string from the file snapshot_version if available.
This will be used by daily snapshots without Subversion metadata.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17577 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: USE $() instead of ``, the former can be nested more easily.
diego [Tue, 24 Feb 2009 22:54:58 +0000 (22:54 +0000)]
cosmetics: USE $() instead of ``, the former can be nested more easily.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17576 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoExport timestamp parameter from H.264.
cehoyos [Tue, 24 Feb 2009 22:24:34 +0000 (22:24 +0000)]
Export timestamp parameter from H.264.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17575 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd timestamp computation if values are exported by decoder.
cehoyos [Tue, 24 Feb 2009 22:19:09 +0000 (22:19 +0000)]
Add timestamp computation if values are exported by decoder.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17574 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago1000l for me, wrong pix_fmt.
michael [Tue, 24 Feb 2009 22:19:02 +0000 (22:19 +0000)]
1000l for me, wrong pix_fmt.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17573 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCorrect time_base and repeat_pict for MPEG2 video.
cehoyos [Tue, 24 Feb 2009 20:23:19 +0000 (20:23 +0000)]
Correct time_base and repeat_pict for MPEG2 video.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17572 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCorrect time_base of H.264 and repeat_pict.
cehoyos [Tue, 24 Feb 2009 20:19:59 +0000 (20:19 +0000)]
Correct time_base of H.264 and repeat_pict.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17571 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange duration computation to use time_base instead of TB/2.
cehoyos [Tue, 24 Feb 2009 20:17:02 +0000 (20:17 +0000)]
Change duration computation to use time_base instead of TB/2.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17570 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd ff_find_hwaccel() by Gwenole Beauchesne
michael [Tue, 24 Feb 2009 19:04:43 +0000 (19:04 +0000)]
add ff_find_hwaccel() by Gwenole Beauchesne

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17569 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoff_find_hwaccel()
michael [Tue, 24 Feb 2009 18:51:16 +0000 (18:51 +0000)]
ff_find_hwaccel()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17568 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoav_hwaccel_next() by Gwenole Beauchesne.
michael [Tue, 24 Feb 2009 18:47:36 +0000 (18:47 +0000)]
av_hwaccel_next() by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17567 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoav_register_hwaccel() from Gwenole Beauchesne.
michael [Tue, 24 Feb 2009 18:46:00 +0000 (18:46 +0000)]
av_register_hwaccel() from Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17566 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAnother AVhwaccel hunk from Gwenole Beauchesne.
michael [Tue, 24 Feb 2009 18:39:42 +0000 (18:39 +0000)]
Another AVhwaccel hunk from Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17565 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd and use ff_pixfmt_list_420.
michael [Tue, 24 Feb 2009 18:27:52 +0000 (18:27 +0000)]
Add and use ff_pixfmt_list_420.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17564 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoApproved hunk from the AVHWaccel patch by Gwenole Beauchesne.
michael [Tue, 24 Feb 2009 18:24:56 +0000 (18:24 +0000)]
Approved hunk from the AVHWaccel patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17563 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not reimplement ff_celp_lp_synthesis_filterf().
vitor [Tue, 24 Feb 2009 18:11:42 +0000 (18:11 +0000)]
Do not reimplement ff_celp_lp_synthesis_filterf().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17562 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename buf_vdpau to buf_start
kostya [Tue, 24 Feb 2009 17:09:57 +0000 (17:09 +0000)]
Rename buf_vdpau to buf_start
Patch by Gwenole Beauchesne <g$lastname> <at> <(antonym of "joined")-desktop><com>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17561 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd ff_h263_find_resync_marker() to find the bit position of the next resync_marker...
michael [Tue, 24 Feb 2009 16:12:47 +0000 (16:12 +0000)]
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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17560 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocheck for a stuffing byte at the end of a slice
stefang [Tue, 24 Feb 2009 15:56:53 +0000 (15:56 +0000)]
check for a stuffing byte at the end of a slice

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17559 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agochange macroblock loop in inter frames so that after a
stefang [Tue, 24 Feb 2009 15:54:51 +0000 (15:54 +0000)]
change macroblock loop in inter frames so that after a
slice header the skip count is always parsed first

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17558 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago100l: Revert removal of GPL check for libswscale.
diego [Tue, 24 Feb 2009 15:33:39 +0000 (15:33 +0000)]
100l: Revert removal of GPL check for libswscale.
libswscale still compiles GPL parts by default.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17557 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoThe software scaler is no longer GPLed.
diego [Tue, 24 Feb 2009 15:11:45 +0000 (15:11 +0000)]
The software scaler is no longer GPLed.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17556 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not duplicate frames if the muxer claims that its not needed.
michael [Tue, 24 Feb 2009 15:06:17 +0000 (15:06 +0000)]
Do not duplicate frames if the muxer claims that its not needed.
Note to release manager, this is risky and should be reverted if it causes any problem.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17555 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd AVFMT_VARIABLE_FPS to specify which muxers dont need duplicated frames.
michael [Tue, 24 Feb 2009 15:04:18 +0000 (15:04 +0000)]
Add AVFMT_VARIABLE_FPS to specify which muxers dont need duplicated frames.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17554 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate information regarding LGPL libswscale.
diego [Tue, 24 Feb 2009 14:53:46 +0000 (14:53 +0000)]
Update information regarding LGPL libswscale.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17553 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMark two variables with av_uninit to avoid false positive gcc warnings.
diego [Tue, 24 Feb 2009 14:13:46 +0000 (14:13 +0000)]
Mark two variables with av_uninit to avoid false positive gcc warnings.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17552 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
michael [Tue, 24 Feb 2009 13:35:54 +0000 (13:35 +0000)]
Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
reason as mpeg2. (telecine amongth others)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17551 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix get_ur_golomb_jpegls() with A32_BITSTREAM_READER
mru [Tue, 24 Feb 2009 01:41:44 +0000 (01:41 +0000)]
Fix get_ur_golomb_jpegls() with A32_BITSTREAM_READER

If k==0, log==0 can indicate that the coded value uses more than
MIN_CACHE_BITS bits.  With MIN_CACHE_BITS==32, the fast branch is
incorrectly taken in this case unless explicitly forbidden.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17550 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAVPixFmtDescriptor doxy
michael [Tue, 24 Feb 2009 01:12:25 +0000 (01:12 +0000)]
AVPixFmtDescriptor doxy

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17549 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPixel Format descriptor, try #1.
michael [Tue, 24 Feb 2009 01:08:29 +0000 (01:08 +0000)]
Pixel Format descriptor, try #1.
(yes its intentionally unused, this is intended as a basis for further
 work, and to prevent repeation of the whole discussion dying and the
 results being forgotten)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17548 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement in AVFilterGraph the scale_sws_opts field, and pass its
stefano [Mon, 23 Feb 2009 23:45:21 +0000 (23:45 +0000)]
Implement in AVFilterGraph the scale_sws_opts field, and pass its
value in the args for the auto-inserted scale filters.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17547 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b