James Almer
10c02deccb
avfilter/vf_zscale: extend the configuration log message with color space info
...
And print it in DEBUG level, not TRACE, as it's useful information.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
5c8268ac56
avfilter/vf_zscale: remove unecessary argument from realign_frame
...
Possible since the previous commit.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
c8e5c684b3
avfilter/vf_zscale: align the frame buffers
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Pavel Koshevoy
00cf3df03f
lavfi/vf_zscale: fix call to av_pix_fmt_count_planes
...
realign_frame called av_pix_fmt_count_planes with incorrect parameter.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Pavel Koshevoy
7b302f4db7
lavfi/vf_zscale: fix tmp buffer ptr alignment for zimg_filter_graph_process
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
f15fc27db5
avfilter/framepool: align the frame buffers
...
And not just the linesizes. Use the extra align bytes allocated for this purpose.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Anton Khirnov
3e9b0f7c01
lavfi/vf_libplacebo: eliminate LibplaceboInput.link
...
Setting it was broken in 8160178dfc
, since
links are not yet set up during init. It is also redundant, as the
struct also stores the input index.
Reported-By: llyyr <llyyr.public@gmail.com>
2 months ago
James Almer
c8438546ff
avfilter/vsrc_testsrc: add support for RGB48/RGBA64
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
165f124129
vsrc_testsrc: add support for x2rgb10le to rgbtestsrc
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Koushik Dutta
0cdcbab9e9
avfilter/scale_cuda: frame crop support
...
The crop filter has no effect on scale_cuda:
-vf crop=100:100,scale_cuda=100x100
Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties,
as seen in the implementation vf_crop.c.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2 months ago
James Almer
42b748f738
avfilter/vsrc_testsrc: add support for XV48
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
dfd7acf3ed
avfilter/vf_pixdesctest: also take into account undefined alpha components
...
Ensure those bits are copied, which will result in the output being the same as
the input, where swscale set them to the equivalent of fully opaque.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
8debc5aa41
avfilter/vsrc_testsrc: use the alpha component information for XV3{0,6} and V30X
...
And add a few more tests to ensure all the pixfmts affected by this change
are tested.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
arch1t3cht
72e5381123
avfilter/vf_subtitles: Respect YCbCr Matrix header
...
As specified in libass's ass_types.h, the colors or ASS_Images
should be converted to YCbCr using the matrix/range specified in
the track's YCbCrMatrix field (unless that field is set to YCBCR_NONE,
and defaulting to TV.601 if the header is missing).
This does not affect any subtitles generated or transcoded by ffmpeg,
since these contain a 'YCbCrMatrix: None' header.
Signed-off-by: arch1t3cht <arch1t3cht@gmail.com>
Signed-off-by: rcombs <rcombs@rcombs.me>
2 months ago
James Almer
062fcacc8f
avfilter/vsrc_testsrc: fill the xv30le alpha bits
...
As with other pixel formats, set the undefined alpha bits to opaque.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
5601c5bb2e
avfilter/vsrc_testsrc: add support for XV36 and AYUV64
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Anton Khirnov
c034213083
lavfi/vsrc_perlin: convert to query_func2()
2 months ago
Anton Khirnov
e0aa644978
lavfi/vsrc_life: convert to query_func2()
2 months ago
Anton Khirnov
2094a7256c
lavfi/vsrc_life: avoid modifying the context in query_formats()
...
It is supposed to be free of side effects. Do it in init instead.
2 months ago
Anton Khirnov
d08feb9003
lavfi/vf_zscale: convert to query_func2()
2 months ago
Anton Khirnov
6bff95be03
lavfi/vf_weave: convert to query_func2()
2 months ago
Anton Khirnov
ab01f0522b
lavfi/vf_vpp_qsv: convert to query_func2()
2 months ago
Anton Khirnov
e5b530f137
lavfi/vf_vmafmotion: convert to query_func2()
2 months ago
Anton Khirnov
73c863fad8
lavfi/vf_v360: convert to query_func2()
2 months ago
Anton Khirnov
223327d51a
lavfi/vf_untile: convert to query_func2()
2 months ago
Anton Khirnov
5d0fbd7145
lavfi/vf_transpose: convert to query_func2()
2 months ago
Anton Khirnov
ef4913e30d
lavfi/vf_tpad: convert to query_func2()
2 months ago
Anton Khirnov
ce5aa74045
lavfi/vf_tile: convert to query_func2()
2 months ago
Anton Khirnov
14ece0bf58
lavfi/vf_telecine: convert to query_func2()
2 months ago
Anton Khirnov
a18418f39d
lavfi/vf_swapuv: convert to query_func2()
2 months ago
Anton Khirnov
06292d34de
lavfi/vf_swaprect: convert to query_func2()
2 months ago
Anton Khirnov
05aad90c69
lavfi/vf_subtitles: convert to query_func2()
2 months ago
Anton Khirnov
6ed357ce77
lavfi/vf_stereo3d: convert to query_func2()
2 months ago
Anton Khirnov
bdaaddb65c
lavfi/vf_stack: convert to query_func2()
2 months ago
Anton Khirnov
e2f4c69779
lavfi/vf_shuffleplanes: convert to query_func2()
2 months ago
Anton Khirnov
965e9b646e
lavfi/vf_showpalette: convert to query_func2()
2 months ago
Anton Khirnov
a96244df77
lavfi/vf_setparams: convert to query_func2()
2 months ago
Lynne
4b128de44a
vulkan: enable selecting a compatible representation of format
...
When using **integer** images inside shaders, it turns out
that conversion doesn't automatically happen, but we need to
explicitly use the imageviews to get the image exposed as
a suitable representation for the shader.
Finally enables bitexact image representations.
2 months ago
Lynne
4d19be287f
libavfilter/Makefile: add a makefile for Vulkan shaders
2 months ago
Anton Khirnov
c961a72926
lavfi/vf_scale: switch to query_func2()
2 months ago
Anton Khirnov
4d69398dda
lavfi/vf_remap: switch to query_func2()
2 months ago
Anton Khirnov
dcd5a51e0a
lavfi/vf_mergeplanes: switch to query_func2()
2 months ago
Anton Khirnov
989bc256a3
lavfi/vf_mergeplanes: remove redundant assignment
...
It is already done in init.
2 months ago
Anton Khirnov
c19f3fe61b
lavfi/vf_quirc: use FILTER_PIXFMTS_ARRAY() instead of query_formats()
2 months ago
Anton Khirnov
d83d8a1643
lavfi/vf_premultiply: switch to query_func2()
2 months ago
Anton Khirnov
4faf6c6f0d
lavfi/vf_paletteuse: switch to query_func2()
2 months ago
Anton Khirnov
18e43c2d39
lavfi/vf_palettegen: switch to query_func2()
2 months ago
Anton Khirnov
c8344737b6
lavfi/vf_pad: switch to query_func2()
2 months ago
Anton Khirnov
64035fe206
lavfi/vf_overlay_qsv: switch to query_func2()
2 months ago
Anton Khirnov
0c86bc32aa
lavfi/vf_overlay: switch to query_func2()
2 months ago