Mark Thompson
67c65e461c
vf_hwupload_cuda: Fix build error
...
Broken by e3fb74f7f9
.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Mark Thompson
e3fb74f7f9
lavfi: Always propagate hw_frames_ctx through links
...
Also adds a new flag to mark filters which are aware of hwframes and
will perform this task themselves, and marks all appropriate filters
with this flag.
This is required to allow software-mapped hardware frames to work,
because we need to have the frames context available for any later
mapping operation in the filter graph.
The output from the filter graph should only propagate further to an
encoder if the hardware format actually matches the visible format
(mapped frames are valid here and have an hw_frames_ctx, but this
should not be given to the encoder as its hardware context).
8 years ago
Mark Thompson
7e2561fa83
lavfi: Use ff_get_video_buffer in all filters using hwframes
8 years ago
Mark Thompson
7433feb82f
lavfi: Make default get_video_buffer work with hardware frames
8 years ago
Diego Biurrun
85baef4ff1
vf_drawtext: Move static keyword to beginning of variable declaration
...
libavfilter/vf_drawtext.c:226:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
8 years ago
Yogender Gupta
99aeae20de
scale_npp: fix passthrough mode
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Diego Biurrun
6be7944ee2
x86: Add missing colons after assembly labels
...
This fixes many warnings of the sort
warning: label alone on a line without a colon might be in error
8 years ago
Mark Thompson
bdf7610eb2
vf_scale_vaapi: Crop input surface to active region
...
If the input has been decoded from a stream which uses edge cropping
then the whole surface need not be valid. This defines an input
region for the scaler so we only use the active area of the frame.
8 years ago
Burt P
728e80cd2e
High Definition Compatible Digital (HDCD) decoder filter, using libhdcd
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Anton Khirnov
ad71d3276f
lavfi: add a QSV deinterlacing filter
8 years ago
Mark Thompson
582d4211e0
vf_scale_vaapi: Respect driver quirks around buffer destruction
8 years ago
Anton Khirnov
c3f113d584
vf_hwdownload: allocate the destination frame for the pool size
...
The reasoning is the same as for the previous commit.
9 years ago
Anton Khirnov
5b63b15663
lavfi: set the link hwframes context before configuring the dst input
...
The destination filter might expect the hw frames context to be already
set (this is the case e.g. for hwdownload).
9 years ago
Anton Khirnov
beb62dac62
Use AVFrame.pts instead of deprecated pkt_pts.
9 years ago
Anton Khirnov
ac7bfd6967
lavfi: add a QSV scaling filter
9 years ago
Diego Biurrun
535a742c26
build: Change structure of the linker version script templates
...
Split version files into one line per symbol/directive to allow compatibility
with the Solaris linker without preprocessing and eliminate $ from version file
templates to simplify the postprocessing shell command.
9 years ago
Diego Biurrun
dc40a70c57
Drop unnecessary libavutil/x86/asm.h #includes
9 years ago
Anton Khirnov
ac84e618df
avfiltergraph: check the query_formats() return value
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
5afb94c817
Mark read-only tables as static
9 years ago
Diego Biurrun
def03d1468
vf_frei0r: Drop overly verbose and broken debug output
9 years ago
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
0f40c90984
Drop pointless assert.h #includes
9 years ago
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
...
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
9 years ago
Diego Biurrun
01621202aa
build: miscellaneous cosmetics
...
Restore alphabetical order in lists, break overly long lines, do some
prettyprinting, add some explanatory section comments, group parts
together that belong together logically.
9 years ago
Anton Khirnov
a638e9184d
vf_fade: make sure the slice end is always in the frame
...
CC: libav-stable@libav.org
9 years ago
Anton Khirnov
8a02a8031e
lavfi: add an NVIDIA NPP-based scaling filter
9 years ago
Mark Thompson
98114d70e4
lavf: VAAPI scale filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
07a844f32e
lavfi: generic hardware surface upload and download filters
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
1138eb5509
vsrc_movie: convert to codecpar
9 years ago
Diego Biurrun
29c2d06d67
cosmetics: Drop empty comment lines
9 years ago
Anton Khirnov
21f7cd4acd
lavfi: add a filter for uploading normal frames to CUDA
9 years ago
Anton Khirnov
b3dd30db0b
lavfi: pass the hw frames context through the filter chain
9 years ago
Anton Khirnov
c084d6d2cf
buffersrc: default SAR to 0 (unknown) rather than 1
...
It makes more sense to not claim anything about the SAR if we don't know
anything. No changes in the FATE tests, since this is what avconv ends
up doing anyway.
9 years ago
Anton Khirnov
fb25d99b0a
buffersrc: do not discard the error from ff_filter_frame()
9 years ago
Vittorio Giovara
4709f72115
lavfi: Use AV_CEIL_RSHIFT where needed
9 years ago
Clément Bœsch
e8bc642202
lavu: add AV_CEIL_RSHIFT and use it in various places
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
7f57ea143c
vsrc_color: Drop unneeded variable
...
Bug-Id: CID 1339818
9 years ago
John Stebbins
db9b7321d5
vsrc_color: implement frame rate
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Michael Niedermayer
1339009c49
vf_showinfo: show timebase & framerate too
...
(cherry picked from ffmpeg commit fdb9399681
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Michael Niedermayer
11f87ca71e
vf_frei0r: also set AVFilterLink.frame_rate
...
(cherry picked from ffmpeg commit 353cf95f94
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Michael Niedermayer
7d12cba95c
vf_framepack: Check and update frame_rate
...
(cherry picked from ffmpeg commit a46a23d30f
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Michael Niedermayer
65e73bc60f
vf_interlace: implement frame rate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from ffmpeg commit 227b4458fb
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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
Stefano Sabatini
5e91a5c5cf
testsrc: set output framerate
...
(cherry picked from ffmpeg commit 7cd5fa35fe
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Michael Niedermayer
9df477e03e
yadif: update frame rate
...
(cherry picked from ffmpeg commit 3161958455
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Nicolas George
1062880d69
vf_fps: set frame_rate.
...
(cherry picked from ffmpeg commit 0d24931604
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Nicolas George
61fb67dcb2
buffersrc: accept the frame rate as argument.
...
(cherry picked from ffmpeg commit 9ca440679d
)
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
John Stebbins
2ec112f71c
vf_pad: fix x, y option expression evaluation
...
Calculation of x an y based on width and height did not work when
width == 0 or height == 0. "0" substitutes the input width and
height, but did so too late for x, y expression evaluation.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago