Files
xf86-video-intel/test
Ville Syrjälä fc07603ee0 Fix transposed calloc() arguments
gcc-14 complains:
../src/legacy/i810/i810_dri.c:281:48: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
...

Fix them all up via cocci:
@@
expression E1, E2;
type T;
@@
(
- calloc(sizeof(T), E2)
+ calloc(E2, sizeof(T))
|
- calloc(sizeof(E1), E2)
+ calloc(E2, sizeof(E1))
)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2025-02-10 19:53:46 +02:00
..
2016-02-03 09:58:04 +00:00
2015-07-29 09:45:47 +01:00
2014-09-16 12:10:57 +01:00
2020-04-21 12:28:48 +01:00
2014-06-02 08:32:11 +01:00
2016-02-03 09:58:04 +00:00
2013-12-02 17:11:06 +00:00
2016-05-04 12:34:37 +01:00

These are no substitute for xts, rendercheck and cairo-test-suite. They
are intended to exercise corner cases in the batch management of long
drawing commands and more explicit checking of the acceleration paths.

Useful tools:

# Packed YUV Xv tester
gst-launch-1.0 videotestsrc pattern=snow ! 'video/x-raw,format=UYVY,width=640,height=360' ! xvimagesink

# Planar YUV Xv tester
gst-launch-1.0 videotestsrc pattern=snow ! 'video/x-raw,format=I420,width=640,height=360' ! xvimagesink