Martin Storsjö
e96b4a53df
vlc/rl: Add ff_ prefix to the nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-15 22:06:26 +02:00
Diego Biurrun
0144fe6995
Remove Sun medialib glue code.
...
It is obscure, most likely unused and not bit-exact compared to
libavcodec due to a different IDCT transform algorithm.
2012-02-08 08:52:30 +01:00
John Brooks
9b6aafba6c
mpegvideo: fix invalid memory access for small video dimensions
...
When either video dimension is only one macroblock, subtractions
based on v_edge_pos and the macroblock size may be negative. In
that situation, an unsigned comparison isn't sufficent to test for
MV overruns, because a limit of (unsigned)-1 will let any other
value pass.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-01-21 08:28:08 +01:00
Janne Grunau
3ab7700018
mpegvideo: claim ownership of referenced pictures
...
Under certain conditions pictures could be released before they were
returned with frame-threading. Broken mv computation in the upcoming
rv34 frame-threading patch was caused by this.
To prevent contexts from running out of available pictures the loop
releasing "unused" pictures has to be run for B frames too.
2012-01-10 22:51:56 +01:00
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
2012-01-07 22:13:07 +01:00
Janne Grunau
881a5e047d
mpegenc: use avctx->slices as number of slices
...
Adds a new member to MpegEncContext to hold the number of used slice
contexts. Fixes segfaults with '-threads 17 -thread_type slice' and
fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
2012-01-02 19:20:23 +01:00
Konstantin Todorov
c65dfac466
mpegvideo.c: K&R formatting and cosmetics.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-12-25 10:07:19 -08:00
Mans Rullgard
8400b126ac
avcodec: deprecate AVFrame.age
...
This was intended as an optimisation for skipped blocks in MPEG2
P-frames and never used elsewhere. Removing this "optimisation"
speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9).
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-18 22:14:33 +00:00
Andrey Utkin
4f820131fa
mpegvideo: remove abort() in ff_find_unused_picture()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-12-14 18:17:21 +01:00
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
2011-12-12 23:06:23 +01:00
Dustin Brody
5b22d6e132
lavc: convert error_recognition to err_recognition.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-12 19:42:50 +01:00
Diego Biurrun
ee41963f19
cosmetics: drop some completely pointless parentheses
2011-12-07 15:29:13 +01:00
Konstantin Todorov
4d9ec050a2
Code cleanup - mpegvideo.c - 500-1000line
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-12-06 11:32:38 -08:00
Konstantin Todorov
363114e813
mpegvideo.c: code cleanup - first 500 lines.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-12-03 14:03:27 -08:00
Justin Ruggles
560f773c7d
avcodec: change number of plane pointers from 4 to 8 at next major bump.
...
Add AV_NUM_DATA_POINTERS to simplify the bump transition.
This will allow for supporting more planar audio channels without having to
allocate separate pointer arrays.
2011-12-02 17:40:40 -05:00
Justin Ruggles
f3a29b750a
avcodec: move some AVCodecContext fields to an internal struct.
...
A new field, AVCodecContext.internal is used to hold a new struct
AVCodecInternal, which has private fields that are not codec-specific and are
used by general libavcodec functions.
Moved internal_buffer, internal_buffer_count, and is_copy.
2011-11-19 10:01:05 -05:00
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-11-14 16:07:32 +01:00
Anton Khirnov
3fc0830432
mpeg12: move closed_gop from MpegEncContext to Mpeg1Context
...
It's MPEG-1/2 specific.
2011-10-23 14:15:56 +02:00
Anton Khirnov
0842d58998
lavc: use avpriv_ prefix for ff_toupper4.
...
It's used in lavf.
2011-10-20 21:06:58 +02:00
Anton Khirnov
773375c3d0
lavc: rename ff_find_start_code to avpriv_mpv_find_start_code
...
It's used in lavf.
2011-10-20 21:06:58 +02:00
Steven Walters
27237d524e
w32threads: support for frame multithreading
...
Replace our incomplete w32threads implementation with x264's pthreads
w32threads wrapper.
Relicensed to LGPL with kind permission by Pegasys Inc.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-16 21:45:16 +02:00
Ronald S. Bultje
330deb7592
mpegvideo: set correct offset for edge emulation buffer.
...
Using the old code, half of it was unused and the other half was too
small for e.g. >8bpp interlaced data, causing random buffer overruns.
2011-10-05 04:01:23 -07:00
Ronald S. Bultje
0884dd5a1b
mpegvideo: fix position of bottom edge.
...
It was wrong in colorspaces where horizontal and vertical chroma
subsampling are not the same, e.g. 422.
2011-10-05 04:01:23 -07:00
Anton Khirnov
e5b29c1f6b
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
2011-09-21 13:51:53 +02:00
Diego Biurrun
95a06eb4d5
Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination.
...
This fixes build failures with -DDEBUG in CPPFLAGS.
2011-09-21 09:57:32 +02:00
Alberto Delmás
45ecda8554
Windows Media Image decoder (WMVP/WVP2)
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-23 11:18:35 +02:00
Mans Rullgard
c3027b4d2f
mpegvideo: initialise DSPContext in ff_dct_common_init()
...
The functions and tables initialised in this function rely on an
initialised DSPContext. Make sure they always have one.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-27 20:14:12 +01:00
Ronald S. Bultje
80469eafb7
mpegvideo: fix invalid picture unreferencing.
...
Mpegvideo would free frames as soon as they're not the next or prev
picture. This is fine for a single-threading model, but fails miserably
in a system where pictures can be referenced (as e.g. last/prev pic)
in other threads. Keeping track of ownership of pictures keeps image
references (e.g. motion vectors, or the reference of a motion vector)
alive as long as the picture data itself is alive.
This also happens to fix make THREADS=[3-16] fate-vsynth[12]-error.
2011-07-20 10:26:49 -07:00
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
...
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
2011-07-11 00:19:00 +02:00
Frank Barchard
f98c9fb27d
mpeg1video: don't abort if thread_count is too high.
...
Instead, just decrease it to a valid value and use that.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-09 10:13:57 -07:00
Jason Garrett-Glaser
5029a40633
H.264: fix overreads of qscale_table
...
filter_mb_fast assumed that qscale_table was padded like many of the other tables.
2011-07-04 06:39:20 -07:00
Jason Garrett-Glaser
c90b94424c
4:4:4 H.264 decoding support
...
Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
2011-06-13 21:16:30 -07:00
Jason Garrett-Glaser
504811baea
Roll back 4:4:4 H.264 for now
...
Needs some ARM/PPC asm modifications.
2011-06-13 13:38:46 -07:00
Jason Garrett-Glaser
c9c493872c
4:4:4 H.264 decoding support
...
Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
2011-06-13 12:21:39 -07:00
Ronald S. Bultje
83a8b3002f
mpegvideoenc: fix multislice fate tests with threading disabled.
...
The MPEG encoding code assumes that n_threads == n_slices, and thus it
should use n_slices even if threading itself is disabled.
2011-06-03 09:52:09 -07:00
Alexander Strange
6a9c859444
H264/MPEG frame-level multi-threading.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-06-02 10:16:20 -07:00
Alex Converse
8c51620f21
Remove h263_msmpeg4 from MpegEncContext.
...
It was long ago superseded by msmpeg4_version.
2011-05-25 13:24:25 -07:00
Michael Niedermayer
c4fb3b0327
mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame.
...
This allows the values to be used without changing C code and is closer to how
the other DEBUG flags work.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12 18:02:28 +02:00
Anatoly Nenashev
b44c8ad280
Fix crash of interlaced MPEG2 decoding
...
Problem description, preliminary review discussion at
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/127731
2011-05-11 16:35:02 +02:00
Ronald S. Bultje
d969e93a72
mpegvideo: reindent.
2011-05-03 22:35:19 -04:00
Ronald S. Bultje
fb22c23715
mpegvideo: don't av_malloc(0).
2011-05-03 22:29:00 -04:00
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-02 12:18:44 +02:00
Anton Khirnov
e7021c0ed5
lavc: remove FF_API_HURRY_UP cruft
2011-04-26 08:16:05 +02:00
Anton Khirnov
8ed2ae09a2
lavc: mark hurry_up for removal on next major bump
...
It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.
2011-04-02 16:17:24 +02:00
Alexander Strange
1500be13f2
dsputil: allow to skip drawing of top/bottom edges.
2011-03-26 17:45:38 -04:00
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-02-15 16:18:21 +01:00
Ronald S. Bultje
2e27959879
Move ff_emulated_edge_mc() into DSPContext.
2011-01-28 22:13:26 -05:00
Michael Niedermayer
52654005ca
Simplify tff setting code in MPV_frame_start().
...
Originally committed as revision 26090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-25 19:49:19 +00:00
Reimar Döffinger
00d1e96bf4
H.264 decode: support cropping up to 28 pixels in interlaced mode.
...
Contrary to progressive, just being able to crop up to 14/15 pixels
is not enough to encode all supported resolutions, and the new
behaviour is also consistent with e.g. MPEG-2 etc.
Originally committed as revision 25669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-03 20:52:28 +00:00
Ivan Kalvachev
392c99007f
The debug text output of macroblocks can indicate MB_TYPE_INTERLACED,
...
but it used to do it only for h264 codec.
Allow it for other codecs, as mpeg2 and mpeg4 also set this flag.
Originally committed as revision 25156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-21 22:44:27 +00:00
Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-07 19:15:29 +00:00
Laurent Aimar
8bdf11815c
Fixed mpeg12 top field first flag value with field picture encoding.
...
The relevent extract of the iso 13818-2 about the value of the syntaxical
element top_field_first of the Picture Coding Extension is:
"top_field_first -- The meaning of this element depends upon picture_structure,
progressive_sequence and repeat_first_field.
[...]
In a field picture top_field_first shall have the value '0', and the only field
output by the decoding process is the decoded field picture."
Originally committed as revision 24853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 18:28:42 +00:00
Stefano Sabatini
6ce9b4310c
Remove use of the deprecated function avcodec_check_dimensions(), use
...
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 09:37:04 +00:00
Måns Rullgård
79042a6eb1
Fix memory leak introduced in r23933
...
Originally committed as revision 23998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 15:00:21 +00:00
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 10:49:29 +00:00
Måns Rullgård
2cbd734a38
Maybe fix threaded mpeg*video encoding
...
This allocates per-thread copies of some MpegEncContext.ac_val which
is used concurrently from the encoding threads.
Originally committed as revision 23933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 11:51:01 +00:00
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
Francesco Lavra
603a5f04b2
Factorize some code into the new function ff_toupper4().
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:16:40 +00:00
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:45:34 +00:00
Michael Niedermayer
fc4a2d1e8c
Change ref_index structure so it matches how its organized in h264.
...
Also revert the related error concealment hotfix.
Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 02:17:04 +00:00
Michael Niedermayer
53f66cee0c
Add ff_ prefix for mpeg2_dc_scale_table.
...
Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 22:49:46 +00:00
Michael Niedermayer
6506c3d2b2
Support intra_dc_precision>8 in jpeg
...
Originally committed as revision 22554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 21:27:13 +00:00
Måns Rullgård
94ca624fbc
Move ff_sqrt() to libavutil/intmath.h
...
Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 21:19:56 +00:00
Michael Niedermayer
358b5b1a59
Get rid of mb2b8_xy and b8_stride, change arrays organized based on b8_stride to
...
ones based on mb_stride in h264.
about 20 cpu cycles faster overall per MB
Originally committed as revision 22065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-25 23:44:42 +00:00
Laurent Aimar
92c6a099ba
H264 DXVA2 implementation
...
It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
It is implemented by using AVHWAccel API. It has been tested successfully
for some time in VLC using an nvidia card on Windows 7.
To compile it, you need to have the system header dxva2api.h (either from
microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h )
The generated libavcodec.dll does not depend directly on any new lib as
the necessary objects are given by the application using FFmpeg.
Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 18:54:51 +00:00
Anatoly Nenashev
e1bb0364f8
Support lowres 3 when decoding MPEG video.
...
Patch by Anatoliy Nenashev, nenashev_as mail ru
Originally committed as revision 21239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 10:41:52 +00:00
Diego Biurrun
d702a2e6c6
Get rid of pointless CONFIG_WMV2 definition.
...
Originally committed as revision 20971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 02:08:25 +00:00
Michael Niedermayer
d52b4abe8b
Move dummy picture allocation code from mpeg1/2 to mpegvideo.
...
This fixes a infinite loop on a b frame.
Originally committed as revision 20672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 21:22:01 +00:00
Michael Niedermayer
078cdecf9e
Set mb_y in mpeg2 field pictures like h264 does.
...
This fixes -vismv & -debug 16384 with field pictures.
Originally committed as revision 20670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 19:14:00 +00:00
Ramiro Polla
d31dbec374
Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
...
parameters.
Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-06 00:08:19 +00:00
Luca Abeni
747069e254
Properly initialize AVFrames to default values in the MPEG decoder (fixes
...
the AVFrame pts when decoding MPEG 1 and 2 video)
Originally committed as revision 19136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-09 10:06:25 +00:00
Baptiste Coudurier
a4a750d3b2
Rename alloc_picture to ff_alloc_picture and move its definition
...
in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c,
because it contains motion code.
Originally committed as revision 18968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 19:55:35 +00:00
Baptiste Coudurier
9d9a623925
decode mpeg-2 closed gop first b frames, fix issue #824
...
Originally committed as revision 18837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-15 05:39:44 +00:00
Baptiste Coudurier
357ec71f09
change pic type to Picture* and remove casts
...
Originally committed as revision 18833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-15 02:01:53 +00:00
Michael Niedermayer
d0d62cc955
Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.
...
Originally committed as revision 18559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 14:51:00 +00:00
Baptiste Coudurier
1b66180263
fix indentation
...
Originally committed as revision 18482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 03:35:32 +00:00
Michael Niedermayer
0127b86108
Fix mb_height for interlaced mpeg2.
...
This correctly fixes issue961, thanks to steven warren for spotting my mistake.
Originally committed as revision 18381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:48:44 +00:00
Gwenole Beauchesne
da425800ee
Add VA API pixfmt (only VLD is available ATM).
...
Originally committed as revision 18309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:08:45 +00:00
Gwenole Beauchesne
952e2083bc
Rename hwaccel_data_private to hwaccel_picture_private.
...
Originally committed as revision 18071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 12:04:58 +00:00
Gwenole Beauchesne
cd823ff950
Use av_mallocz() to initialize hwaccel_data_private.
...
Originally committed as revision 17942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:25:00 +00:00
Gwenole Beauchesne
68e5d5235e
Add private HW accel data infrastructure.
...
Originally committed as revision 17899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 08:04:41 +00:00
Gwenole Beauchesne
34e46c44da
Add frame buffer allocators. aka simplify calls to
...
AVCodecContext.{get,release}_buffer().
Originally committed as revision 17804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 08:47:29 +00:00
Benoit Fouet
d69da18cb0
Merge three conditions in a single 'if' instead of two.
...
Originally committed as revision 17728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 09:22:17 +00:00
Gwenole Beauchesne
7f8025349a
Make ff_print_debug_info() a no-op when using HW acceleration.
...
Patch by Gwenolé Beauchesne.
Originally committed as revision 17646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 15:51:15 +00:00
Gwenole Beauchesne
044f0296a4
Add ff_hwaccel_pixfmt_list_420[] definition.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:09:23 +00:00
Michael Niedermayer
09a9b45e4f
Add and use ff_pixfmt_list_420.
...
Originally committed as revision 17564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:27:52 +00:00
Michael Niedermayer
c269cf68a0
Approved hunks for VAAPI / our new shiny hwaccel API
...
by Gwenole Beauchesne gbeauchesne splitted desktop com
Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 13:35:52 +00:00
Daniel Verkamp
5ef251e504
Add missing av_cold in static init/close functions.
...
Patch by Daniel Verkamp daniel at drv dot nu.
Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 13:48:55 +00:00
Ivan Kalvachev
21effaa4b2
Change the type of pblocks from pointers to short array into
...
pointers to array of 64 DCTELEM, similarly to other block fields.
This also get rid of some casts and fixes a warning.
Originally committed as revision 17517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 09:02:06 +00:00
Ivan Kalvachev
9cfc1b3a84
Exit with error if MPV_common_init() is called with PIX_FMT_NONE.
...
Give nice error message to fix codecs that call it this way.
Originally committed as revision 17452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 08:39:47 +00:00
Diego Biurrun
3842560379
whitespace cosmetics: Reindent a few lines after the last commit.
...
Originally committed as revision 17370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:50:06 +00:00
Diego Biurrun
83344066d3
Get rid of some '#if CONFIG_MPEG_XVMC_DECODER' preprocessor checks around if
...
statements by merging the CONFIG_MPEG_XVMC_DECODER check into the if condition.
Originally committed as revision 17369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:49:08 +00:00
Diego Biurrun
4440bd0da4
Add xvmc_internal.h that contains all internal xvmc function declarations.
...
This allows getting rid of a bunch of ugly forward declarations.
Originally committed as revision 17280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:37:14 +00:00
Diego Biurrun
ed92bedb63
Rename some forward declarations that were missed, fixes the warnings:
...
libavcodec/mpegvideo.o libavcodec/mpegvideo.c
libavcodec/mpegvideo.c: In function ‘MPV_frame_start’:
libavcodec/mpegvideo.c:944: warning: implicit declaration of function ‘ff_xvmc_field_start’
libavcodec/mpegvideo.c: In function ‘MPV_frame_end’:
libavcodec/mpegvideo.c:957: warning: implicit declaration of function ‘ff_xvmc_field_end’
Originally committed as revision 17258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:51:17 +00:00
Diego Biurrun
a002da797c
Fix compilation: XVMC_ --> ff_xvmc prefix for xvmc functions.
...
Originally committed as revision 17256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:46:32 +00:00
Ivan Kalvachev
78f9a87830
use ff_xvmc for function names instead of XVMC_
...
Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:25:41 +00:00
Diego Biurrun
fc2dd7e3de
Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
...
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:37:40 +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
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
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
NVIDIA Corporation
369122dd77
Add VDPAU hardware accelerated decoding for H264 which can be used by
...
video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun
b24298badc
Switch xvmc over to a CONFIG_ option.
...
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:22:51 +00:00
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Michael Niedermayer
a6f2c0d6e5
Fix regression test failure with pthreads on multiprocessor systems.
...
Fixes issue517
Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 10:43:08 +00:00
Carl Eugen Hoyos
8d2fc163ce
Rename copy_picture to ff_copy_picture.
...
Originally committed as revision 15508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 00:27:09 +00:00
Michael Niedermayer
fe67a236dd
Do not use the generic "alloc missing references" code for h.264 as it does
...
not work correctly in that case.
Fixes issue652.
Originally committed as revision 15413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 14:34:14 +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
Baptiste Coudurier
014d2f0509
fix mpeg 4:2:2 vis_qp and vis_mb_type debug, fix issue #471
...
Originally committed as revision 14493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:51:19 +00:00
Diego Biurrun
ca74c0a180
cosmetics: Fix two common typos: wont --> will not, lets --> let us.
...
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:09:28 +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
Michael Niedermayer
5b0e7dacd8
Fix MB skipping with droppable frames.
...
Fixes issue323.
Originally committed as revision 13378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:07:35 +00:00
Keiji Costantini
bd7c626ad0
Unroll codepath
...
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM
Originally committed as revision 12917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:30:54 +00:00
Keiji Costantini
54816a3e3f
cosmetics: Break an overly long line.
...
patch by Keiji Costantini, lists strites net
Originally committed as revision 12783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:09:39 +00:00
Diego Biurrun
a815037409
Classify mlib as a configurable option, not as a hardware feature.
...
Originally committed as revision 12589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 21:30:16 +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
Aurelien Jacobs
6cbe71bd06
move ff_mpeg1_dc_scale_table to mpegvideo.c
...
Originally committed as revision 12344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:29:15 +00:00
Aurelien Jacobs
288a44fb7a
move ff_emulated_edge_mc() to dsputil
...
Originally committed as revision 12318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 23:10:47 +00:00
Aurelien Jacobs
4c79b95c32
move ff_init_scantable() into dsputil
...
Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 10:26:56 +00:00
Aurelien Jacobs
5a6a9e78ab
move draw_edges() into dsputil
...
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 00:07:41 +00:00
Michael Niedermayer
cea9642014
Fix ;;
...
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Michael Niedermayer
dc6340e048
Remove pointless code.
...
Originally committed as revision 11885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:26:40 +00:00
Jeff Downs
79db7ac6ef
Fix memory leak in h264 decoder. allocated_edge_emu_buffer was being allocated
...
in both mpegvideo and h264 decoder. Fixed by allowing all (master and duplicate)
contexts to fully initialize in MPV_frame_start and copying these into
H264Contexts.
Mailing list discussion:
[FFmpeg-devel] Memory leak in h264
Tue, 22 Jan 2008 15:22:55
Originally committed as revision 11657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:12:38 +00:00
Michael Niedermayer
0063c05c67
fix segfault with interlaced h.264
...
Originally committed as revision 11113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-29 15:09:24 +00:00
Diego Biurrun
3a994ca43b
Clarify comment block and rewrite in better English.
...
Originally committed as revision 10837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 15:13:10 +00:00
Michael Niedermayer
3c11a27b44
replace (disabled by default) assert(0) by abort() if the picture buffer
...
overflows due to a buggy codec
note, ive not checked if such overflows could have been exploitable before this
commit
Originally committed as revision 10777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 11:11:33 +00:00
Jeff Downs
12d96de3ac
Manage Picture buffers for fields as well as frames. Pair complementary fields into one MPV Picture.
...
Part of PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30
Originally committed as revision 10691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 17:44:38 +00:00
Baptiste Coudurier
6180ade790
export DCT_common_init and add ff_prefix
...
Originally committed as revision 10680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 09:09:19 +00:00
Diego Biurrun
f62a9a46e1
Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
...
AltiVec-specific now.
Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 14:01:42 +00:00
Diego Biurrun
b4fb08035e
Fix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file
...
that is only compiled when AltiVec is enabled.
Originally committed as revision 10651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 13:49:51 +00:00
Jeff Downs
2ddcf84bb7
h264/PAFF preparation: use DELAYED_PIC_REF to mark non-refs frames as held for delayed output
...
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30
Originally committed as revision 10592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 13:28:13 +00:00
Diego Biurrun
e0a5d77132
Replace HAVE_BFIN with ARCH_BFIN. Blackfin is a CPU architecture, not an
...
instruction set extension and configure sets ARCH_BFIN, not HAVE_BFIN.
Originally committed as revision 10572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 07:30:22 +00:00
Andreas Öman
afebe2f7ca
Add slice-based parallel H.264 decoding
...
Patch by Andreas Öman % andreas A olebyn P nu %
NB: depends on having a thread library activated at config time, and on
having a source encoded with multiple slices
Original threads:
date: May 18, 2007 11:00 PM
subject: [FFmpeg-devel] Parallelized h264 proof-of-concept
date: Jun 15, 2007 10:10 PM
subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)
date: Jun 25, 2007 7:02 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized
Originally committed as revision 10407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 16:18:15 +00:00
Marc Hoffman
1cc6bd4f10
renaming ARCH_BFIN to HAVE_BFIN
...
Originally committed as revision 10272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 14:58:44 +00:00
Michael Niedermayer
cde9e78001
make grayscale only decoding checks in inner loops compiletime killable
...
Originally committed as revision 9846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 00:39:39 +00:00
Daniel Kristjansson
29d2dc59f9
fix mem leak
...
patch by Daniel Kristjansson: [danielk cuymedia net]
Original thread: [FFmpeg-devel] [PATCH] alloc_picture needs to free buffer when
it's not going to use it
Date: 07/20/2007 07:27 PM
Originally committed as revision 9838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 14:51:21 +00:00
Roman Shaposhnik
f49f6e8889
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
...
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:05:46 +00:00
Måns Rullgård
00f0564f44
move ff_h263_round_chroma() to mpegvideo.h as static inline
...
Originally committed as revision 9600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 21:04:53 +00:00
Aurelien Jacobs
898d5d5daa
move init_vlc_rl from h263.c to mpegvideo.c
...
Originally committed as revision 9578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:17:42 +00:00
Aurelien Jacobs
b776e3d11b
move ff_set_qscale from h263.c to mpegvideo.c
...
Originally committed as revision 9567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 21:07:24 +00:00
Diego Biurrun
7b94177e37
Group all copyright and author notices together.
...
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Aurelien Jacobs
cacfe026a8
make DCT_common_init() static
...
Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:55:48 +00:00
Aurelien Jacobs
53727262cb
move mpeg encoder specific initialization in the encoder specific file
...
Originally committed as revision 9480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:48:29 +00:00
Benoit Fouet
3ada94ba28
Description: split mpegvideo.c
...
Originally committed as revision 9467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:55:56 +00:00
Benoit Fouet
255eccab6e
move dct_quantize and denoise_dct function pointers initialization to C
...
functions after arch dependant initializations
Originally committed as revision 9375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 11:01:50 +00:00
Benoit Fouet
64e26e8c27
remove unused constant definition
...
Originally committed as revision 9372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 07:08:00 +00:00
Benoit Fouet
8c71c5e454
aanscales is used only with CONFIG_ENCODERS
...
Originally committed as revision 9370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:14:19 +00:00
Albert Lee
ad0f6c1fcd
Simplify init preprocessor statements.
...
patch by Albert Lee, trisk+xine acm.jhu edu
Originally committed as revision 9307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 08:44:41 +00:00
Marc Hoffman
1a822d303f
integrating MPV_common_init_bfin into the build system and mpegvideo.c
...
Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:34:06 +00:00
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
42610c4983
Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
...
Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-28 09:30:41 +00:00
Michael Niedermayer
db7f647e10
use AV_LOG_ERROR instead of INFO for errors
...
Originally committed as revision 9078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:41:36 +00:00
Michael Niedermayer
64be2e60ef
sanity checks for bitrate tolerance and buffer size (= fail if a single frame at the
...
requested bitrate would be bigger than the buffer size)
Originally committed as revision 9077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:35:15 +00:00
Aurelien Jacobs
63ab52b7ec
move the mjpeg_encoder struct from mpegvideo.c to mjpegenc.c
...
Originally committed as revision 9059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:58:01 +00:00
Aurelien Jacobs
44301eaa55
add a proper prefix to all mjpeg encoder exported functions
...
Originally committed as revision 9058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:54:54 +00:00
Aurelien Jacobs
d9c9259f89
split ljpeg encoder out of mjpeg.c
...
Originally committed as revision 9057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:42:49 +00:00
Aurelien Jacobs
37c26ae9ff
remove some unused mjpeg encoding variables
...
(they were always set to a constant value)
Originally committed as revision 9023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 11:53:27 +00:00
Aurelien Jacobs
f8b2417eba
cosmetics: indent
...
Originally committed as revision 9014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:26:21 +00:00
Aurelien Jacobs
70724cba75
replace some #ifdef CONFIG_* by if(ENABLE_*)
...
Originally committed as revision 9013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:24:37 +00:00
Aurelien Jacobs
6d8bfb52f0
cosmetics: indentation
...
Originally committed as revision 9012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:43:23 +00:00
Aurelien Jacobs
f6993c9fa1
make compilation of mjpeg.c optional
...
Originally committed as revision 9011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:42:07 +00:00
Aurelien Jacobs
cf32975222
jpegls never call this code, so those tests are useless
...
Originally committed as revision 9009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:50:12 +00:00
Aurelien Jacobs
87acdd5391
cosmetics: reindent
...
Originally committed as revision 8986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:28:23 +00:00
Aurelien Jacobs
1502555362
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
...
Originally committed as revision 8975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:11:36 +00:00
Michael Niedermayer
3502a54f59
kill av_mallocz_static() calls in init_rl()
...
Originally committed as revision 8402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:19:19 +00:00
Michael Niedermayer
861450d551
cosmetic
...
Originally committed as revision 8392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:49 +00:00
Michael Niedermayer
3e207bb1bd
remove silly static int done protecting the initalization of 32 elements to 1
...
Originally committed as revision 8391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:11 +00:00
Michael Niedermayer
2d2020b825
remove redundant memset()
...
Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:59 +00:00
Michael Niedermayer
5ac0915179
dont malloc() static mv_penalty arrays
...
Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:05 +00:00
Baptiste Coudurier
5a6b9443ed
dummy support for mpeg2 non linear quant
...
Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:26:20 +00:00
Baptiste Coudurier
6b936ec662
get rid of CODEC_FLAG_H263P_AIC with next major bump
...
Originally committed as revision 8167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 10:29:03 +00:00
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Michel Bardiaux
1d726a5958
Spelling fix
...
Originally committed as revision 7988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:20 +00:00
Luca Barbato
994fd8500d
Fix warnings and simplify/reorder the code
...
Originally committed as revision 7726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:35:12 +00:00
Michael Niedermayer
1fdefd9881
fix inifnite loop with http://sam.zoy.org/zzuf/lol-mplayer.mpg
...
Originally committed as revision 7718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 15:26:08 +00:00
Baptiste Coudurier
9d57fd9be5
add hint for closed gop and sc threshold error message
...
Originally committed as revision 7692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 16:15:00 +00:00
Michael Niedermayer
6ad7cd0469
set last_picture for h.264 too, this significantly improves error concealment quality, i hope it doesnt break anything as last_picture_ptr was always NULL for h.264
...
Originally committed as revision 7686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 14:20:00 +00:00
Michael Niedermayer
2d0bcfb412
some interlaced direct sanity checks
...
Originally committed as revision 7442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 02:45:05 +00:00
Michael Niedermayer
c52f5d66a2
skiprd
...
Originally committed as revision 7365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-23 03:05:36 +00:00
Aurelien Jacobs
df32bc1213
more simplification
...
Originally committed as revision 7352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 22:58:02 +00:00
Michael Niedermayer
acff54d831
10l
...
Originally committed as revision 7351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 22:35:13 +00:00
Michael Niedermayer
5970845f1f
FIXME has already been fixed ages ago
...
Originally committed as revision 7348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:49:40 +00:00
Michael Niedermayer
66884a2946
simplify
...
Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:46:32 +00:00
Michael Niedermayer
d6975eb82b
use qscale_table in adaptive quant
...
some PSNR/bitrate improvement for adaptive quant
Originally committed as revision 7346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:45:53 +00:00
Michael Niedermayer
2f16af0667
skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)
...
Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:20:02 +00:00
Michael Niedermayer
cb284d4b77
try direct mode MB after QPRD, slight PSNR/bitrate gain if b frames + QPRD
...
Originally committed as revision 7336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 23:43:13 +00:00
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:35:08 +00:00
Michael Niedermayer
6dc7d5da70
ff_check_alignment to warn the user about a missaligned stack
...
Originally committed as revision 7249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 18:33:00 +00:00
Måns Rullgård
8da9266cea
use the standard INT64_C() macro for 64-bit constants
...
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Michael Niedermayer
bb243e7100
fix b frames + -mbd rd without -psnr (yes that was seriously buggy and probably hasnt been noticed as everyone who tested stuff used -psnr)
...
Originally committed as revision 7148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 19:37:44 +00:00
Michael Niedermayer
169bc475d1
100l infinite loop fix
...
Originally committed as revision 7147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 19:35:06 +00:00
Tom Harper
9f83e1427a
Fix linking with H.261 support disabled.
...
patch by Tom Harper, d.thomas.harper gmail com
Originally committed as revision 7134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 14:13:32 +00:00
Michael Niedermayer
ec9ed85dc7
infiinit loop fix for CBR + adaptive quant
...
Originally committed as revision 7133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 11:53:02 +00:00
Michael Niedermayer
789382d340
100l qprd fix 2nd try
...
Originally committed as revision 7132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 10:48:23 +00:00
Michael Niedermayer
3f9fea7230
testing all dquant for qp_rd fixes the qp runaway to 31 bug
...
Originally committed as revision 7126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 23:19:52 +00:00
Baptiste Coudurier
a57d13b713
throw error if unsupported resolution is used with h261
...
Originally committed as revision 7097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:58:34 +00:00