summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-10-20 10:43:48 -0700
committerAndreas Huber <andih@google.com>2009-10-20 11:49:01 -0700
commitf16a0b73993c5a8cc14a36521abaa50d501d9044 (patch)
tree73f0bbc032c1dd1adc02178a3f9b84a7f8adf879 /include
parent61462b437067a591bfc52c498ad964e566aaffac (diff)
downloadframeworks_base-f16a0b73993c5a8cc14a36521abaa50d501d9044.zip
frameworks_base-f16a0b73993c5a8cc14a36521abaa50d501d9044.tar.gz
frameworks_base-f16a0b73993c5a8cc14a36521abaa50d501d9044.tar.bz2
do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.
Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXCodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index ff7e34a..3f3dcf9 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -90,6 +90,7 @@ private:
kRequiresFlushCompleteEmulation = 16,
kRequiresAllocateBufferOnOutputPorts = 32,
kRequiresFlushBeforeShutdown = 64,
+ kOutputDimensionsAre16Aligned = 128,
};
struct BufferInfo {