/hardware/ti/omap4-aah/camera/ |
H A D | ANativeWindowDisplayAdapter.cpp | 755 // TODO: should we dup the fd? not really necessary and another thing for ANativeWindow 758 mFD = dup(img->fd[0]);
|
H A D | AppCallbackNotifier.cpp | 1513 status_t AppCallbackNotifier::startPreviewCallbacks(android::CameraParameters ¶ms, CameraBuffer *buffers, uint32_t *offsets, int fd, size_t length, size_t count) argument 1680 status_t AppCallbackNotifier::initSharedVideoBuffers(CameraBuffer *buffers, uint32_t *offsets, int fd, size_t length, size_t count, CameraBuffer *vidBufs) argument
|
H A D | CameraHal.cpp | 3890 @param[in] fd File descriptor 3896 status_t CameraHal::dump(int fd) const 4703 return (void *)buffer->fd;
|
H A D | CameraHal_Module.cpp | 563 int camera_dump(struct camera_device * device, int fd) argument 575 rv = gCameraHals[ti_dev->cameraid]->dump(fd);
|
H A D | MemoryManager.cpp | 119 buffers[i].fd = mmap_fd; 190 close(buffers[i].fd);
|
H A D | SensorListener.cpp | 40 static int sensor_events_listener(int fd, int events, void* data) argument
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
H A D | OMXCameraAdapter.cpp | 727 int fd = -1; local 734 fd = open(fn, O_CREAT | O_WRONLY | O_SYNC | O_TRUNC, 0777); 735 if(fd < 0) { 736 CAMHAL_LOGE("Unable to open file %s: %s", fn, strerror(fd)); 747 write(fd, bf, width); 753 write(fd, bf, stride); 757 close(fd); 774 const int fd = open(filename, O_CREAT | O_WRONLY | O_SYNC | O_TRUNC, 0644); local 775 if (fd < 0) { 776 CAMHAL_LOGE("ERROR: %s, Unable to save raw file", strerror(fd)); 3377 FILE *fd = NULL; local [all...] |
H A D | OMXDccDataSave.cpp | 313 FILE *fd = fopenCameraDCC(DCC_PATH); local 315 if (fd) 317 if (!fseekDCCuseCasePos(fd)) 321 if (fwrite(mDccData.pData, dccDataSize, 1, fd) != 1) 330 fclose(fd);
|
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
H A D | V4LCameraAdapter.cpp | 75 status_t V4LCameraAdapter::v4lIoctl (int fd, int req, void* argp) { argument 80 ret = ioctl (fd, req, argp); 622 int fd =-1; local 623 fd = open("/data/misc/camera/raw/captured_yuv422i_dump.yuv", O_CREAT | O_WRONLY | O_SYNC | O_TRUNC, 0777); 624 if(fd < 0) { 625 CAMHAL_LOGEB("Unable to open file: %s", strerror(fd)); 628 write(fd, fp, yuv422i_buff_size ); 629 close(fd); 1101 int fd = -1; local 1113 fd [all...] |
/hardware/ti/omap4-aah/camera/inc/ |
H A D | CameraHal.h | 343 int fd; member in struct:Ti::Camera::_CameraBuffer 683 status_t startPreviewCallbacks(android::CameraParameters ¶ms, CameraBuffer *buffers, uint32_t *offsets, int fd, size_t length, size_t count); 715 status_t initSharedVideoBuffers(CameraBuffer *buffers, uint32_t *offsets, int fd, size_t length, size_t count, CameraBuffer *vidBufs); 1229 int dump(int fd) const;
|
/hardware/ti/omap4-aah/domx/domx/omx_proxy_common/src/ |
H A D | omx_proxy_common.c | 135 RPC_OMX_ERRORTYPE RPC_RegisterBuffer(OMX_HANDLETYPE hRPCCtx, int fd, argument 143 if ((fd < 0) || (handle1 == NULL) || 152 ion_data.fd = fd; 166 pvr_data.fd = fd; 217 int fd; local 987 pAuxBuf0 = (OMX_U8 *)(((IMG_native_handle_t*)pBuffer)->fd[0]); 1011 pAuxBuf1 = (OMX_U8 *)(((IMG_native_handle_t*)pBuffer)->fd[1]); 1081 int fd local 1398 int fd = *((int*)pAuxBuf); local 1499 int fd = *((int*)pAuxBuf); local 1580 int fd = *((int*)pAuxBuf); local 1663 int fd = *((int*)pAuxBuf); local [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/ |
H A D | omx_proxy_camera.c | 469 int fd; local 486 ret = ion_share(pCompPrv->ion_fd, handle, &fd); 493 bufferalloc->pBuf[0] = fd; 505 close (fd);
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_h264_enc/src/ |
H A D | omx_proxy_h264enc.c | 157 RPC_OMX_ERRORTYPE RPC_RegisterBuffer(OMX_HANDLETYPE hRPCCtx, int fd, 777 pBufferHdr->pBuffer = (OMX_U8 *)(pGrallocHandle->fd[0]); 779 pAuxBuf1 = (OMX_PTR) pGrallocHandle->fd[1]; 780 DOMX_DEBUG("%s Gralloc=0x%x, Y-fd=%d, UV-fd=%d", __FUNCTION__, pGrallocHandle, 781 pGrallocHandle->fd[0], pGrallocHandle->fd[1]); 807 pBufferHdr->pBuffer = (OMX_U8 *)(pGrallocHandle->fd[0]); 809 pAuxBuf1 = (OMX_PTR) pGrallocHandle->fd[1]; 810 DOMX_DEBUG("%s Gralloc=0x%x, Y-fd [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
H A D | omx_proxy_mpeg4enc.c | 156 RPC_OMX_ERRORTYPE RPC_RegisterBuffer(OMX_HANDLETYPE hRPCCtx, int fd, 745 pBufferHdr->pBuffer = (OMX_U8 *)(pGrallocHandle->fd[0]); 747 pAuxBuf1 = (OMX_PTR) pGrallocHandle->fd[1]; 748 DOMX_DEBUG("%s Gralloc=0x%x, Y-fd=%d, UV-fd=%d", __FUNCTION__, pGrallocHandle, 749 pGrallocHandle->fd[0], pGrallocHandle->fd[1]); 766 pBufferHdr->pBuffer = (OMX_U8 *)(pGrallocHandle->fd[0]); 768 pAuxBuf1 = (OMX_PTR) pGrallocHandle->fd[1]; 769 DOMX_DEBUG("%s Gralloc=0x%x, Y-fd [all...] |
/hardware/ti/omap4-aah/hwc/ |
H A D | hal_public.h | 66 /* The `fd' field is used to "export" a meminfo to another process. 71 int fd[MAX_SUB_ALLOCS]; member in struct:__anon3431
|
H A D | hwc.c | 1635 ALOGE("No ion fd, hence can't allocate tiler2d buffers"); 1955 /* blank and unblank fd to make sure display is properly programmed on boot. 2130 FILE *fd = fopen(path, "rb"); local 2131 if (!fd) { 2138 fread(header, 1, SIZE_PNG_HEADER, fd); 2154 png_init_io(png_ptr, fd); 2219 fclose(fd); 2231 fclose(fd); 2498 fds[0].fd = uevent_get_fd(); 2500 fds[1].fd [all...] |
H A D | rgz_2d.c | 1598 int rgz_get_screengeometry(int fd, struct bvsurfgeom *geom, int fmt) argument 1605 if(ioctl(fd, FBIOGET_FSCREENINFO, &fb_fixinfo)) { 1610 if(ioctl(fd, FBIOGET_VSCREENINFO, &fb_varinfo)) {
|
H A D | rgz_2d.h | 45 int rgz_get_screengeometry(int fd, struct bvsurfgeom *geom, int fmt);
|
/hardware/ti/omap4-aah/ion/ |
H A D | ion.c | 35 int fd = open("/dev/ion", O_RDWR); local 36 if (fd < 0) 38 return fd; 41 int ion_close(int fd) argument 43 return close(fd); 46 static int ion_ioctl(int fd, int req, void *arg) argument 48 int ret = ioctl(fd, req, arg); 57 int ion_alloc(int fd, size_t len, size_t align, argument 67 ret = ion_ioctl(fd, ION_IOC_ALLOC, &data); 74 int ion_alloc_tiler(int fd, size_ argument 100 ion_free(int fd, struct ion_handle *handle) argument 108 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 130 ion_share(int fd, struct ion_handle *handle, int *share_fd) argument 147 ion_import(int fd, int share_fd, struct ion_handle **handle) argument 169 ion_map_cacheable(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 192 ion_flush_cached(int fd, struct ion_handle *handle, size_t length, unsigned char *ptr) argument 203 ion_inval_cached(int fd, struct ion_handle *handle, size_t length, unsigned char *ptr) argument [all...] |
H A D | ion.h | 25 int ion_close(int fd); 26 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags, 28 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags, 30 int ion_free(int fd, struct ion_handle *handle); 31 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, 33 int ion_share(int fd, struct ion_handle *handle, int *share_fd); 34 int ion_import(int fd, int share_fd, struct ion_handle **handle);
|
H A D | ion_test.c | 29 int _ion_alloc_test(int *fd, struct ion_handle **handle) argument 33 *fd = ion_open(); 34 if (*fd < 0) 35 return *fd; 38 ret = ion_alloc_tiler(*fd, width, height, fmt, alloc_flags, 41 ret = ion_alloc(*fd, len, align, alloc_flags, handle); 50 int fd, ret; local 53 if(_ion_alloc_test(&fd, &handle)) 56 ret = ion_free(fd, handle); 61 ion_close(fd); 86 int fd, map_fd, ret; local 153 int fd, share_fd, ret; local 188 int fd, recv_fd; local [all...] |
H A D | ion_test_2.c | 48 int _ion_alloc_test(int fd, struct ion_handle **handle) argument 53 ret = ion_alloc_tiler(fd, width, height, fmt, alloc_flags, 56 ret = ion_alloc(fd, len, align, alloc_flags, handle); 65 int fd, ret = 0, i, count_alloc; local 68 fd = ion_open(); 69 if (fd < 0) { 83 ret = _ion_alloc_test(fd, &(handle[i])); 97 ret = ion_free(fd, handle[i]); 104 ion_close(fd); 153 int fd, re local 261 int fd, ret = 0, i; local [all...] |
H A D | linux_ion.h | 46 int fd; member in struct:ion_fd_data
|
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
H A D | ion.h | 46 int fd; member in struct:ion_fd_data
|
H A D | rpmsg_omx.h | 25 * @fd: a file descriptor representing a pvr handle 27 * number of handles associated with fd 31 int fd; member in struct:omx_pvr_data
|