forked from marfrit/libva-v4l2-request-fourier
request: Reorder BufferInfo
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+1
-1
@@ -95,6 +95,7 @@ VAStatus VA_DRIVER_INIT_FUNC(VADriverContextP context)
|
|||||||
vtable->vaMapBuffer = RequestMapBuffer;
|
vtable->vaMapBuffer = RequestMapBuffer;
|
||||||
vtable->vaUnmapBuffer = RequestUnmapBuffer;
|
vtable->vaUnmapBuffer = RequestUnmapBuffer;
|
||||||
vtable->vaDestroyBuffer = RequestDestroyBuffer;
|
vtable->vaDestroyBuffer = RequestDestroyBuffer;
|
||||||
|
vtable->vaBufferInfo = RequestBufferInfo;
|
||||||
vtable->vaBeginPicture = RequestBeginPicture;
|
vtable->vaBeginPicture = RequestBeginPicture;
|
||||||
vtable->vaRenderPicture = RequestRenderPicture;
|
vtable->vaRenderPicture = RequestRenderPicture;
|
||||||
vtable->vaEndPicture = RequestEndPicture;
|
vtable->vaEndPicture = RequestEndPicture;
|
||||||
@@ -121,7 +122,6 @@ VAStatus VA_DRIVER_INIT_FUNC(VADriverContextP context)
|
|||||||
vtable->vaSetDisplayAttributes = RequestSetDisplayAttributes;
|
vtable->vaSetDisplayAttributes = RequestSetDisplayAttributes;
|
||||||
vtable->vaLockSurface = RequestLockSurface;
|
vtable->vaLockSurface = RequestLockSurface;
|
||||||
vtable->vaUnlockSurface = RequestUnlockSurface;
|
vtable->vaUnlockSurface = RequestUnlockSurface;
|
||||||
vtable->vaBufferInfo = RequestBufferInfo;
|
|
||||||
|
|
||||||
driver_data = malloc(sizeof(*driver_data));
|
driver_data = malloc(sizeof(*driver_data));
|
||||||
memset(driver_data, 0, sizeof(*driver_data));
|
memset(driver_data, 0, sizeof(*driver_data));
|
||||||
|
|||||||
Reference in New Issue
Block a user