Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c71 free(pme->jpeg_buf.buf.buffer); in jpeg_encode_cb()
160 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
161 encode_param.dest_buf[0].buf_vaddr = (uint8_t *)test_obj->jpeg_buf.buf.buffer; in createEncodingSession()
162 encode_param.dest_buf[0].fd = test_obj->jpeg_buf.buf.fd; in createEncodingSession()
398 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_snapshot_notify_cb()
399 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_snapshot_notify_cb()
404 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_snapshot_notify_cb()
409 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
417 free(pme->jpeg_buf.buf.buffer); in mm_app_snapshot_notify_cb()
Dmm_qcamera_reprocess.c66 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_reprocess_notify_cb()
67 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_reprocess_notify_cb()
72 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_reprocess_notify_cb()
77 free(pme->jpeg_buf.buf.buffer); in mm_app_reprocess_notify_cb()
Dmm_qcamera_preview.c310 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_zsl_notify_cb()
311 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_zsl_notify_cb()
316 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_zsl_notify_cb()
321 free(pme->jpeg_buf.buf.buffer); in mm_app_zsl_notify_cb()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c148 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
149 encode_param.dest_buf[0].buf_vaddr = (uint8_t *)test_obj->jpeg_buf.buf.buffer; in createEncodingSession()
150 encode_param.dest_buf[0].fd = test_obj->jpeg_buf.buf.fd; in createEncodingSession()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c148 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.buf.frame_len; in createEncodingSession()
149 encode_param.dest_buf[0].buf_vaddr = (uint8_t *)test_obj->jpeg_buf.buf.buffer; in createEncodingSession()
150 encode_param.dest_buf[0].fd = test_obj->jpeg_buf.buf.fd; in createEncodingSession()
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c262 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->jpeg_buf.frame[0].fd, in mm_app_unprepare_raw_snapshot_buf()
263 (void *)pme->jpeg_buf.frame[0].buffer, in mm_app_unprepare_raw_snapshot_buf()
264 pme->jpeg_buf.frame_len); in mm_app_unprepare_raw_snapshot_buf()
267 memset(&pme->jpeg_buf, 0, sizeof(pme->jpeg_buf)); in mm_app_unprepare_raw_snapshot_buf()
288 memcpy((uint8_t *)((uint32_t)pme->jpeg_buf.frame[0].buffer + JpegOffset), ptr, size); in snapshot_jpeg_fragment_cb()
366 (void *)pme->jpeg_buf.frame[0].buffer, &JpegOffset); in encodeData()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h126 mm_camear_app_buf_t jpeg_buf; member
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h139 mm_camera_app_buf_t jpeg_buf; member
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h139 mm_camera_app_buf_t jpeg_buf; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c342 job.encode_job.encode_parm.buf_info.sink_img.buf_len = pme->jpeg_buf.bufs[0].frame_len; in encodeData()
343 job.encode_job.encode_parm.buf_info.sink_img.buf_vaddr = pme->jpeg_buf.bufs[0].buffer; in encodeData()
344 job.encode_job.encode_parm.buf_info.sink_img.fd = pme->jpeg_buf.bufs[0].fd; in encodeData()
724 &pme->jpeg_buf, in mm_app_start_snapshot()
811 &pme->jpeg_buf); in mm_app_stop_snapshot()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h221 mm_camera_app_buf_t jpeg_buf; member
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Channel.cpp865 char* jpeg_buf = (char *)p_output->buf_vaddr; in jpegEvtHandle() local
876 jpeg_eof = &jpeg_buf[maxJpegSize-sizeof(jpegHeader)]; in jpegEvtHandle()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1019 char* jpeg_buf = (char *)p_output->buf_vaddr; in jpegEvtHandle() local
1034 jpeg_eof = &jpeg_buf[maxJpegSize-sizeof(jpegHeader)]; in jpegEvtHandle()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1394 char* jpeg_buf = (char *)p_output->buf_vaddr; in jpegEvtHandle() local
1409 jpeg_eof = &jpeg_buf[maxJpegSize-sizeof(jpegHeader)]; in jpegEvtHandle()