Commit 10027f27 authored by Committed by Jean-Baptiste Kempf
vaapi: prefer vaGetImage over vaDeriveImage under most circumstances.
While vaDeriveImage is slightly faster than vaGetImage, there's an added cost of having to convert NV12 into YV12 later, which in practice negates any benefits. Prefer YV12 and YUV420 formats over NV12. This decrease time to process a VAAPI frame by over 50%: from 2.1ms/frame to 0.9ms/frame on an i7-4650U Signed-off-by: Jean-Baptiste Kempf <firstname.lastname@example.org>
Showing with 27 additions and 0 deletions