我需要知道如何旋转图像,这是YUV420P格式90度。转换至RGB格式,旋转,再次再转换为YUV的选项是不可行的。即使是一个算法会有所帮助。
I need to know how to rotate an image, which is in yuv420p format by 90 degrees. The option of converting this to rgb, rotating and again reconverting to yuv is not feasible. Even an algorithm would help.
问候, Anirudh。
Regards, Anirudh.
推荐答案我想这是不是平面YUV ,如果它已经是相当容易(跳过第一个和最后一个步骤)。你的意思是有YUV 4:2:0平面的,但我不明白为什么你有困难
I suppose it is not planar YUV, if it is it already it's quite easy (skip first and last steps). You meant to have YUV 4:2:0 planar, but then I do not understand why you have difficulties.
这一直工作正常,如果你的图像尺寸是多个4.如果没有,那么照顾......
This always works fine if your image dimensions are multiple of 4. If not, then take care...
更多推荐
如何旋转YUV420数据?
发布评论