diff options
author | Emeric Grange <[email protected]> | 2011-09-12 23:39:30 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-09-14 15:49:16 +0200 |
commit | fa2a8316cebeb75626ffa3e38dbc1500e82054f6 (patch) | |
tree | 18d6db91740b543df72d6586bfb1397aeea4d7ce /src/gallium/state_trackers/vdpau/bitmap.c | |
parent | c24bc6f8684abee8c9a1b263334cd7a8506657b1 (diff) |
st/vdpau: Add documentation from the VDPAU API and update some traces
Signed-off-by: Emeric Grange <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/bitmap.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/bitmap.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/bitmap.c b/src/gallium/state_trackers/vdpau/bitmap.c index 730cc11cb82..8c7dbe529e8 100644 --- a/src/gallium/state_trackers/vdpau/bitmap.c +++ b/src/gallium/state_trackers/vdpau/bitmap.c @@ -29,6 +29,9 @@ #include "vdpau_private.h" +/** + * Create a VdpBitmapSurface. + */ VdpStatus vlVdpBitmapSurfaceCreate(VdpDevice device, VdpRGBAFormat rgba_format, @@ -43,12 +46,18 @@ vlVdpBitmapSurfaceCreate(VdpDevice device, return VDP_STATUS_NO_IMPLEMENTATION; } +/** + * Destroy a VdpBitmapSurface. + */ VdpStatus vlVdpBitmapSurfaceDestroy(VdpBitmapSurface surface) { return VDP_STATUS_NO_IMPLEMENTATION; } +/** + * Retrieve the parameters used to create a VdpBitmapSurface. + */ VdpStatus vlVdpBitmapSurfaceGetParameters(VdpBitmapSurface surface, VdpRGBAFormat *rgba_format, @@ -61,6 +70,10 @@ vlVdpBitmapSurfaceGetParameters(VdpBitmapSurface surface, return VDP_STATUS_NO_IMPLEMENTATION; } +/** + * Copy image data from application memory in the surface's native format to + * a VdpBitmapSurface. + */ VdpStatus vlVdpBitmapSurfacePutBitsNative(VdpBitmapSurface surface, void const *const *source_data, |