I would like to yuv data collection source Android Camera directly textures, but do not know how to extract y, u, v components. Daniel seek help ~ ~
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Android camera can be collected yuv420sp can also eat yuv420p. I know yuv420 in yuv distribution. Now the main premise is collected from Android Camera to yuv420 data in this byte [] length is twice the width and height of the video product, instead of 1.5 times. Get the inside jni to 1.5 times the length of it really is, but converted to jbyte * jni inside length or one times, do not know how to get the ~
Reply:
http://bbs.csdn.net/topics/390611547
Reply:
Great, thank you ~ ~
No comments:
Post a Comment