Jonathan Campbell
76c5a69e26
libavutil: add av_lfg_init_from_data() function
...
seeds an AVLFG from binary data.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-01-22 02:28:53 +01:00
Mark Thompson
2a4a8653b6
lavc: Remove old vaapi decode infrastructure
...
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
(cherry picked from commit 851960f6f8
)
2017-01-17 23:06:46 +00:00
Anton Khirnov
019ab88a95
lavc: add an option for exporting cropping information to the caller
...
Also, add generic code for handling cropping, so the decoders can export
just the cropping size and not bother with the rest.
2017-01-12 16:24:15 +01:00
Anton Khirnov
52627248e4
frame: add a cropping rectangle to AVFrame
...
Extend the width/height doxy to clarify that it should store coded
values.
2017-01-12 16:22:44 +01:00
Nicolas George
dbe9dbed31
lavfi/buffersink: add accessors for the stream properties.
...
av_buffersink_get_frame_rate() did already exist; its argument becomes const.
2017-01-12 14:06:16 +01:00
Diego Biurrun
e435beb1ea
crypto: consistently use size_t as type for length parameters
...
size_t is the correct type to use for sizes.
2017-01-09 15:17:43 +01:00
softworkz
9488032e10
libavformat/avio: Add avio_get_dyn_buf function
...
This commit adds the avio_get_dyn_buf function which allows accessing
the
content of a DynBuffer without destroying it.
This is required in matroskaenc for preliminary writing (correct) mkv
headers.
Context for this change is fixing regression bug #5977 .
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-01-07 13:04:05 +01:00
Michael Niedermayer
f542b152aa
avutil: Add av_image_check_size2()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-12-10 22:24:10 +01:00
Vittorio Giovara
4efea4ce75
APIChanges: Mention where release 12 was cut
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-08 15:58:30 -05:00
Vittorio Giovara
e7a6f8c972
lavc: Add spherical packet side data API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:40:06 -05:00
Vittorio Giovara
8f58ecc344
lavu: Add AVSphericalMapping type and frame side data
...
While no decoder currently exports spherical information, this type
represents a frame property that has to be passed through from container
to frames.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:39:04 -05:00
Vittorio Giovara
2fb6acd9c2
lavc: Add spherical packet side data API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:34:34 -05:00
Vittorio Giovara
c70add61d1
lavu: Add AVSphericalMapping type and frame side data
...
While no decoder currently exports spherical information, this type
represents a frame property that has to be passed through from container
to frames.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:32:17 -05:00
James Almer
79ff9935ae
utils: Add av_stream_add_side_data()
...
Functionally similar to av_packet_add_side_data(). Allows the use of an
already allocated buffer as stream side data.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-23 10:36:13 -05:00
James Almer
2ab50647ff
avformat/utils: add av_stream_add_side_data()
...
Functionally similar to av_packet_add_side_data(). Allows the use of an
already allocated buffer as stream side data.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-11-18 22:17:13 -03:00
Anton Khirnov
775a8477b7
hwcontext_vaapi: add a quirk for the missing MemoryType attribute
...
The Intel binary iHD driver does not support the
VASurfaceAttribMemoryType, so surface allocation will fail when using
it.
(cherry picked from commit 2124711b95
)
2016-11-13 20:39:49 +00:00
Mark Thompson
a8d51bb424
hwcontext_vaapi: Add driver quirks to the hwdevice
...
The driver being used is detected inside av_hwdevice_ctx_init() and
the quirks field then set from a table of known device. If this
behaviour is unwanted, the user can also set the quirks field
manually.
Also adds the Intel i965 driver quirk (it does not destroy parameter
buffers used in a call to vaRenderPicture()) and detects that driver
to set it.
(cherry picked from commit 4926fa9a4a
)
2016-11-13 20:39:48 +00:00
Luca Barbato
638b216d4f
pixfmt: Add GRAY12
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-11-10 00:42:48 +01:00
Luca Barbato
7471352f19
pixfmt: Add GRAY12
2016-11-07 22:42:00 +01:00
Mark Thompson
d06aa24ba5
hwcontext: Hardware frame mapping
...
Adds the new av_hwframe_map() function, which allows mapping between
hardware frames and normal memory, along with internal support for
implementing it.
Also adds av_hwframe_ctx_create_derived(), for creating a hardware
frames context associated with one device using frames mapped from
another by some hardware-specific means.
2016-11-03 23:49:01 +00:00
Michael Niedermayer
36ecf30cbc
doc/APIchanges: add 3.2 Cut marker
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-10-26 20:52:42 +02:00
Michael Niedermayer
20182e79f9
doc/APIchanges: Fill in some missing things
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-10-26 03:06:50 +02:00
Rodger Combs
73ead477dd
lavf: add AV_DISPOSITION_TIMED_THUMBNAILS
...
Reviewed-By: Michael Niedermayer <michael@niedermayer.cc >
2016-10-24 05:47:05 -05:00
Rodger Combs
a246fef163
lavf/mux: add avformat_init_output
...
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
2016-10-24 03:53:21 -05:00
Michael Niedermayer
f5495c970c
avutil/avassert: Add av_assertX_fpu()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-10-22 13:50:09 +02:00
Kieran Kunhya
81f1f6c3f6
Add GBRAP12 pixel format support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2016-10-12 21:33:34 +02:00
Michael Niedermayer
1e93aa69a6
Add GBRP12 pixel format support
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-10-12 17:39:30 +02:00
Vittorio Giovara
e7e5be8635
APIchanges: Expand the name of recently added pixel formats
...
This makes them easier to search for.
2016-10-12 11:13:02 -04:00
Hendrik Leppkes
3f9137c57d
Merge commit '32c8359093d1ff4f45ed19518b449b3ac3769d27'
...
* commit '32c8359093d1ff4f45ed19518b449b3ac3769d27':
lavc: export the timestamps when decoding in AVFrame.pts
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com >
2016-10-07 13:03:36 +02:00
Anton Khirnov
2124711b95
hwcontext_vaapi: add a quirk for the missing MemoryType attribute
...
The Intel binary iHD driver does not support the
VASurfaceAttribMemoryType, so surface allocation will fail when using
it.
2016-10-02 11:41:45 +02:00
Anton Khirnov
8ea35af762
avio: add a new flag for marking streams seekable by timestamp
2016-09-30 16:55:45 +02:00
James Almer
eba0414768
Merge commit '59e7361cc791e5103be1712dc59a2055f118d0da'
...
* commit '59e7361cc791e5103be1712dc59a2055f118d0da':
hwcontext: add a QSV implementation
Conflicts:
doc/APIchanges
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:30:27 -03:00
James Almer
32c25f06b7
Merge commit 'e85f6f7f8d037c0af0f294000718d9ba22753baa'
...
* commit 'e85f6f7f8d037c0af0f294000718d9ba22753baa':
lavc: allow using AVCodecContext.hw_frames_ctx for decoding
Conflicts:
doc/APIchanges
libavcodec/version.h
Merged-by: James Almer <jamrial@gmail.com >
2016-09-28 13:22:00 -03:00
Anton Khirnov
6c09af7e46
APIchanges: fix a typo in the version number
2016-09-28 10:01:51 +02:00
Luca Barbato
0e8d1fc1f0
lavu: Bump version for the 12bit Planar YUV support
2016-09-27 18:48:30 +02:00
James Almer
f0b6f7253f
avformat: add av_stream_get_codec_timebase()
...
This will allow ffmpeg.c to stop using AVStream.codec in some cases
Signed-off-by: James Almer <jamrial@gmail.com >
2016-09-27 10:42:39 -03:00
Michael Niedermayer
fd902510ac
swr: Update version & APIChanges for swr_build_matrix()
...
Found-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-09-27 15:26:13 +02:00
Timo Rothenpieler
30d3e36a46
avcodec: add new AVOID_PROBING capability
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
2016-09-23 11:15:08 +02:00
Yogender Gupta
de64dd13cb
avcodec: Add the extended pixel format profile for HEVC
...
It is supported by the NVIDIA video SDK 7.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2016-09-19 10:02:43 +02:00
Clément Bœsch
ae1dd0c9a6
lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg
...
In lavf we have access to st->internal->avctx so it's a better place
than in ffmpeg*.c and will allow moving to codecpar.
2016-09-14 09:57:55 +02:00
Anton Khirnov
d7bc52bf45
imgutils: add a function for copying image data from GPU mapped memory
...
See https://software.intel.com/en-us/articles/copying-accelerated-video-decode-frame-buffers
2016-08-31 08:15:47 +02:00
Mark Thompson
851960f6f8
lavc: Remove old vaapi decode infrastructure
...
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
2016-08-30 22:16:01 +01:00
James Almer
115a90a0db
doc/APIChanges: mention nb_threads addition to AVFilterContext
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-29 21:56:20 -03:00
James Almer
f85842b09e
doc/APIChanges: fill in missing git hashes
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-16 23:23:50 -03:00
Jan Sebechlebsky
9023a4a30c
doc/APIchanges: Document addition of list BSF API in lavc
...
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-08-16 23:16:52 -03:00
Jon Toohill
c3c4c72665
lavc: add trailing_padding to AVCodecContext to match AVCodecParameters.
...
Shows encoder delay/padding in the stream summary if they are set.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-08-16 12:30:37 +02:00
Michael Niedermayer
82a33c8d85
avformat: Add av_get_frame_filename2() and AV_FRAME_FILENAME_FLAGS_MULTIPLE
...
This will be used to allow writing file sequences using the tee output onto
multiple places in parallel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-08-04 23:22:54 +02:00
Diego Biurrun
7d7355aa92
x86: Add SSSE3_SLOW CPU flag and related convenience macros
2016-07-20 18:43:28 +02:00
Diego Biurrun
5ece691101
apichanges: Fill in missing hashes and dates
2016-07-16 17:38:37 +02:00
Clément Bœsch
775389fc59
Merge commit '90f469aa2b98a868cdbe35170c24272de10e1341'
...
* commit '90f469aa2b98a868cdbe35170c24272de10e1341':
lavc: add H.264 MVC profiles
Merged-by: Clément Bœsch <u@pkh.me >
2016-07-09 14:01:28 +02:00