Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c72 free(pme->jpeg_buf.buf.buffer); in jpeg_encode_cb()
161 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
162 encode_param.dest_buf[0].buf_vaddr = (uint8_t *)test_obj->jpeg_buf.buf.buffer; in createEncodingSession()
163 encode_param.dest_buf[0].fd = test_obj->jpeg_buf.buf.fd; in createEncodingSession()
410 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_snapshot_notify_cb()
411 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_snapshot_notify_cb()
416 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_snapshot_notify_cb()
421 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
429 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
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_preview.c208 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_snapshot_notify_cb()
209 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_snapshot_notify_cb()
214 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_snapshot_notify_cb()
219 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
227 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
465 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_zsl_notify_cb()
466 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_zsl_notify_cb()
471 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_zsl_notify_cb()
476 free(pme->jpeg_buf.buf.buffer); in mm_app_zsl_notify_cb()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h219 mm_camera_app_buf_t jpeg_buf; member
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Channel.cpp3002 char* jpeg_buf = (char *)p_output->buf_vaddr; in jpegEvtHandle() local
3022 char *jpeg_eof = &jpeg_buf[jpeg_eof_offset]; in jpegEvtHandle()