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
void drm_2da_cp_rect(uint8_t * dst, uint8_t * src, int bw, int bh, int sx,int sy, int sw, int sh, int dx,int dy) {
int usage = 0;
int ret = 0;
rga_buffer_t pat;
Sorry, I am only mirroring this code and am not familiar with the internal code or API specs.
However, I will keep this Issue open in the future as there may be others who can advise me.
基于Linux Kernel version 5.10.110
libRga版本:v1.9.3
Rga驱动版本:v1.2.22
问题:使用improcess, 从源buf的指定sx,sy,sw,sh复制一个区域到目标buf指定dx,dy,dw,dh,其中sw=dw,sh=dh,图像显示错位,不知是对improcess的理解不正确,还是这是一个BUG,向各位讨教。
librga源码中没有这样使用的例子,是我参考imtranslate源码实现,imtranslate与我代码不同点仅是imtranslate中sx,sy为0。
代码如下:
void drm_2da_cp_rect(uint8_t * dst, uint8_t * src, int bw, int bh, int sx,int sy, int sw, int sh, int dx,int dy) {
int usage = 0;
int ret = 0;
rga_buffer_t pat;
}
The text was updated successfully, but these errors were encountered: