Home
last modified time | relevance | path

Searched refs:jpeg_buf (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_reprocess.c67 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_reprocess_notify_cb()
68 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_reprocess_notify_cb()
73 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_reprocess_notify_cb()
78 free(pme->jpeg_buf.buf.buffer); in mm_app_reprocess_notify_cb()
Dmm_qcamera_snapshot.c72 mm_app_deallocate_ion_memory(&pme->jpeg_buf); in jpeg_encode_cb()
243 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.mem_info.size; in createEncodingSession()
244 encode_param.dest_buf[0].buf_vaddr = (uint8_t *) test_obj->jpeg_buf.mem_info.data; in createEncodingSession()
245 encode_param.dest_buf[0].fd = test_obj->jpeg_buf.mem_info.fd; in createEncodingSession()
492 pme->jpeg_buf.mem_info.size = m_frame->frame_len; in mm_app_snapshot_notify_cb()
494 mm_app_allocate_ion_memory(&pme->jpeg_buf, in mm_app_snapshot_notify_cb()
501 mm_app_deallocate_ion_memory(&pme->jpeg_buf); in mm_app_snapshot_notify_cb()
509 mm_app_deallocate_ion_memory(&pme->jpeg_buf); in mm_app_snapshot_notify_cb()
Dmm_qcamera_video.c198 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_snapshot_notify_cb()
199 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_snapshot_notify_cb()
204 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_snapshot_notify_cb()
209 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
217 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
Dmm_qcamera_preview.c301 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_snapshot_notify_cb()
302 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_snapshot_notify_cb()
307 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_snapshot_notify_cb()
312 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
320 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
570 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_zsl_notify_cb()
571 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_zsl_notify_cb()
576 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_zsl_notify_cb()
581 free(pme->jpeg_buf.buf.buffer); in mm_app_zsl_notify_cb()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h221 mm_camera_app_buf_t jpeg_buf; member
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp3519 char* jpeg_buf = (char *)p_output->buf_vaddr; in jpegEvtHandle() local
3555 char *jpeg_eof = &jpeg_buf[jpeg_eof_offset]; in jpegEvtHandle()