diff options
| author | Julian Scheel <julian@jusst.de> | 2008-12-28 19:47:18 +0000 |
|---|---|---|
| committer | Julian Scheel <julian@jusst.de> | 2008-12-28 19:47:18 +0000 |
| commit | 5c9bcbcefee17fdd254bcecd3865cd1a5202134b (patch) | |
| tree | e6266f62559ed145293f1ec320602c97234981b1 /src/video_out | |
| parent | c233c9834cd68408c5975368268c560c85c095a7 (diff) | |
| download | xine-lib-5c9bcbcefee17fdd254bcecd3865cd1a5202134b.tar.gz xine-lib-5c9bcbcefee17fdd254bcecd3865cd1a5202134b.tar.bz2 | |
Fix argb overlay; allow partial buffer updates to improve performance.
Diffstat (limited to 'src/video_out')
| -rw-r--r-- | src/video_out/video_out_vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c index cbbed7c68..645ff7301 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -299,8 +299,8 @@ static int vdpau_process_argb_ovl( vdpau_driver_t *this_gen, vo_overlay_t *overl uint32_t pitch = this->argb_overlay_width*4; VdpRect dest = { 0, overlay->y, this->argb_overlay_width, overlay->y + overlay->height }; printf("Update ARGB: %d, %d - %dx%d\n", dest.x0, dest.y0, dest.x1, dest.y1); - printf("buf offset: %d\n", overlay->y*this->argb_overlay_width); uint32_t *buffer_start = overlay->argb_buffer + overlay->y*this->argb_overlay_width; + printf("buf offset: %d, %p -> %p\n", overlay->y*this->argb_overlay_width, overlay->argb_buffer, buffer_start); VdpStatus st = vdp_output_surface_put_bits( this->argb_overlay, (void*)&(buffer_start), &pitch, &dest ); if ( st != VDP_STATUS_OK ) { printf( "vdpau_process_argb_ovl: vdp_output_surface_put_bits_native failed : %s\n", vdp_get_error_string(st) ); |
