dvdspu: some optimizations
authorRob Clark <rob@ti.com>
Tue, 27 Dec 2011 18:55:58 +0000 (12:55 -0600)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Fri, 4 May 2012 01:17:56 +0000 (21:17 -0400)
commitd628608300ba8171181e2689e64126343ce1bbe6
tree96bed17ad1c2e20b870eb8f798f16a396d4fc1f4
parent266caff6bb6c1f38f4ba480da8ef9fcbeba71334
dvdspu: some optimizations

Detect invisible pixels, and skip gstspu_vobsub_blend_comp_buffers()
when there are only invisible pixels.  This significantly reduces the
CPU load in cases of DVDs which don't use the clip_rect to exclude
processing for parts of the screen where the video is visible.
gst/dvdspu/gstspu-common.h
gst/dvdspu/gstspu-pgs.c
gst/dvdspu/gstspu-vobsub-render.c