As mentioned in title, we are converting a grayscale RGB frame to YUV frame using RGA library. Both RGA lib and RGA kernel driver are from same SDK version.
This is what we get as resulting frame after conversion using methods shown in linux-rga's samples/legacy :
Obviously the frame got messed up and the issues is same as the one mentioned in RGA_FAQ.md/Q2.11.
When we convert RGB frame to YUV using " https://github.com/Jerzha/samples-toybrick-rga ", the frame is correctly converted:
Conversion is correct, however the library Jerzha shared is not updated anymore and it makes more sense to use linux-rga library's methods, to be able to add more functionality to our projects. Also this library seems to communicate with rga library using "ioctl" commands, which is very confusing and there is no documentation about how it works.
What went wrong here? What would you suggest to solve this?
Hello @JeffyCN ,
As mentioned in title, we are converting a grayscale RGB frame to YUV frame using RGA library. Both RGA lib and RGA kernel driver are from same SDK version. This is what we get as resulting frame after conversion using methods shown in linux-rga's samples/legacy :
Obviously the frame got messed up and the issues is same as the one mentioned in RGA_FAQ.md/Q2.11.
When we convert RGB frame to YUV using " https://github.com/Jerzha/samples-toybrick-rga ", the frame is correctly converted:
Conversion is correct, however the library Jerzha shared is not updated anymore and it makes more sense to use linux-rga library's methods, to be able to add more functionality to our projects. Also this library seems to communicate with rga library using "ioctl" commands, which is very confusing and there is no documentation about how it works.
What went wrong here? What would you suggest to solve this?
Thanks in advance.