OSDN Git Service

improve video performance to minimize the tearing effect seen in 720p movies
authorMathias Agopian <mathias@google.com>
Wed, 9 Dec 2009 03:29:38 +0000 (19:29 -0800)
committerMathias Agopian <mathias@google.com>
Wed, 9 Dec 2009 03:29:38 +0000 (19:29 -0800)
commit69ff5de1b7bdc763a77093f829d2aa2c6da99545
treefc65df9687a88093b1416557ebeeb25f83f80889
parentac16968db1d225d0c019bb4e782d18c1ea8936f0
improve video performance to minimize the tearing effect seen in 720p movies

always rescale videos to their target size using copybit during yuv->rgb
conversion. this improves performance of the GPU pass and doesn't require
linear filtering to be enabled. Also always use 16-bits buffers.

the average processing time for 720p dropped from ~50ms to ~30ms
libs/surfaceflinger/LayerBuffer.cpp