Commit 92c10217 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DxVA: fix compilation after backport

parent c192adb5
......@@ -68,6 +68,13 @@ static bool GetLock(filter_t *p_filter, LPDIRECT3DSURFACE9 d3d,
return true;
}
static inline void plane_SwapUV(plane_t p[PICTURE_PLANE_MAX])
{
uint8_t *buf = p[V_PLANE].p_pixels;
p[V_PLANE].p_pixels = p[U_PLANE].p_pixels;
p[U_PLANE].p_pixels = buf;
}
static void DXA9_YV12(filter_t *p_filter, picture_t *src, picture_t *dst)
{
copy_cache_t *p_copy_cache = (copy_cache_t*) p_filter->p_sys;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment