Searched defs:size (Results 126 - 150 of 269) sorted by relevance

1234567891011

/hardware/libhardware/include/hardware/
H A Dbt_hf.h145 size_t size; member in struct:__anon214
212 size_t size; member in struct:__anon222
H A Dbt_rc.h177 size_t size; member in struct:__anon255
196 size_t size; member in struct:__anon256
/hardware/libhardware_legacy/wifi/
H A Dwifi.c120 unsigned int size; local
123 module = load_file(filename, &size);
127 ret = init_module(module, size, args);
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp76 int i, size = 0; local
84 size ++;
87 return size;
98 int size = 0; local
177 size = target - ratesStrStart;
178 ratesStr = (char *)malloc(size + 1) ;
179 ratesStrForVal = (char *)malloc(size + 1) ;
180 memcpy(ratesStr, ratesStrStart, size);
181 memcpy(ratesStrForVal, ratesStrStart, size);
182 ratesStr[size]
[all...]
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp310 /* The preview buffer size in the callback should be (width*height*bytes_per_pixel)
311 * As all preview formats we support, use 12 bits per pixel, buffer size = previewWidth * previewHeight * 3/2.
334 ALOGE("%s: Invalid preview format, buffer size in preview callback may be wrong.", __func__);
798 * @size : length of data buffer
807 uint32_t size,
897 ALOGD("dump %s size =%d, data = %p", buf, size, data);
900 int written_len = write(file_fd, data, size);
806 dumpFrameToFile(const void *data, uint32_t size, int index, int dump_type) argument
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera.c1309 * @size : size of the buffer
1322 uint32_t size)
1339 payload.size = size;
1492 * @buf_size : size of the message to be sent
1532 * @size : size of the buffer
1541 uint32_t size)
1549 packet.payload.buf_map.size
1315 mm_camera_map_stream_buf(mm_camera_obj_t *my_obj, uint32_t ch_id, uint32_t stream_id, uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd, uint32_t size) argument
1538 mm_camera_map_buf(mm_camera_obj_t *my_obj, uint8_t buf_type, int fd, uint32_t size) argument
[all...]
H A Dmm_camera_stream.c1242 * @size : size of the buffer
1253 uint32_t size)
1265 packet.payload.buf_map.size = size;
1336 * @size : size of the buffer
1346 uint32_t size,
1352 frame_idx, plane_idx, fd, size);
1248 mm_stream_map_buf(mm_stream_t * my_obj, uint8_t buf_type, uint32_t frame_idx, int32_t plane_idx, int fd, uint32_t size) argument
1343 mm_stream_map_buf_ops(uint32_t frame_idx, int32_t plane_idx, int fd, uint32_t size, void *userdata) argument
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
H A Dmm_qcamera_app.h103 uint32_t size; member in struct:__anon612
169 uint32_t size,
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_app.c127 alloc.len = buf->mem_info.size;
128 /* to make it page size aligned */
161 buf->mem_info.size = alloc.len;
180 rc = munmap(buf->mem_info.data, buf->mem_info.size);
216 cache_inv_data.length = mem_info->size;
261 void mm_app_dump_jpeg_frame(const void * data, uint32_t size, char* name, char* ext, int index) argument
267 CDBG("%s: %s size =%d, jobId=%d", __func__, buf, size, index);
269 write(file_fd, data, size);
287 app_bufs[i].mem_info.size
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc_priv.h174 int size; member in struct:private_handle_t
191 private_handle_t(int fd, int size, int flags, int bufferType, argument
195 flags(flags), size(size), offset(0), bufferType(bufferType),
/hardware/qcom/display/msm8974/libgralloc/
H A Dgralloc_priv.h172 int size; member in struct:private_handle_t
189 private_handle_t(int fd, int size, int flags, int bufferType, argument
193 flags(flags), size(size), offset(0), bufferType(bufferType),
/hardware/qcom/display/msm8x26/libgralloc/
H A Dgralloc_priv.h173 int size; member in struct:private_handle_t
190 private_handle_t(int fd, int size, int flags, int bufferType, argument
194 flags(flags), size(size), offset(0), bufferType(bufferType),
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp442 int32_t size = 0; local
446 size = ALIGN(width, ALIGN32) * ALIGN(height, ALIGN32) * 2;
447 size = ALIGN(size, ALIGN4K);
451 size = mSrcStride * ALIGN(height, ALIGN32) * 4;
453 size = ALIGN(width, ALIGN32) * ALIGN(height, ALIGN32) * 4;
454 size = ALIGN(size, ALIGN4K);
458 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K);
461 size
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
H A Dmp4_utils.h100 #define SIMPLE_L1_MAX_VBVBUFFERSIZE 10 /* VBV Max Buffer size=10 (p. 498) */
102 #define SIMPLE_L2_MAX_VBVBUFFERSIZE 40 /* VBV Max Buffer size = 40 */
104 #define SIMPLE_L3_MAX_VBVBUFFERSIZE 40 /* VBV Max Buffer size = 40 */
146 uint32 size; member in struct:__anon987
169 static uint32 read_bit_field(posInfoType * posPtr, uint32 size);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
H A Dmp4_utils.h100 #define SIMPLE_L1_MAX_VBVBUFFERSIZE 10 /* VBV Max Buffer size=10 (p. 498) */
102 #define SIMPLE_L2_MAX_VBVBUFFERSIZE 40 /* VBV Max Buffer size = 40 */
104 #define SIMPLE_L3_MAX_VBVBUFFERSIZE 40 /* VBV Max Buffer size = 40 */
144 uint32 size; member in struct:__anon1006
166 static uint32 read_bit_field(posInfoType * posPtr, uint32 size);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp1033 "count min=%lu, buffer size=%lu",
1061 "count min=%d, buffer size=%d",
1582 bool omx_venc::dev_get_seq_hdr(void *buffer, unsigned size, unsigned *hdrlen) argument
1584 return handle->venc_get_seq_hdr(buffer, size, hdrlen);
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
H A DExynos_OMX_VdecControl.c721 Exynos_OSAL_Log(EXYNOS_LOG_WARNING, "Input Buffer Full, Check input buffer size! allocSize:%d, dataLen:%d", inputUseBuffer->allocSize, inputUseBuffer->dataLen);
1214 OMX_U32 width, height, size; local
1255 size = (width * height * 3) / 2;
1258 pExynosPort->portDefinition.nBufferSize = (size > pExynosPort->portDefinition.nBufferSize) ? size : pExynosPort->portDefinition.nBufferSize;
1279 Exynos_OSAL_Log(EXYNOS_LOG_ERROR, "Color format is not support!! use default YUV size!!");
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/vp8/
H A DExynos_OMX_Vp8dec.c71 static OMX_ERRORTYPE GetCodecOutputPrivateData(OMX_PTR codecBuffer, void *addr[], int size[]) argument
89 if (size != NULL) {
90 size[0] = pCodecBuffer->planes[0].allocSize;
91 size[1] = pCodecBuffer->planes[1].allocSize;
92 size[2] = pCodecBuffer->planes[2].allocSize;
114 - 19-bit field - size of the first data partition in bytes
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/
H A DExynos_OMX_VencControl.c672 Exynos_OSAL_Log(EXYNOS_LOG_WARNING, "Input Buffer Full, Check input buffer size! allocSize:%d, dataLen:%d", inputUseBuffer->allocSize, inputUseBuffer->dataLen);
1252 OMX_U32 width, height, size; local
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosJpegEncoderForCamera.cpp187 int ExynosJpegEncoderForCamera::setInBuf(char **buf, int *size) argument
197 if (size<=0) {
204 size += JPEG_WA_BUFFER_SIZE;
206 freeJpegIonMemory(m_ionJpegClient, &m_ionJpegInBuffer, &m_pJpegInputBuffer, size);
211 JPEG_ERROR_LOG("[%s]src ion client create failed, value = %d\n", __func__, size);
217 ret = allocJpegIonMemory(m_ionJpegClient, &m_ionJpegInBuffer, &m_pJpegInputBuffer, size);
222 ret = m_jpegMain->setInBuf(&m_pJpegInputBuffer, &size);
227 m_iInBufSize = size;
232 ret = m_jpegMain->setInBuf(buf, size);
242 int ExynosJpegEncoderForCamera::setOutBuf(char *buf, int size) argument
266 encode(int *size, exif_attribute_t *exifInfo) argument
359 makeExif(unsigned char *exifOut, exif_attribute_t *exifInfo, unsigned int *size, bool useMainbufForThumb) argument
806 encodeThumbnail(unsigned int *size, bool useMain) argument
1003 allocJpegIonMemory(ion_client ionClient, ion_buffer *ionBuffer, char **buffer, int size) argument
1031 freeJpegIonMemory(ion_client ionClient, ion_buffer *ionBuffer, char **buffer, int size) argument
[all...]
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosJpegEncoderForCamera.cpp181 int ExynosJpegEncoderForCamera::setInBuf(int *buf, char** vBuf, int *size) argument
191 if (size == NULL) {
197 ret = m_jpegMain->setInBuf(buf, size);
203 m_stMainInBuf.iSize[0] = size[0];
209 int ExynosJpegEncoderForCamera::setOutBuf(int buf, char* vBuf, int size) argument
219 if (size<=0) {
224 ret = m_jpegMain->setOutBuf(buf, size);
230 m_stMainOutBuf.iSize[0] = size;
236 int ExynosJpegEncoderForCamera::encode(int *size, exif_attribute_t *exifInfo) argument
313 *size
318 makeExif(unsigned char *exifOut, exif_attribute_t *exifInfo, unsigned int *size, bool useMainbufForThumb) argument
766 encodeThumbnail(unsigned int *size, bool useMain) argument
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_Utils.c1585 /* Copy the data in dataPtr to iHoldBuffer. Update the iHoldBuffer size (iHoldLen).*/
2693 * @param size - Buffer header address, that needs to be sent to codec
2701 int size,
2727 nSizeReserved = ROUND_TO_PAGESIZE(size) + 2*DMM_PAGE_SIZE ;
2737 pDmmBuf->nSize = size;
2738 G711DEC_DPRINT(" DMM MAP Reserved: %p, size 0x%x (%d)\n", pDmmBuf->pReserved,nSizeReserved,nSizeReserved);
2743 size , /* size to Map on DSP*/
2754 G711DEC_DPRINT("DMM Mapped: %p, size 0x%x (%d)\n",pDmmBuf->pMapped, size,siz
2700 OMX_DmmMap(DSP_HPROCESSOR ProcHandle, int size, void* pArmPtr, DMM_BUFFER_OBJ* pDmmBuf) argument
[all...]
H A DOMX_G711Decoder.c84 void * mymalloc(int line, char *s, int size);
2003 void * mymalloc(int line, char *s, int size) argument
2007 p = malloc(size);
2019 bytes[e]=size;
2021 G711DEC_PRINT("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_Utils.c2520 * @param size - Buffer header address, that needs to be sent to codec
2527 OMX_ERRORTYPE OMX_DmmMap(DSP_HPROCESSOR ProcHandle, int size, void* pArmPtr, argument
2558 nSizeReserved = ROUND_TO_PAGESIZE(size) + 2*DMM_PAGE_SIZE ;
2567 pDmmBuf->nSize = size;
2568 G711ENC_DPRINT(" OMX DMM MAP Reserved: %p, size 0x%x (%d)\n", pDmmBuf->pReserved,nSizeReserved,nSizeReserved);
2573 size , /* size to Map on DSP*/
2584 G711ENC_DPRINT("OMX DMM Mapped: %p, size 0x%x (%d)\n",pDmmBuf->pMapped, size,size);
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_Utils.c1973 * @param size - Buffer header address, that needs to be sent to codec
1981 int size,
2007 nSizeReserved = ROUND_TO_PAGESIZE(size) + 2*DMM_PAGE_SIZE ;
2017 pDmmBuf->nSize = size;
2018 G726DEC_DPRINT(" DMM MAP Reserved: %p, size 0x%x (%d)\n", pDmmBuf->pReserved,nSizeReserved,nSizeReserved);
2023 size , /* size to Map on DSP*/
2033 G726DEC_DPRINT("DMM Mapped: %p, size 0x%x (%d)\n",pDmmBuf->pMapped, size,size);
1980 OMX_DmmMap(DSP_HPROCESSOR ProcHandle, int size, void* pArmPtr, DMM_BUFFER_OBJ* pDmmBuf) argument
[all...]

Completed in 2824 milliseconds

1234567891011