Executing ScriptIntrinsicYuvToRgb

后端 未结 1 1811
独厮守ぢ
独厮守ぢ 2021-01-03 14:13

I want to convert a byte[] in Yuv into a byte[] in Rgb. The ScriptIntrinsic (ScriptIntrinsicYuvToRgb) is supposed to do this (based on this example).

Here\'s some co

相关标签:
1条回答
  • 2021-01-03 14:45

    I think the problem is the output allocation is created with USAGE_IO_OUTPUT but a surface is never attached. I would try with (USAGE_SCRIPT & USAGE_SHARED) or just use the defaults.

    0 讨论(0)
提交回复
热议问题