diff options
author | Christian König <[email protected]> | 2011-04-09 01:32:25 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-04-09 01:34:02 +0200 |
commit | cae77aa80b3629a147ce3ae4526646014efae595 (patch) | |
tree | de3c01955a0cca63bbccc24ee3d9e2f16db45b62 /src/gallium/state_trackers/vdpau/surface.c | |
parent | f3ead63e7023f61557cb92be30cae6fe9efb280a (diff) |
vdpau: Implement basic output functionality
Even with totally wrong color space conversion
we finally se a picture with VDPAU. Yeah!
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index 496f647a8d0..f0aafae79b5 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -182,7 +182,7 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface, for (i = 0; i < 3; ++i) { //TODO put nr of planes into util format struct pipe_sampler_view *sv = sampler_views[i]; - struct pipe_box dst_box = { 0, 0, sv->texture->width0, sv->texture->height0 }; + struct pipe_box dst_box = { 0, 0, 0, sv->texture->width0, sv->texture->height0, 1 }; context->upload_sampler(context, sv, &dst_box, source_data[i], source_pitches[i], 0, 0); } |