Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 25 of 27) sorted by relevance

12

/hardware/qcom/gps/utils/
Dloc_log.cpp118 char *loc_get_time(char *time_string, unsigned long buf_size) in loc_get_time() argument
128 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
171 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
180 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h60 extern char *loc_get_time(char *time_string, unsigned long buf_size);
Dlog_util.h73 extern char* get_timestamp(char* str, unsigned long buf_size);
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_sock.c113 uint32_t buf_size, in mm_camera_socket_sendmsg() argument
130 iov[0].iov_len = buf_size; in mm_camera_socket_sendmsg()
173 uint32_t buf_size, in mm_camera_socket_recvmsg() argument
183 if ( (msg == NULL) || (buf_size <= 0) ) { in mm_camera_socket_recvmsg()
195 iov[0].iov_len = buf_size; in mm_camera_socket_recvmsg()
/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_sock.c113 uint32_t buf_size, in mm_camera_socket_sendmsg() argument
130 iov[0].iov_len = buf_size; in mm_camera_socket_sendmsg()
173 uint32_t buf_size, in mm_camera_socket_recvmsg() argument
183 if ( (msg == NULL) || (buf_size <= 0) ) { in mm_camera_socket_recvmsg()
195 iov[0].iov_len = buf_size; in mm_camera_socket_recvmsg()
Dmm_jpeg_encoder.c127 uint32_t buf_size; in mm_jpege_event_handler() local
137 jpeg_buffer_get_actual_size(thumbnail_buffer, &buf_size); in mm_jpege_event_handler()
142 jpeg_buffer_get_actual_size(snapshot_buffer, &buf_size); in mm_jpege_event_handler()
166 uint32_t buf_size; in mm_jpege_output_produced_handler() local
174 jpeg_buffer_get_actual_size(buffer, &buf_size); in mm_jpege_output_produced_handler()
179 mmcamera_jpegfragment_callback(buf_ptr, buf_size, user_data); in mm_jpege_output_produced_handler()
192 uint32_t buf_size; in mm_jpege_output_produced_handler2() local
200 jpeg_buffer_get_actual_size(buffer, &buf_size); in mm_jpege_output_produced_handler2()
205 mmcamera_jpegfragment_callback(buf_ptr, buf_size, user_data); in mm_jpege_output_produced_handler2()
317 int buf_size = 0; in mm_jpeg_encoder_encode() local
[all …]
Dmm_camera_sock.h45 uint32_t buf_size,
51 uint32_t buf_size,
Dmm_camera_interface2.h302 int32_t (*sendmsg)(mm_camera_t * camera, void *msg, uint32_t buf_size, int sendfd);
480 int32_t cam_ops_sendmsg(int cam_id, void *msg, uint32_t buf_size, int sendfd);
Dmm_camera_interface2.c446 uint32_t buf_size, in mm_camera_ops_sendmsg() argument
456 rc = mm_camera_sendmsg(my_obj, msg, buf_size, sendfd); in mm_camera_ops_sendmsg()
882 int32_t cam_ops_sendmsg(int cam_id, void *msg, uint32_t buf_size, int sendfd) in cam_ops_sendmsg() argument
887 rc = mm_cam->ops->sendmsg(mm_cam, msg, buf_size, sendfd); in cam_ops_sendmsg()
Dmm_camera.h354 extern int32_t mm_camera_sendmsg(mm_camera_obj_t *my_obj, void *msg, uint32_t buf_size, int sendfd);
Dmm_camera.c1130 int32_t mm_camera_sendmsg(mm_camera_obj_t *my_obj, void *msg, uint32_t buf_size, int sendfd) in mm_camera_sendmsg() argument
1132 return mm_camera_socket_sendmsg(my_obj->ds_fd, msg, buf_size, sendfd); in mm_camera_sendmsg()
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_sock.h45 uint32_t buf_size,
51 uint32_t buf_size,
Dmm_camera.h446 uint32_t buf_size,
/hardware/qcom/media/mm-video/vidc/common/src/
Dvidc_color_converter.cpp140 bool omx_c2d_conv::get_buffer_size(int port,unsigned int &buf_size) in get_buffer_size() argument
150 buf_size = bufferreq.size; in get_buffer_size()
/hardware/ti/omap4xxx/camera/
DANativeWindowDisplayAdapter.cpp113 int buf_size; in getBufSize() local
118 buf_size = width * height * 2; in getBufSize()
122 buf_size = width * height * 3 / 2; in getBufSize()
126 buf_size = width * height * 2; in getBufSize()
129 buf_size = 0; in getBufSize()
133 buf_size = 0; in getBufSize()
136 return buf_size; in getBufSize()
/hardware/qcom/media/mm-video/vidc/common/inc/
Dvidc_color_converter.h43 bool get_buffer_size(int port,unsigned int &buf_size);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXExif.cpp244 int buf_size = 0; in setupEXIF() local
266 buf_size = sizeof(OMX_TI_CONFIG_EXIF_TAGS) + in setupEXIF()
272 buf_size = ((buf_size+4095)/4096)*4096; in setupEXIF()
273 sharedBuffer.nSharedBuffSize = buf_size; in setupEXIF()
275 memmgr_buf_array = (OMX_U8 **)memMgr.allocateBuffer(0, 0, NULL, buf_size, 1); in setupEXIF()
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg_interface.h60 uint32_t buf_size; /* total size of buf (header + image) */ member
/hardware/libhardware/include/hardware/
Dcamera.h51 typedef camera_memory_t* (*camera_request_memory)(int fd, size_t buf_size, unsigned int num_bufs,
/hardware/qcom/media/mm-video/vidc/venc/src/
Domx_video_base.cpp4486 bool omx_video::omx_c2d_conv::get_buffer_size(int port,unsigned int &buf_size) in get_buffer_size() argument
4496 buf_size = bufferreq.size; in get_buffer_size()
4629 unsigned int buf_size = 0; in convert_queue_buffer() local
4630 if (!c2d_conv.get_buffer_size(C2D_OUTPUT,buf_size)) in convert_queue_buffer()
4634 if(!buf_size || buf_size > pdest_frame->nAllocLen) { in convert_queue_buffer()
4637 buf_size, pdest_frame->nAllocLen); in convert_queue_buffer()
4639 buf_size = 0; in convert_queue_buffer()
4641 pdest_frame->nFilledLen = buf_size; in convert_queue_buffer()
/hardware/qcom/camera/
DQualcommCamera.cpp147 camera_memory_t* get_mem(int fd,size_t buf_size, in get_mem() argument
159 return getmem_cb(fd, buf_size, num_bufs, user_data); in get_mem()
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec.cpp7655 unsigned int buf_size = 0, extra_data_size = 0; in get_buffer_req() local
7668 buf_size = buffer_prop->buffer_size; in get_buffer_req()
7688 buf_size = ((buf_size + 3)&(~3)); //Align extradata start address to 64Bit in get_buffer_req()
7690 buf_size += extra_data_size; in get_buffer_req()
7691 buf_size = (buf_size + buffer_prop->alignment - 1)&(~(buffer_prop->alignment - 1)); in get_buffer_req()
7693 buffer_prop->actualcount, buffer_prop->buffer_size, buf_size); in get_buffer_req()
7695 buffer_prop->buffer_size = buf_size; in get_buffer_req()
7696 else if (buf_size != buffer_prop->buffer_size) in get_buffer_req()
7698 buffer_prop->buffer_size = buf_size; in get_buffer_req()
7711 unsigned buf_size = 0; in set_buffer_req() local
[all …]
Domx_vdec_copper.cpp7330 unsigned int buf_size = 0, extra_data_size = 0; in get_buffer_req() local
7387 buf_size = buffer_prop->buffer_size; in get_buffer_req()
7407 buf_size = ((buf_size + 3)&(~3)); //Align extradata start address to 64Bit in get_buffer_req()
7409 buf_size += extra_data_size; in get_buffer_req()
7410 buf_size = (buf_size + buffer_prop->alignment - 1)&(~(buffer_prop->alignment - 1)); in get_buffer_req()
7412 buffer_prop->actualcount, buffer_prop->buffer_size, buf_size); in get_buffer_req()
7414 buffer_prop->buffer_size = buf_size; in get_buffer_req()
7415 else if (buf_size != buffer_prop->buffer_size) in get_buffer_req()
7417 buffer_prop->buffer_size = buf_size; in get_buffer_req()
7429 unsigned buf_size = 0; in set_buffer_req() local
[all …]
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c178 src_buf->bit_stream[i].buf_size; in mm_jpeg_omx_config_main_buffer_offset()
211 input_port.nBufferSize = src_buf->bit_stream[i].buf_size; in mm_jpeg_omx_config_port()
484 src_buf->bit_stream[i].buf_size, in mm_jpeg_omx_use_buf()
/hardware/qcom/media/mm-video/vidc/venc/inc/
Domx_video_base.h173 bool get_buffer_size(int port,unsigned int &buf_size);

12