Home
last modified time | relevance | path

Searched refs:dccbuf_size (Results 1 – 3 of 3) sorted by relevance

/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDCC.cpp65 int dccbuf_size = 0; in initDCC() local
97 dccbuf_size = readDCCdir(NULL, dccDirs); in initDCC()
98 if(dccbuf_size <= 0) { in initDCC()
103 dccbuf_size = ((dccbuf_size + 4095 )/4096)*4096; in initDCC()
111 dccBuffer = memMgr.allocateBufferList(0, 0, NULL, dccbuf_size, 1); in initDCC()
118 dccbuf_size = readDCCdir(dccBuffer[0].mapped, dccDirs); in initDCC()
119 CAMHAL_ASSERT_X(dccbuf_size > 0,"ERROR in copy DCC files into buffer"); in initDCC()
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c116 OMX_S32 dccbuf_size = 0; variable
441 dccbuf_size = read_DCCdir(NULL, dcc_dir, nIndex); in DCC_Init()
443 if(dccbuf_size <= 0) in DCC_Init()
456 dccbuf_size = (dccbuf_size + LINUX_PAGE_SIZE -1) & ~(LINUX_PAGE_SIZE - 1); in DCC_Init()
457 ret = ion_alloc(ion_fd, dccbuf_size, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, &DCC_Buff); in DCC_Init()
461 if (ion_map(ion_fd, DCC_Buff, dccbuf_size, PROT_READ | PROT_WRITE, MAP_SHARED, 0, in DCC_Init()
477 MemReqDescTiler[0].dim.len = dccbuf_size; in DCC_Init()
484 dccbuf_size = read_DCCdir(ptempbuf, dcc_dir, nIndex); in DCC_Init()
486 PROXY_assert(dccbuf_size > 0, OMX_ErrorInsufficientResources, in DCC_Init()
520 uribufparam.nSharedBuffSize = dccbuf_size; in send_DCCBufPtr()
[all …]
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c125 OMX_S32 dccbuf_size = 0; variable
648 dccbuf_size = read_DCCdir(NULL, dcc_dir, nIndex); in DCC_Init()
650 if(dccbuf_size <= 0) in DCC_Init()
663 dccbuf_size = (dccbuf_size + LINUX_PAGE_SIZE -1) & ~(LINUX_PAGE_SIZE - 1); in DCC_Init()
664 ret = ion_alloc(ion_fd, dccbuf_size, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, in DCC_Init()
668 ret = ion_alloc_tiler(ion_fd, dccbuf_size, 1, TILER_PIXEL_FMT_PAGE, in DCC_Init()
674 dccbuf_size, ret); in DCC_Init()
678 if (ion_map(ion_fd, DCC_Buff, dccbuf_size, PROT_READ | PROT_WRITE, MAP_SHARED, 0, in DCC_Init()
686 dccbuf_size = read_DCCdir(ptempbuf, dcc_dir, nIndex); in DCC_Init()
688 PROXY_assert(dccbuf_size > 0, OMX_ErrorInsufficientResources, in DCC_Init()
[all …]