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
15 years ago
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
15 years ago
Måns Rullgård
79042a6eb1
Fix memory leak introduced in r23933
...
Originally committed as revision 23998 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Michael Niedermayer
53f66cee0c
Add ff_ prefix for mpeg2_dc_scale_table.
...
Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6506c3d2b2
Support intra_dc_precision>8 in jpeg
...
Originally committed as revision 22554 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
94ca624fbc
Move ff_sqrt() to libavutil/intmath.h
...
Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Diego Biurrun
d702a2e6c6
Get rid of pointless CONFIG_WMV2 definition.
...
Originally committed as revision 20971 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Baptiste Coudurier
357ec71f09
change pic type to Picture* and remove casts
...
Originally committed as revision 18833 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
1b66180263
fix indentation
...
Originally committed as revision 18482 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Gwenole Beauchesne
da425800ee
Add VA API pixfmt (only VLD is available ATM).
...
Originally committed as revision 18309 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
952e2083bc
Rename hwaccel_data_private to hwaccel_picture_private.
...
Originally committed as revision 18071 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
cd823ff950
Use av_mallocz() to initialize hwaccel_data_private.
...
Originally committed as revision 17942 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
68e5d5235e
Add private HW accel data infrastructure.
...
Originally committed as revision 17899 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
09a9b45e4f
Add and use ff_pixfmt_list_420.
...
Originally committed as revision 17564 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
a002da797c
Fix compilation: XVMC_ --> ff_xvmc prefix for xvmc functions.
...
Originally committed as revision 17256 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Kalvachev
78f9a87830
use ff_xvmc for function names instead of XVMC_
...
Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago