comparison libvo/vo_vdpau.c @ 28639:0e0b2001d290

Document that and why deinterlacing is not working
author reimar
date Fri, 20 Feb 2009 10:00:15 +0000
parents 7b16ccf423b4
children 94fcc9e0449b
comparison
equal deleted inserted replaced
28638:7b16ccf423b4 28639:0e0b2001d290
176 vdp_st = vdp_presentation_queue_block_until_surface_idle(vdp_flip_queue, 176 vdp_st = vdp_presentation_queue_block_until_surface_idle(vdp_flip_queue,
177 output_surface, 177 output_surface,
178 &dummy); 178 &dummy);
179 CHECK_ST_WARNING("Error when calling vdp_presentation_queue_block_until_surface_idle") 179 CHECK_ST_WARNING("Error when calling vdp_presentation_queue_block_until_surface_idle")
180 180
181 // we would need to provide past and future frames to allow deinterlacing,
182 // which is not really possible currently. Deinterlacing is supposed to fall
183 // back to bob deinterlacing, but that seems not to work either.
181 vdp_st = vdp_video_mixer_render(video_mixer, VDP_INVALID_HANDLE, 0, 184 vdp_st = vdp_video_mixer_render(video_mixer, VDP_INVALID_HANDLE, 0,
182 VDP_VIDEO_MIXER_PICTURE_STRUCTURE_FRAME, 185 VDP_VIDEO_MIXER_PICTURE_STRUCTURE_FRAME,
183 0, NULL, surface_render[vid_surface_num].surface, 0, NULL, &src_rect_vid, 186 0, NULL, surface_render[vid_surface_num].surface, 0, NULL, &src_rect_vid,
184 output_surface, 187 output_surface,
185 NULL, &out_rect_vid, 0, NULL); 188 NULL, &out_rect_vid, 0, NULL);
761 "\n-vo vdpau command line help:\n" 764 "\n-vo vdpau command line help:\n"
762 "Example: mplayer -vo vdpau:deint=2\n" 765 "Example: mplayer -vo vdpau:deint=2\n"
763 "\nOptions:\n" 766 "\nOptions:\n"
764 " deint\n" 767 " deint\n"
765 " 0: no deinterlacing\n" 768 " 0: no deinterlacing\n"
766 " 1: temporal deinterlacing\n" 769 " 1: temporal deinterlacing (not yet working)\n"
767 " 2: temporal-spatial deinterlacing\n" 770 " 2: temporal-spatial deinterlacing (not yet working)\n"
768 " pullup\n" 771 " pullup\n"
769 " Try to apply inverse-telecine\n" 772 " Try to apply inverse-telecine (needs deinterlacing, not working)\n"
770 " denoise\n" 773 " denoise\n"
771 " Apply denoising, argument is strength from 0.0 to 1.0\n" 774 " Apply denoising, argument is strength from 0.0 to 1.0\n"
772 " sharpen\n" 775 " sharpen\n"
773 " Apply sharpening or softening, argument is strength from -1.0 to 1.0\n" 776 " Apply sharpening or softening, argument is strength from -1.0 to 1.0\n"
774 ; 777 ;