Anton Khirnov
2c6811397b
lavc: add profiles to AVCodecDescriptor
...
The profiles are a property of the codec, so it makes sense to export
them through AVCodecDescriptors, not just the codec implementations.
9 years ago
Anton Khirnov
e02de9df4b
lavc: export Dirac parsing API used by the ogg demuxer as public
...
Also, stop using AVCodecContext for storing the stream parameters.
9 years ago
Anton Khirnov
f0b769c16d
lavc: add a packet side data type for VBV-like parameters
9 years ago
Anton Khirnov
84adab333c
lavc: add stream-global packet side data
...
This is similar to what is done for AVStream.
9 years ago
Anton Khirnov
31c51f7441
avpacket: add a function for wrapping existing data as side data
9 years ago
Mohamed Naufal
f023d57d35
lavc: G.723.1 encoder
...
Additional improvements by Michael Niedermayer <michaelni@gmx.at>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Luca Barbato
b0e8651a2a
doc: Amend the MSYS2 Documentation
...
Explain better which environment is discouraged and mention the
shortcuts names.
9 years ago
Luca Barbato
6b7df14251
doc: Document better how to use MSYS2
9 years ago
Vittorio Giovara
462a54e229
lavc: Deprecate avctx.rtp_callback field
...
This function returns the encoded data of a frame, one slice at a time
directly when that slice is encoded, instead of waiting for the full
frame to be done. However this field has a debatable usefulness, since
it looks like it is just a convoluted way to get data at lowest
possible latency, or a somewhat hacky way to store h263 in RFC-2190
rtp encapsulation.
Moreover when multi-threading is enabled (which is by default) the order
of returned slices is not deterministic at all, making the use of this
function not reliable at all (or at the very least, more complicated
than it should be).
So, for the reasons stated above, and being used by only a single encoder
family (mpegvideo), this field is deemed unnecessary, overcomplicated,
and not really belonging to libavcodec. Libavformat features a complete
implementation of RFC-2190, for any other case.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Anton Khirnov
8a9de5c524
doc/encoders: document the QSV option mappings
9 years ago
John Stebbins
79ae1e630b
avcodec: Define side data type for fallback track
...
This side data type is meant to be added to AVStream side data.
A fallback track indicates an alternate track to use when the
current track can not be decoded for some reason. e.g. no
decoder available for codec.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
John Stebbins
7f4ec4364b
avformat: expose av_stream_new_side_data helper
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Martin Storsjö
92d107a171
xtea: Add functions for little endian mode
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Stefano Sabatini
018bdaed37
setpts: add FRAME_RATE constant
...
Useful for dealing with constant frame-rate video.
(cherry picked from ffmpeg commit 722762f7e1
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Nicolas George
48ff6683ba
lavfi: add a frame_rate field to AVFilterLink.
...
(cherry picked from ffmpeg commit 7b42036b3b
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Alexandra Hájková
cd0e08813a
avconv: support infinite loop for the loop option
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
a9a6010637
avpacket: Provide an alloc and a free function for the struct
...
Pave the way for having the size of the AVPacket struct not part
of the ABI.
9 years ago
Luca Barbato
9b56d5c114
avpacket: Deprecate av_dup_packet
...
As documented, `av_dup_packet` is broken by design, `av_packet_ref`
matches the AVFrame ref-counted API and can be safely used instead.
9 years ago
Luca Barbato
ce70f28a17
avpacket: Replace av_free_packet with av_packet_unref
...
`av_packet_unref` matches the AVFrame ref-counted API and can be used as
a drop in replacement.
Deprecate `av_free_packet`.
9 years ago
Arttu Ylä-Outinen
233d2fa044
kvazaar: Add libkvazaar HEVC encoder
...
Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Vittorio Giovara
a17a766190
lavc: Add data and linesize to AVSubtitleRect
...
Use the new fields directly instead of the ones from AVPicture.
This removes a layer of indirection which serves no pratical purpose
whatsoever, and will help in removing AVPicture structure completely
later.
Every subtitle encoder/decoder seamlessly points to the new arrays,
so it is possible to deprecate AVSubtitleRect.pict.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
ac981d1641
APIchanges: Fill in missing dates and hashes
9 years ago
Anton Khirnov
fb472e1a11
avconv: add support for Intel QSV-accelerated transcoding
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Anton Khirnov
dc923bc23b
qsvenc: add an API for allocating opaque surfaces
9 years ago
Luca Barbato
34ed5c2e4d
avformat: Do not use AVFMT_RAWPICTURE
...
There are no formats supporting it anymore and it is deprecated.
Update the documentation accordingly.
9 years ago
Alexandra Hájková
16b0c92962
avconv: Add loop option.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Vittorio Giovara
11c5f438ff
dict: Change return type of av_dict_copy()
...
av_dict_set() could return an error, so forward it appropriately.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
9a3202a98b
Screenpresso SPV1 decoder
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
wm4
948f3c19a8
lavc: Make AVPacket.duration int64, and deprecate convergence_duration
...
Note that convergence_duration had another meaning, one which was in
practice never used. The only real use for it was a 64 bit replacement
for the duration field. It's better just to make duration 64 bits, and
to get rid of it.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Anton Khirnov
539e5ac2ec
examples/qsvdec: free the lavc decoder before closing MFX/VAAPI
...
lavc expects MFX to still be in a usable state on close.
9 years ago
Anton Khirnov
3ee462dca1
examples/qsvdec: do not free the surfaces in the frame_free() callback
...
Even though libmfx might not need them anymore, avcodec might still
access the surfaces. So free them separately at the end.
9 years ago
Steve Lhomme
e3d4784eb3
d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext
9 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>
9 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>
9 years ago
wm4
b8b5d82744
lavu: extend size of the AVPixFmtDescriptor.flags field
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
c45fcf30cf
DXV decoder
...
Support all DXDI and DXD3 normal quality videos.
9 years ago
Vittorio Giovara
e88103a7f9
Bump major versions of all libraries
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Timothy Gu
c23999be13
avconv_opt: Add an option that lists all supported hwaccels
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
2157df425b
hlsenc: Support outputting specific versions
...
Right now only version 2 and version 3 are supported.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
James Almer
d9e8b47e31
des: add av_des_alloc()
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
James Almer
5d8bea3bb2
xtea: add av_xtea_alloc()
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
James Almer
ae365453c3
rc4: add av_rc4_alloc()
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
James Almer
7a7df34c91
blowfish: add av_blowfish_alloc()
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
James Almer
6877537ff3
hmac: add missing version bump and APIChanges entry
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Vittorio Giovara
b94ec30428
lavc: Update version and APIchanges
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
059a934806
lavc: Consistently prefix input buffer defines
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
def97856de
lavc: AV-prefix all codec capabilities
...
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
7c6eb0a1b7
lavc: AV-prefix all codec flags
...
Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
4b6b1082a7
lavc: Deprecate avctx.me_method
...
This option is extremely codec specific and only a few codecs employ it.
Move it to codec private options instead: mpegenc family supports only 3
values, xavs and x264 use 5, and xvid has a different metric entirely.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Martin Storsjö
6d3081e6c3
doc: Remove the now unnecessary remark about PATH and link.exe
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago