dvdspu: some optimizations
authorRob Clark <rob@ti.com>
Tue, 27 Dec 2011 18:55:58 +0000 (12:55 -0600)
committerRob Clark <rob@ti.com>
Tue, 27 Dec 2011 23:57:27 +0000 (17:57 -0600)
commit225bf75d77ef82ce86ab3bf10a8e15939f1a7286
tree0c4acb9639983c47e04775a05d21845ccae315b5
parent1bfb1fd02c89b3b8a31778fa963c8bbd7e4b39da
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