mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 09:34:13 +00:00
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>
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