Return just a pointer (that needs to be detroyed after that).
This is perhaps more convenient way and also it will allow eg. utlizing
GPU for the conversions.
return int -1 if test failed; 0 if succeeded; 1 if not applicable (but
not failed)
As the old and new tests are mostly compatible now, do not take
different approach handling both groups.
changed prototype of some functions:
- to_lavc_vid_conv - accept (char *) instead of (struct video_frame)
- get_av_pixfmt_details - (enum AVPixelFormat) instead of int
+ make to_lavc_vid_conv.c partially C++ compatible (I attempted first to
include it as was it libavcodec.cpp), so leave it (just in case)
HAVE_YX macros are either defined or not to signalize feature XY
availability. The _PRESENT macro here has either value 1 or 0 but are
always defined.
+ mark parameters of apply_blacklist() as [[maybe_unused]]
+ return vc_copylineRGB[A] for RGB->RGB and RGBA->RGBA instead of
vc_memcpy - we cannot know if caller wants or doesn't want to use
rgb-shifts other than default. Both implementations call vc_memcpy
if s/he does
- init input buffer with 2^16 (16-bit RGB headroom in UG) for the
comparison work even if some values are not initialized
- fix printing also negative difference in a debug mode