Summary: | [SKL] hwaccel putimage doesn't check format | ||
---|---|---|---|
Product: | libva | Reporter: | Víctor Jáquez <vjaquez> |
Component: | intel | Assignee: | PengChen <peng.c.chen> |
Status: | ASSIGNED --- | QA Contact: | Sean V Kelley <seanvk> |
Severity: | normal | ||
Priority: | medium | CC: | bsreerenj |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | test case |
Description
Víctor Jáquez
2015-08-13 14:58:41 UTC
Comment on attachment 117666 [details]
test case
fix mime type
$ wget https://bugs.freedesktop.org/attachment.cgi?id=117666 -O test.tgz $ tar tf test.tgz jpeg-enc-test/ jpeg-enc-test/Makefile jpeg-enc-test/bug.c jpeg-enc-test/huff.h jpeg-enc-test/tulips_uyvy422_prog_packed_qcif.yuv if (HAS_ACCELERATED_GETIMAGE(i965)) va_status = i965_hw_getimage(ctx, obj_surface, obj_image, &rect); else va_status = i965_sw_getimage(ctx, obj_surface, obj_image, &rect); above is the latest implementation, if the hardware has VPP, it only select i965_hw_getimage() no mater what the color format it is. and i965_hw_getimage() do support some color formats conversion. if the comment has some mistake or misunderstanding, just feel free to let me know. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.