• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/av


Commit MetaInfo

Revisionc4031b39c5fd0e5836379380c1f1ed22f2c781a9 (tree)
Time2020-04-14 22:49:59
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Don't use YV12 color format for video decoding

YV12 is not supported by Mesa yet. This has to be reverted
when we can enable h/w decoder.

Change Summary

Incremental Difference

--- a/media/libstagefright/colorconversion/SoftwareRenderer.cpp
+++ b/media/libstagefright/colorconversion/SoftwareRenderer.cpp
@@ -125,6 +125,7 @@ void SoftwareRenderer::resetFormatIfChanged(
125125 // hardware has YUV12 and RGBA8888 support, so convert known formats
126126 {
127127 switch (mColorFormat) {
128+#if 0
128129 case OMX_COLOR_FormatYUV420Planar:
129130 case OMX_COLOR_FormatYUV420SemiPlanar:
130131 case OMX_TI_COLOR_FormatYUV420PackedSemiPlanar:
@@ -134,6 +135,7 @@ void SoftwareRenderer::resetFormatIfChanged(
134135 bufHeight = (mCropHeight + 1) & ~1;
135136 break;
136137 }
138+#endif
137139 case OMX_COLOR_Format24bitRGB888:
138140 {
139141 halFormat = HAL_PIXEL_FORMAT_RGB_888;