/hardware/samsung_slsi/exynos5/gralloc/ |
D | mapper.cpp | 42 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local 44 void* mappedAddress = mmap(0, hnd->size, PROT_READ|PROT_WRITE, MAP_SHARED, in gralloc_map() 45 hnd->fd, 0); in gralloc_map() 50 ALOGV("%s: base %p %d %d %d %d\n", __func__, mappedAddress, hnd->size, in gralloc_map() 51 hnd->width, hnd->height, hnd->stride); in gralloc_map() 52 hnd->base = mappedAddress; in gralloc_map() 58 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local 60 if (!hnd->base) in gralloc_unmap() 63 if (munmap(hnd->base, hnd->size) < 0) { in gralloc_unmap() 65 hnd->base, hnd->size); in gralloc_unmap() [all …]
|
D | gralloc.cpp | 135 unsigned int ion_flags, private_handle_t **hnd, int *stride) in gralloc_alloc_rgb() argument 196 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, in gralloc_alloc_rgb() 204 private_handle_t **hnd, int *stride) in gralloc_alloc_framework_yuv() argument 228 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, h); in gralloc_alloc_framework_yuv() 234 private_handle_t **hnd, int *stride) in gralloc_alloc_yuv() argument 277 ion_flags, hnd, stride); in gralloc_alloc_yuv() 298 *hnd = new private_handle_t(fd, luma_size, usage, w, h, in gralloc_alloc_yuv() 309 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h, in gralloc_alloc_yuv() 312 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format, in gralloc_alloc_yuv() 317 if (!err && *hnd) { in gralloc_alloc_yuv() [all …]
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | mapper.cpp | 61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local 63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map() 64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map() 65 size_t size = hnd->size; in gralloc_map() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() 68 hnd->offset, hnd->fd); in gralloc_map() 71 handle, hnd->fd, strerror(errno)); in gralloc_map() 72 hnd->base = 0; in gralloc_map() 76 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 80 hnd->offset_metadata, hnd->fd_metadata); in gralloc_map() [all …]
|
D | gralloc_priv.h | 211 const private_handle_t* hnd = (const private_handle_t*)h; in validate() local 214 hnd->magic != sMagic) in validate() 222 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate() 223 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate() 224 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate() 225 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate() 226 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate() 227 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate() 228 hnd ? (((hnd->magic >> 0) & 0xFF)? in validate() 229 ((hnd->magic >> 0) & 0xFF) : '-') : '?', in validate()
|
D | gpu.cpp | 151 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer() local 155 hnd->offset = data.offset; in gralloc_alloc_buffer() 156 hnd->base = int(data.base) + data.offset; in gralloc_alloc_buffer() 157 hnd->gpuaddr = 0; in gralloc_alloc_buffer() 159 *pHandle = hnd; in gralloc_alloc_buffer() 219 private_handle_t* hnd = new private_handle_t( in gralloc_alloc_framebuffer_locked() local 234 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 235 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 236 *pHandle = hnd; in gralloc_alloc_framebuffer_locked() 322 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl() argument [all …]
|
D | alloc_controller.cpp | 381 private_handle_t* hnd = new private_handle_t(data.fd, data.size, in alloc_buffer() local 384 hnd->base = (int) data.base; in alloc_buffer() 385 hnd->offset = data.offset; in alloc_buffer() 386 hnd->gpuaddr = 0; in alloc_buffer() 387 *pHnd = hnd; in alloc_buffer() 391 void free_buffer(private_handle_t *hnd) in free_buffer() argument 395 if (hnd && hnd->fd > 0) { in free_buffer() 396 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() 397 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer() 399 if(hnd) in free_buffer() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | mapper.cpp | 61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local 63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map() 64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map() 65 size_t size = hnd->size; in gralloc_map() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() 68 hnd->offset, hnd->fd); in gralloc_map() 71 handle, hnd->fd, strerror(errno)); in gralloc_map() 72 hnd->base = 0; in gralloc_map() 76 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 80 hnd->offset_metadata, hnd->fd_metadata); in gralloc_map() [all …]
|
D | gralloc_priv.h | 213 const private_handle_t* hnd = (const private_handle_t*)h; in validate() local 216 hnd->magic != sMagic) in validate() 224 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate() 225 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate() 226 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate() 227 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate() 228 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate() 229 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate() 230 hnd ? (((hnd->magic >> 0) & 0xFF)? in validate() 231 ((hnd->magic >> 0) & 0xFF) : '-') : '?', in validate()
|
D | gpu.cpp | 145 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer() local 149 hnd->offset = data.offset; in gralloc_alloc_buffer() 150 hnd->base = int(data.base) + data.offset; in gralloc_alloc_buffer() 151 hnd->gpuaddr = 0; in gralloc_alloc_buffer() 153 *pHandle = hnd; in gralloc_alloc_buffer() 213 private_handle_t* hnd = new private_handle_t( in gralloc_alloc_framebuffer_locked() local 228 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 230 *pHandle = hnd; in gralloc_alloc_framebuffer_locked() 307 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl() argument [all …]
|
D | alloc_controller.cpp | 364 private_handle_t* hnd = new private_handle_t(data.fd, data.size, in alloc_buffer() local 367 hnd->base = (int) data.base; in alloc_buffer() 368 hnd->offset = data.offset; in alloc_buffer() 369 hnd->gpuaddr = 0; in alloc_buffer() 370 *pHnd = hnd; in alloc_buffer() 374 void free_buffer(private_handle_t *hnd) in free_buffer() argument 378 if (hnd && hnd->fd > 0) { in free_buffer() 379 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() 380 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer() 382 if(hnd) in free_buffer() [all …]
|
/hardware/qcom/display/msm8x26/libgralloc/ |
D | mapper.cpp | 61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local 63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map() 64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map() 65 size_t size = hnd->size; in gralloc_map() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() 68 hnd->offset, hnd->fd); in gralloc_map() 71 handle, hnd->fd, strerror(errno)); in gralloc_map() 72 hnd->base = 0; in gralloc_map() 76 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 80 hnd->offset_metadata, hnd->fd_metadata); in gralloc_map() [all …]
|
D | gralloc_priv.h | 212 const private_handle_t* hnd = (const private_handle_t*)h; in validate() local 215 hnd->magic != sMagic) in validate() 223 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate() 224 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate() 225 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate() 226 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate() 227 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate() 228 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate() 229 hnd ? (((hnd->magic >> 0) & 0xFF)? in validate() 230 ((hnd->magic >> 0) & 0xFF) : '-') : '?', in validate()
|
D | gpu.cpp | 145 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer() local 149 hnd->offset = data.offset; in gralloc_alloc_buffer() 150 hnd->base = int(data.base) + data.offset; in gralloc_alloc_buffer() 151 hnd->gpuaddr = 0; in gralloc_alloc_buffer() 153 *pHandle = hnd; in gralloc_alloc_buffer() 213 private_handle_t* hnd = new private_handle_t( in gralloc_alloc_framebuffer_locked() local 228 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 230 *pHandle = hnd; in gralloc_alloc_framebuffer_locked() 307 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl() argument [all …]
|
D | alloc_controller.cpp | 362 private_handle_t* hnd = new private_handle_t(data.fd, data.size, in alloc_buffer() local 365 hnd->base = (int) data.base; in alloc_buffer() 366 hnd->offset = data.offset; in alloc_buffer() 367 hnd->gpuaddr = 0; in alloc_buffer() 368 *pHnd = hnd; in alloc_buffer() 372 void free_buffer(private_handle_t *hnd) in free_buffer() argument 376 if (hnd && hnd->fd > 0) { in free_buffer() 377 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() 378 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer() 380 if(hnd) in free_buffer() [all …]
|
/hardware/libhardware/modules/gralloc/ |
D | mapper.cpp | 50 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local 51 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map() 52 size_t size = hnd->size; in gralloc_map() 54 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0); in gralloc_map() 59 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 63 *vaddr = (void*)hnd->base; in gralloc_map() 70 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local 71 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 72 void* base = (void*)hnd->base; in gralloc_unmap() 73 size_t size = hnd->size; in gralloc_unmap() [all …]
|
/hardware/qcom/display/msm8x26/libgenlock/ |
D | genlock.cpp | 73 private_handle_t *hnd = reinterpret_cast<private_handle_t*> in perform_lock_unlock_operation() local 75 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in perform_lock_unlock_operation() 76 if (hnd->genlockPrivFd < 0) { in perform_lock_unlock_operation() 86 lock.fd = hnd->genlockHandle; in perform_lock_unlock_operation() 89 if (ioctl(hnd->genlockPrivFd, GENLOCK_IOC_DREADLOCK, &lock)) { in perform_lock_unlock_operation() 92 lockType, strerror(errno), hnd->fd); in perform_lock_unlock_operation() 100 if (ioctl(hnd->genlockPrivFd, GENLOCK_IOC_LOCK, &lock)) { in perform_lock_unlock_operation() 102 ,__FUNCTION__, lockType, strerror(errno), hnd->fd); in perform_lock_unlock_operation() 144 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_create_lock() local 145 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in genlock_create_lock() [all …]
|
/hardware/qcom/display/msm8960/libgenlock/ |
D | genlock.cpp | 73 private_handle_t *hnd = reinterpret_cast<private_handle_t*> in perform_lock_unlock_operation() local 75 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in perform_lock_unlock_operation() 76 if (hnd->genlockPrivFd < 0) { in perform_lock_unlock_operation() 86 lock.fd = hnd->genlockHandle; in perform_lock_unlock_operation() 89 if (ioctl(hnd->genlockPrivFd, GENLOCK_IOC_DREADLOCK, &lock)) { in perform_lock_unlock_operation() 92 lockType, strerror(errno), hnd->fd); in perform_lock_unlock_operation() 100 if (ioctl(hnd->genlockPrivFd, GENLOCK_IOC_LOCK, &lock)) { in perform_lock_unlock_operation() 102 ,__FUNCTION__, lockType, strerror(errno), hnd->fd); in perform_lock_unlock_operation() 144 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_create_lock() local 145 if ((hnd->flags & private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED) == 0) { in genlock_create_lock() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.h | 216 static inline bool isYuvBuffer(const private_handle_t* hnd) { in isYuvBuffer() argument 217 return (hnd && (hnd->bufferType == BUFFER_TYPE_VIDEO)); in isYuvBuffer() 221 static inline bool isSecureBuffer(const private_handle_t* hnd) { in isSecureBuffer() argument 222 return (hnd && (private_handle_t::PRIV_FLAGS_SECURE_BUFFER & hnd->flags)); in isSecureBuffer() 225 static inline bool isBufferLocked(const private_handle_t* hnd) { in isBufferLocked() argument 226 return (hnd && (private_handle_t::PRIV_FLAGS_HWC_LOCK & hnd->flags)); in isBufferLocked() 230 static inline bool isExtOnly(const private_handle_t* hnd) { in isExtOnly() argument 231 return (hnd && (hnd->flags & private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY)); in isExtOnly() 235 static inline bool isExtBlock(const private_handle_t* hnd) { in isExtBlock() argument 236 return (hnd && (hnd->flags & private_handle_t::PRIV_FLAGS_EXTERNAL_BLOCK)); in isExtBlock() [all …]
|
D | hwc_fbupdate.cpp | 66 private_handle_t *hnd = (private_handle_t *)layer->handle; in configure() local 67 ovutils::Whf info(getWidth(hnd), getHeight(hnd), in configure() 68 ovutils::getMdpFormat(hnd->format), hnd->size); in configure() 127 bool FBUpdateLowRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw() argument 135 if (!ov.queueBuffer(hnd->fd, hnd->offset, dest)) { in draw() 170 private_handle_t *hnd = (private_handle_t *)layer->handle; in configure() local 171 ovutils::Whf info(getWidth(hnd), getHeight(hnd), in configure() 172 ovutils::getMdpFormat(hnd->format), hnd->size); in configure() 264 bool FBUpdateHighRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw() argument 273 if (!ov.queueBuffer(hnd->fd, hnd->offset, destL)) { in draw() [all …]
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
D | hwc_utils.h | 216 static inline bool isYuvBuffer(const private_handle_t* hnd) { in isYuvBuffer() argument 217 return (hnd && (hnd->bufferType == BUFFER_TYPE_VIDEO)); in isYuvBuffer() 221 static inline bool isSecureBuffer(const private_handle_t* hnd) { in isSecureBuffer() argument 222 return (hnd && (private_handle_t::PRIV_FLAGS_SECURE_BUFFER & hnd->flags)); in isSecureBuffer() 225 static inline bool isBufferLocked(const private_handle_t* hnd) { in isBufferLocked() argument 226 return (hnd && (private_handle_t::PRIV_FLAGS_HWC_LOCK & hnd->flags)); in isBufferLocked() 230 static inline bool isExtOnly(const private_handle_t* hnd) { in isExtOnly() argument 231 return (hnd && (hnd->flags & private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY)); in isExtOnly() 235 static inline bool isExtBlock(const private_handle_t* hnd) { in isExtBlock() argument 236 return (hnd && (hnd->flags & private_handle_t::PRIV_FLAGS_EXTERNAL_BLOCK)); in isExtBlock() [all …]
|
D | hwc_fbupdate.cpp | 66 private_handle_t *hnd = (private_handle_t *)layer->handle; in configure() local 67 ovutils::Whf info(getWidth(hnd), getHeight(hnd), in configure() 68 ovutils::getMdpFormat(hnd->format), hnd->size); in configure() 127 bool FBUpdateLowRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw() argument 135 if (!ov.queueBuffer(hnd->fd, hnd->offset, dest)) { in draw() 170 private_handle_t *hnd = (private_handle_t *)layer->handle; in configure() local 171 ovutils::Whf info(getWidth(hnd), getHeight(hnd), in configure() 172 ovutils::getMdpFormat(hnd->format), hnd->size); in configure() 264 bool FBUpdateHighRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw() argument 273 if (!ov.queueBuffer(hnd->fd, hnd->offset, destL)) { in draw() [all …]
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.h | 263 static inline bool isYuvBuffer(const private_handle_t* hnd) { in isYuvBuffer() argument 264 return (hnd && (hnd->bufferType == BUFFER_TYPE_VIDEO)); in isYuvBuffer() 268 static inline bool isSecureBuffer(const private_handle_t* hnd) { in isSecureBuffer() argument 269 return (hnd && (private_handle_t::PRIV_FLAGS_SECURE_BUFFER & hnd->flags)); in isSecureBuffer() 273 static inline bool isL3SecureBuffer(const private_handle_t* hnd) { in isL3SecureBuffer() argument 274 return (hnd && in isL3SecureBuffer() 275 (private_handle_t::PRIV_FLAGS_L3_SECURE_BUFFER & hnd->flags)); in isL3SecureBuffer() 278 static inline bool isBufferLocked(const private_handle_t* hnd) { in isBufferLocked() argument 279 return (hnd && (private_handle_t::PRIV_FLAGS_HWC_LOCK & hnd->flags)); in isBufferLocked() 283 static inline bool isExtOnly(const private_handle_t* hnd) { in isExtOnly() argument [all …]
|
/hardware/qcom/display/msm8974/libcopybit/ |
D | software_converter.cpp | 38 private_handle_t* hnd = (private_handle_t*)src->handle; in convertYV12toYCrCb420SP() local 40 if(hnd == NULL || yv12_handle == NULL){ in convertYV12toYCrCb420SP() 60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP() 61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP() 181 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd, in convert_yuv_c2d_to_yuv_android() argument 185 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android() 186 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android() 215 ret = copy_source_to_destination(hnd->base, dst_hnd->base, info); in convert_yuv_c2d_to_yuv_android() 227 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd, in convert_yuv_android_to_yuv_c2d() argument 230 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d() [all …]
|
/hardware/qcom/display/msm8x26/libcopybit/ |
D | software_converter.cpp | 38 private_handle_t* hnd = (private_handle_t*)src->handle; in convertYV12toYCrCb420SP() local 40 if(hnd == NULL || yv12_handle == NULL){ in convertYV12toYCrCb420SP() 60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP() 61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP() 181 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd, in convert_yuv_c2d_to_yuv_android() argument 185 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android() 186 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android() 215 ret = copy_source_to_destination(hnd->base, dst_hnd->base, info); in convert_yuv_c2d_to_yuv_android() 227 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd, in convert_yuv_android_to_yuv_c2d() argument 230 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 38 private_handle_t* hnd = (private_handle_t*)src->handle; in convertYV12toYCrCb420SP() local 40 if(hnd == NULL || yv12_handle == NULL){ in convertYV12toYCrCb420SP() 60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size); in convertYV12toYCrCb420SP() 61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size); in convertYV12toYCrCb420SP() 181 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd, in convert_yuv_c2d_to_yuv_android() argument 185 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android() 186 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android() 215 ret = copy_source_to_destination(hnd->base, dst_hnd->base, info); in convert_yuv_c2d_to_yuv_android() 227 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd, in convert_yuv_android_to_yuv_c2d() argument 230 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d() [all …]
|