From: Andreas A. <ya...@gm...> - 2010-04-08 15:29:25
|
Hi, this patch added grabbing functionality of last displayed output frame to the vdpau output driver. In contrast to the already existing 'xine_get_current_frame_data' feature the propose of this new feature is to grab the displayed image exactly as it is shown by the output device after OSD is rendered into the video frame, color correction, deinterlacing and other post processing steps have been applied. The grabbed image is returned in RGB format. Defining a subwindow of source image and scaling of source image to a user defined grab size is also supported. The new interface is implemented by extending the protocol of 'xine_post_send_gui_data'. A short usage description can be found in file 'xine.h'. For smooth operation of frame displaying and (heavy) parallel frame grabbing the vdpau display queue length, which is actually fixed at size 2, could be increased by configuration. There is a new configuration parameter 'video.output.vdpau_display_queue_length' with default value of 2. Increasing this parameter by 1 should almost be enought. Andreas |