You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
What is difference between rga image scaling and drm image scaling #52
According rk3328 datasheet 2d graphics module (rga driver) and video output driver (accesed by drm) have image scaling capabilities. What is difference? Which one should I use in which case?
@wzyy2 Thanks. Am I right, that if I want just to scale decoded video than there is no big difference.
For example I want to scale 1920x1080 to 1280x720. Same performance with rga and vop. Right?
No......
If you want to store your decoded video, then you have to use RGA sclae.
If you want to display decoded video in screen, the you can use VOP scale, but it only could be used through libdrm.
They don't have same performance, since VOP actually didn't scale anything.
To understand what it's VOP scale, you should learn libdrm, drmmodesetplane.
To learn what it's RGA sclae, see https://github.com/wzyy2/rga-v4l2-demo.
Yes, I actually want just to display video not in fullscreen mode, but in some small region.
I was thinking about two possabilities, one mpp decoding -> rga (scale) -> vop or mpp decoding -> vop (scale).
Activity
wzyy2 commentedon Nov 29, 2017
RGA scale is memory2memoery.
Buffer 800x600 --> Buffer 1920x1080
VOP scale is memory2display
Buffer 800x600 --> Screen 1920x1080
nikitos1550 commentedon Nov 29, 2017
@wzyy2 Thanks. Am I right, that if I want just to scale decoded video than there is no big difference.
For example I want to scale 1920x1080 to 1280x720. Same performance with rga and vop. Right?
wzyy2 commentedon Nov 29, 2017
No......
If you want to store your decoded video, then you have to use RGA sclae.
If you want to display decoded video in screen, the you can use VOP scale, but it only could be used through libdrm.
They don't have same performance, since VOP actually didn't scale anything.
To understand what it's VOP scale, you should learn
libdrm,drmmodesetplane.To learn what it's RGA sclae, see https://github.com/wzyy2/rga-v4l2-demo.
nikitos1550 commentedon Nov 29, 2017
Yes, I actually want just to display video not in fullscreen mode, but in some small region.
I was thinking about two possabilities, one mpp decoding -> rga (scale) -> vop or mpp decoding -> vop (scale).
s390/kasan: increase instrumented stack size to 64k
drm/i915: Don't touch fence->error when resetting an innocent request
um: Mark all kernel symbols as local