Searched refs:mHwVersions (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d_impl.cpp | 498 for (uint32_t i = 0; i < rgaCtx->mHwVersions.size; i++) { in rga_get_info() 499 if (rgaCtx->mHwVersions.version[i].major == 2 && in rga_get_info() 500 rgaCtx->mHwVersions.version[i].minor == 0) { in rga_get_info() 501 if (rgaCtx->mHwVersions.version[i].revision == 0) { in rga_get_info() 507 } else if (rgaCtx->mHwVersions.version[i].major == 3 && in rga_get_info() 508 rgaCtx->mHwVersions.version[i].minor == 0) { in rga_get_info() 509 switch (rgaCtx->mHwVersions.version[i].revision) { in rga_get_info() 525 } else if (rgaCtx->mHwVersions.version[i].major == 3 && in rga_get_info() 526 rgaCtx->mHwVersions.version[i].minor == 2) { in rga_get_info() 527 switch (rgaCtx->mHwVersions.version[i].revision) { in rga_get_info() [all …]
|
| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | NormalRgaContext.h | 43 struct rga_hw_versions_t mHwVersions; member
|
| H A D | NormalRga.cpp | 91 ret = ioctl(fd, RGA_IOC_GET_HW_VERSION, &ctx->mHwVersions); in NormalRgaOpen() 106 ctx->mHwVersions.size = 1; in NormalRgaOpen() 108 ret = ioctl(fd, RGA2_GET_VERSION, ctx->mHwVersions.version[0].str); in NormalRgaOpen() 111 ret = ioctl(fd, RGA_GET_VERSION, ctx->mHwVersions.version[0].str); in NormalRgaOpen() 118 sscanf((char *)ctx->mHwVersions.version[0].str, "%x.%x.%x", in NormalRgaOpen() 119 &ctx->mHwVersions.version[0].major, in NormalRgaOpen() 120 &ctx->mHwVersions.version[0].minor, in NormalRgaOpen() 121 &ctx->mHwVersions.version[0].revision); in NormalRgaOpen() 123 ctx->mVersion = atof((char *)ctx->mHwVersions.version[0].str); in NormalRgaOpen()
|