Replies: 2 comments
-
|
为提高AMD环境的兼容性,优化YV12转换后的目标Buffer格式,修改成YV12转BGRA,同时对YV12的Buffer做w/2的256字节对齐,可以解决抖音部分视频出现绿色线条的问题,相关提交如下。 openfde/lineageos_android_frameworks_native#27 |
Beta Was this translation helpful? Give feedback.
-
|
事实上,gbm是否支持nv12不是最关键的。因为对于缓存来讲,只要大小满足要求即可,格式是上层应用的事。现在的问题有两个:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Mesa doesn't implement NV12 as a BO/surface type for alloc, because we don't (currently) have support for NV12 as a GPU render waydroid/android_external_mesa3d#4 (comment)
so the yv12 video palying is not normal on mesa.
Beta Was this translation helpful? Give feedback.
All reactions