James Almer
251fb7dcd4
avcodec: remove FF_API_DV_FRAME_PROFILE cruft
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Steve Jiekak
6e9ac02af8
add av_dv_codec_profile2 : uses framerate to select best matching profile. default on first matching profile
...
Signed-off-by: Steve Jiekak <devaureshy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
James Almer
6edd6a4f00
avcodec/dv_profile: deprecate internal function that shouldn't be public
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Gabriel Dume
ee0ebd3c14
dv: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Anton Khirnov
9325d88eba
lavc: remove obsolete and disabled avpriv functions
11 years ago
Carl Eugen Hoyos
a1e3ea475a
Fix compilation with --disable-everything.
11 years ago
Anton Khirnov
f6ee61fb05
lavc: export DV profile API used by muxer/demuxer as public
11 years ago
Anton Khirnov
650dee63c8
dv: get rid of global non-const tables
...
Instead, store them in the context and compute on each parameter change.
11 years ago
Thilo Borgmann
d814a839ac
Reinstate proper FFmpeg license for all files.
12 years ago
Michael Niedermayer
5c924c9b7d
dv: Correctly identify CDVC profile
...
Fixes Ticket2177
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Piotr Bandurski
e5e20a3d31
dv_profile: fix decoding of SoftLabDVCPRO codec (PAL mode)
...
fixes ticket #1307
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
520c1ec699
dv: Split profile handling code into a separate file.
13 years ago
Diego Biurrun
a3dbd459ff
dv: Merge dvquant.h into dvdata.c where all other DV tables reside.
13 years ago
Anton Khirnov
a839dbb94e
dvenc: print allowed profiles if the video doesn't conform to any of them.
13 years ago
Reimar Döffinger
31ff2cb266
DV: detect another case of broken DV files.
...
See trac issue #217 .
Only the dsf field seems to be used to distinguish between PAL and NTSC.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
feda266db5
DV: check coded_width/height instead of width/height.
...
This makes the workaround also work with lowres.
Fixes issue #633 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
2560d3b648
dv: Fix streamcopy input.
...
Fixes Ticket1042
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
8fbf825ecc
DV: Use profile[1] detection hack only for stype 0.
...
The two samples both have stype 0.
Without this extra check, the code breaks 4:2:2 dvsd
(stype 4), since that has the same resolution.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Ronald S. Bultje
3416d0805e
dv: cosmetics.
13 years ago
Ronald S. Bultje
e97efecec8
dv: check buffer size before reading profile.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Alex Converse
81749f30cd
dv: Move tables from dvdata.h to dvdata.c
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Marton Balint
7b2dba1c50
dv: fix avpriv_dv_codec_profile with lowres > 0
...
Fixes ticket #44 .
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
242c73a0fd
lavc: use avpriv_ prefix for some dv symbols used in lavf.
...
Specifically, ff_dv_frame_profile and ff_dv_codec_profile.
13 years ago
Michael Niedermayer
51b0694bc0
ff_dv_frame_profile2: Check input buffer size.
...
Based on code by DivX, Inc. / drffmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
63d2cfd142
dvdec: Fix dvsd profile[1] detection.
...
Fixes Ticket159
If someone knows of a cleaner way to detect this, patch is welcome.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Niobos
e2f0214a0b
Fix a yuv420p sample that was incorrectly detected as yuv411p
...
(576i50 25Mbps 4:1:1 special case was wrong).
Fixes issue2211
Patch by Niobos, niobos dest-unreach be
Originally committed as revision 25269 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
348a3237cc
In dv decoder, use the expected aspect ratio logic, like other decoders do,
...
following width/height = par/dar.
Originally committed as revision 25231 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 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
Charles Yates
10a693b568
fix sar for dvcpro hd, patch by Charles Yates, charles dot yates at gmail dot com
...
Originally committed as revision 20291 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c76911bd65
Split parts of dvdata.h into dvdata.c, this ensures that things like
...
work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.
Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago