Android Camera Preview filtering

情到浓时终转凉″ 提交于 2019-12-07 13:09:04

问题


I'm an absolute Android noob, and I want to create an app where I can filter the camera preview in real-time by manipulating the raw YUV420 data. In API level 8, the setPreviewCallbackWithBuffer appeared and my question is:

In API level 7, data supplied to onPreviewFrame couldn't be changed (i.e. changes to data didn't result in any change of the preview, which is as it should be I guess). Is this also true for setPreviewCallbackWithBuffer ??

Edit: I found this article Image processing with Android Camera which has code for doing pretty much what I want anyway (not bearing in mind my original question...)

来源:https://stackoverflow.com/questions/6814572/android-camera-preview-filtering

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!