| /OK3568_Linux_fs/external/linux-rga/samples/resize_demo/src/ |
| H A D | rga_resize_uv_downsampling_demo.cpp | 68 … orig_src.wstride, orig_src.hstride * get_bpp_from_format(orig_src.format), in local_downsampling_imcvtcolor() 71 … orig_dst.wstride, orig_dst.hstride * get_bpp_from_format(orig_dst.format), in local_downsampling_imcvtcolor() 77 src_rect.width = orig_src.wstride; in local_downsampling_imcvtcolor() 82 dst_rect.width = orig_dst.wstride; in local_downsampling_imcvtcolor() 111 src_rect.width = orig_src.wstride; in local_downsampling_imcvtcolor() 116 dst_rect.width = orig_dst.wstride; in local_downsampling_imcvtcolor()
|
| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | NormalRga.cpp | 255 rects->src.wstride,rects->src.format, rects->src.size, in NormalRgaPaletteTable() 258 rects->dst.wstride,rects->dst.format, rects->dst.size); in NormalRgaPaletteTable() 272 if (rects->src.wstride > 0 && rects->dst.wstride > 0) in NormalRgaPaletteTable() 274 else if (rects->src.wstride > 0) { in NormalRgaPaletteTable() 277 } else if (rects->dst.wstride > 0) { in NormalRgaPaletteTable() 288 tmpRects.src.wstride,tmpRects.src.format, tmpRects.src.size, in NormalRgaPaletteTable() 291 tmpRects.dst.wstride,tmpRects.dst.format, tmpRects.dst.size); in NormalRgaPaletteTable() 295 relRects.src.wstride,relRects.src.format, relRects.src.size, in NormalRgaPaletteTable() 298 relRects.dst.wstride,relRects.dst.format, relRects.dst.size); in NormalRgaPaletteTable() 314 srcVirW = relRects.src.wstride; in NormalRgaPaletteTable() [all …]
|
| H A D | NormalRgaApi.cpp | 148 if (rect.xoffset + rect.width > rect.wstride) { in checkRectForRga() 149 ALOGE("err ws[%d,%d,%d]", rect.xoffset, rect.width, rect.wstride); in checkRectForRga() 159 ((rect.wstride % 4) ||(rect.xoffset % 2) || (rect.width % 2) || in checkRectForRga() 199 tmpRects->src.wstride = srcAttrs.at(ASTRIDE); in NormalRgaGetRects() 209 tmpRects->dst.wstride = dstAttrs.at(ASTRIDE); in NormalRgaGetRects() 239 rect->wstride = dstAttrs.at(ASTRIDE); in NormalRgaGetRect() 282 rect->wstride = s; in NormalRgaSetRect()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | im2d_buffer.h | 165 …apbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int… 166 IM_C_API rga_buffer_t wrapbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, … 167 IM_C_API rga_buffer_t wrapbuffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride,… 168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int … 176 int wstride, int hstride);
|
| H A D | drmrga.h | 119 int wstride; member 339 rect->wstride = sw; in rga_set_rect()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | im2d_buffer.h | 165 …apbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int… 166 IM_C_API rga_buffer_t wrapbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, … 167 IM_C_API rga_buffer_t wrapbuffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride,… 168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int … 176 int wstride, int hstride);
|
| H A D | drmrga.h | 119 int wstride; member 339 rect->wstride = sw; in rga_set_rect()
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/ |
| H A D | im2d_buffer.h | 165 …apbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int… 166 IM_C_API rga_buffer_t wrapbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, … 167 IM_C_API rga_buffer_t wrapbuffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride,… 168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int … 176 int wstride, int hstride);
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | im2d_buffer.h | 165 …apbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int… 166 IM_C_API rga_buffer_t wrapbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, … 167 IM_C_API rga_buffer_t wrapbuffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride,… 168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int … 176 int wstride, int hstride);
|
| H A D | drmrga.h | 119 int wstride; member 339 rect->wstride = sw; in rga_set_rect()
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d.cpp | 150 int wstride, int hstride) { in wrapbuffer_virtualaddr() argument 159 buffer.wstride = wstride ? wstride : width; in wrapbuffer_virtualaddr() 168 int wstride, int hstride) { in wrapbuffer_physicaladdr() argument 177 buffer.wstride = wstride ? wstride : width; in wrapbuffer_physicaladdr() 186 int wstride, int hstride) { in wrapbuffer_fd() argument 195 buffer.wstride = wstride ? wstride : width; in wrapbuffer_fd() 204 int wstride, int hstride) { in wrapbuffer_handle() argument 213 buffer.wstride = wstride ? wstride : width; in wrapbuffer_handle() 297 buffer.wstride = dstAttrs.at(ASTRIDE); in wrapbuffer_handle() 301 if (buffer.wstride % 16) { in wrapbuffer_handle() [all …]
|
| H A D | im2d_impl.cpp | 377 if ((info.wstride % 2) || (info.hstride % 2) || in rga_yuv_legality_check() 383 name, rect.x, rect.y, info.width, info.height, info.wstride, info.hstride, in rga_yuv_legality_check() 733 if (info.wstride < info.width || info.hstride < info.height) { in rga_check_info() 736 name, info.wstride, info.width, info.hstride, info.height); in rga_check_info() 755 if ((rect.width + rect.x > info.wstride) || (rect.height + rect.y > info.hstride)) { in rga_check_info() 758 name, rect.x, rect.y, rect.width, rect.height, info.wstride, info.hstride); in rga_check_info() 980 if (info.wstride % 16) { in rga_check_align() 1006 if (info.wstride % 16) { in rga_check_align() 1008 name, info.wstride); in rga_check_align() 1025 bit_stride = pixel_stride * info.wstride; in rga_check_align() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/ |
| H A D | image_processor.cpp | 49 int wstride, int hstride, int format); 51 int wstride, int hstride, int format); 52 using fp_wrapbuffer_fd_t = rga_buffer_t (*)(int fd, int width, int height, int wstride, int hstride, 175 src.fd, src.width, src.height, src.wstride, src.hstride, WrapFormat(src.format)); in resize() 177 dst.fd, dst.width, dst.height, dst.wstride, dst.hstride, WrapFormat(dst.format)); in resize()
|
| H A D | image_processor.h | 44 int wstride; /* wstride */ member
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/ |
| H A D | drmrga.h | 66 int wstride; member 119 rect->wstride = sw; in rga_set_rect()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/ |
| H A D | drmrga.h | 116 int wstride; member 223 rect->wstride = sw; in rga_set_rect()
|
| H A D | im2d.h | 112 …apbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int… 159 IM_API rga_buffer_t wrapbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, in… 160 IM_API rga_buffer_t wrapbuffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride, i… 161 IM_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int fo…
|
| /OK3568_Linux_fs/external/linux-rga/samples/im2d_api_demo/ |
| H A D | rgaImDemo.cpp | 541 dst.wstride = src.hstride; in main() 542 dst.hstride = src.wstride; in main() 706 output_buf_data_to_file(outbuf, dst.format, dst.wstride, dst.hstride, 0); in main() 723 output_buf_data_to_file(outbuf, dst.format, dst.wstride, dst.hstride, 0); in main() 740 output_buf_data_to_file(dst_buf, dst.format, dst.wstride, dst.hstride, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/include/ |
| H A D | drmrga.h | 119 int wstride; member 339 rect->wstride = sw; in rga_set_rect()
|
| /OK3568_Linux_fs/buildroot/package/lvgl/lv_drivers/ |
| H A D | 0007-Added-rga-Acceleration-rga-copy-instead-of-memcpy.patch | 61 + int wstride = w; 94 + rga_set_rect(&src.rect, 0, 0, area_w, area_h, wstride, hstride, format);
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/ |
| H A D | scaler_service.cpp | 38 .wstride = (int)info.aligned_width, in convert()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/ |
| H A D | scaler_service.cpp | 41 .wstride = (int)info.aligned_width, in convert()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/src/ |
| H A D | rknn_create_mem_with_rga_demo.cpp | 272 int wstride = model_in_width + (ALIGN - model_in_width % ALIGN) % ALIGN; in main() local 274 …dst = wrapbuffer_fd_t(input_mems[0]->fd, model_in_width, model_in_height, wstride, hstride, in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/ |
| H A D | rga_im2d_slt.cpp | 421 … ret = memcmp(src_va, dst_va, dst.wstride * dst.hstride * get_bpp_from_format(dst.format)); in pthread_rga_run() 427 … dst.format, dst.wstride, dst.hstride, data->id + 1, dst.rd_mode); in pthread_rga_run() 429 … src.format, src.wstride, src.hstride, data->id + 2, src.rd_mode); in pthread_rga_run()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | exa.c | 109 int pitch, wstride, hstride; in rga_prepare_info() local 138 wstride = pitch * 8 / pPixmap->drawable.bitsPerPixel; in rga_prepare_info() 140 if (x < 0 || y < 0 || x + w > wstride || y + h > hstride) in rga_prepare_info() 143 rga_set_rect(&info->rect, x, y, w, h, wstride, hstride, format); in rga_prepare_info()
|