diff options
author | Lakshman Gowda <lakshman79@ti.com> | 2011-09-29 17:47:35 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-10-05 10:29:27 -0700 |
commit | db62a245f968159ea5ff8ad99afb4cd035e2304d (patch) | |
tree | 09cbb61511de7a81a17b57edb11e8898ee38f2c5 /docs | |
parent | b4e7d4ca7502bb8ff599229ec90c1bf5b481f2f7 (diff) | |
download | frameworks_base-db62a245f968159ea5ff8ad99afb4cd035e2304d.zip frameworks_base-db62a245f968159ea5ff8ad99afb4cd035e2304d.tar.gz frameworks_base-db62a245f968159ea5ff8ad99afb4cd035e2304d.tar.bz2 |
Set crop params to ANative Window during Initialization.
The native_window_set_crop() is called when port reconfig event callback comes from decoder's and
crop parameters are changed from default getconfig() OMX_IndexConfigCommonOutputCrop values.
Since the default crop params are same as port reconfig crop params, the native_window_set_crop()
is not called, hence resulting in displaying the whole frame(paddedWidth x paddedHeight).
By calling native_window_set_crop() during initilaization of output port of decoder ensures
in setting up ANative window to crop region.
Change-Id: I68926464a1f5c7e6053804615c8b9bd32ea85688
Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions