Commit Graph

8 Commits

Author SHA1 Message Date
Martin Pulec
8a4238bf44 tests: skip lavc tests if lavc not present 2024-11-27 12:32:05 +01:00
Martin Pulec
4c114d0b33 unify test API for old and new tests
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.
2023-03-07 16:04:36 +01:00
Martin Pulec
84db4767bb rewritten all remaining tests without cppunit 2023-03-07 15:45:45 +01:00
Martin Pulec
c4c3ffd5dc lavc: fixed test
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)
2023-02-21 10:28:04 +01:00
Martin Pulec
dad032c7bb fixed libavcodec test
changed path of libavcodec/lavc_common
2022-08-18 14:58:39 +02:00
Martin Pulec
7b1837c668 video_codec: removed slow parameter from get_decoder_from_to 2022-05-30 15:38:48 +02:00
Martin Pulec
d66f336e1d video_codec: removed some more ext link
+ 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
2022-05-30 15:38:47 +02:00
Martin Pulec
613c62bf54 Lavc: fixed get_decoder_from_uv_to_uv
Improved UG decoder selection in get_decoder_from_uv_to_uv - now is
selected nearest better codec.

+ written a test for the above
2021-05-25 10:11:30 +02:00