Henrik Gramner
2c3dbff1d8
avutil/avstring: Inline some tiny functions
They're short enough that inlining them actually reduces code size due to
all the overhead associated with making a function call.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Henrik Gramner
17710550c4
x86inc: Make cpuflag() and notcpuflag() return 0 or 1
Makes it possible to use them in arithmetic expressions.
10 years ago
Vittorio Giovara
1aa24df74c
lavu: Deprecate AVFrame.error[]
These field are difficult to interpret, and are provided by a single
encoder (mpegvideoenc). In general they do not belong to a structure
containing raw data only, so remove them from AVFrame.
Mpegvideoenc now uses a private field in Picture for its internal
computations.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vicente Olivert Riera
d00bb8addc
mips: intreadwrite: Only execute that code for mips r1 or r2
MIPS R6 supports unaligned memory access and does not have
the load/store-left/right family of instructions.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Henrik Gramner
ad9a543e93
avutil/avstring: Inline some tiny functions
They're short enough that inlining them actually reduces code size due to
all the overhead associated with making a function call.
10 years ago
Timo Rothenpieler
31ee86cd98
avutil/opencl: Fix volatile pointer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
10 years ago
James Almer
36e1665d3d
avutil/attributes: add AV_GCC_VERSION_AT_MOST
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Ganesh Ajjanagadde
63cdb6e4a5
avutil/log: fix zero length gnu_printf format string warning
This should fix warning reported by fate client:
http://fate.ffmpeg.org/report.cgi?time=20150917113121&slot=x86_32-linux-gnu-gcc-4.5.1-have_6regs .
Untested.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Kevin Wheatley
4a66422450
pixfmt: Add new SMPTE color primaries and transfer characteristic values
Appeared in ITU-T Rec H.265 10/2014.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Rodger Combs
8e924629eb
lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
James Almer
d5f8a642f6
x86: port PSIGNW to cpuflags
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Michael Niedermayer
77d03b0ebb
avutil/version: Bump for avpriv_get_trc_function_from_trc() and AVCOL_PRI/TRC_SMPTEST428_1 and AVCOL_TRC_SMPTEST2084
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Kevin Wheatley
bac9048265
avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic
Most functions are valid over a domain and range of [0.0-1.0] but
some are defined over greater. This patch does not deal with
AVColorRange and assumes AVCOL_RANGE_JPEG for the returned values.
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
10 years ago
Michael Niedermayer
24426172d3
avutil/pixfmt: Name "SMPTE ST 428-1" in AVColorPrimaries the same as in AVColorTransferCharacteristic
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
b5939ba09c
avutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer_names
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Kevin Wheatley
6d4b394b5d
avutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Kevin Wheatley
c3cd6dd106
avutil/pixfmt: Add additional primaries and transfer characteristic enumerations from ITU-T Rec H.265
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Luca Barbato
7b02cb29d9
pixdesc: Document the component order
10 years ago
Hendrik Leppkes
c7ed26ad60
pixdesc: Add missing alpha flag for yuva420p9be
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Hendrik Leppkes
e336c51e6f
pixdesc: Consistently order components
Ensure that the components are ordered consistently, ie. always
RGB(A) and YUV(A). This allows to identify a specific plane on a given
pixel format without hard-coding knowledge of the plane order.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Clément Bœsch
9571a56009
avutil/opt: refactor pixel/sample fmt common case
10 years ago
Clément Bœsch
9117748cff
avutil/opt: add AV_OPT_TYPE_BOOL
10 years ago
Hendrik Leppkes
5d8e836d0e
Replace all remaining occurances of step/depth_minus1 and offset_plus1
10 years ago
Vittorio Giovara
2268db2cd0
lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields
The new fields can be accessed directly and are more intelligible.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
6b3ef7f080
lavu: Remove bit packing from AVComponentDescriptor
There is no practical benefit in having this structure elements
bit packed given the size of the structure and its usage.
Change types from uint16_t (packed) to plain int in order to simplify
modifying the structure and accessing its fields.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
wm4
b8b5d82744
lavu: extend size of the AVPixFmtDescriptor.flags field
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
James Almer
c956cb2c02
avutil/pixfmt: remove duplicate AVPixelFormat values
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Hendrik Leppkes
d83dd630a0
lavu: Drop FF_API_GET_CHANNEL_LAYOUT_COMPAT cruft
FATE refs changed to accomodate for the new default behavior of the function.
Numbers are now interpreted as a channel layout, instead of a number of channels.
10 years ago
Hendrik Leppkes
237cf3786e
lavu: Drop old deprecated AVOption API
Deprecated in 2011/10
10 years ago
Hendrik Leppkes
137f075993
lavu/hmac: remove deprecated type ids
10 years ago
Hendrik Leppkes
545559e43d
Remove FF_CONST_AVUTIL55 cruft
10 years ago
Hendrik Leppkes
a991526832
lavu/frame: put frame QP elements under a new version guard
These fields are still used, removal postponed until a replacement functionality is available.
10 years ago
Hendrik Leppkes
f1b02e6ca8
lavu/cpu: remove old cmov cruft
10 years ago
Michael Niedermayer
d6cd614dac
avutil/common: Add FFNABS()
This macro avoids the undefined corner case with the *_MIN values
Previous version Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
733511fb53
avutil/common: Document FFABS() corner case
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Vittorio Giovara
a686e58165
des: Add missing include
10 years ago
Vittorio Giovara
e88103a7f9
Bump major versions of all libraries
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
4e649debcf
Postpone API-incompatible changes until the next bump
10 years ago
Vittorio Giovara
3d89373fae
lavu: Drop deprecated private lls functions
Deprecated in 02/2013.
10 years ago
Vittorio Giovara
2f9b652e8c
lavu: Drop deprecated context size variables
Deprecated in 10/2012.
10 years ago
Vittorio Giovara
8f12ef9860
lavu: Drop deprecated duplicated AVFrame/AVCodecContext parameters
Deprecated in 10/2012.
10 years ago
Vittorio Giovara
bf7114b6ca
lavu: Drop deprecated AV_CPU_FLAG_MMX2 symbol
Deprecated in 11/2012.
10 years ago
Vittorio Giovara
2d40968dd3
lavu: Drop deprecated audioconvert.h header
Deprecated in 11/2012.
10 years ago
Vittorio Giovara
cdfe45ad37
lavu: Drop deprecated av_reverse function
Deprecated in 10/2012.
10 years ago
Vittorio Giovara
2f8cbbc962
lavu: Drop deprecated external access to AVPixFmtDescriptor table
Deprecated in 10/2012.
10 years ago
Vittorio Giovara
183db02a51
lavu: Drop deprecated old_pix_fmt.h and related code
Deprecated in 10/2012.
10 years ago
Luca Barbato
e23f84d965
channel_layout: Add a 16channel default layout
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Andreas Cadhalpun
095347ffe4
disable deprecation warnings in deprecated code
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
10 years ago
Timothy Gu
c5d9e9b354
doxygen: Remove lavu_internal group
There is no use in an internal group for a public API documentation.
10 years ago
Timothy Gu
0aa9bbbc37
version: Fix two more typos
Same as cafba99b51 but applied to
lavf and lavu.
10 years ago