Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c365 mm_camera_buf_def_t *pBufs = NULL; in mm_app_stream_initbuf() local
380 pBufs = (mm_camera_buf_def_t *)malloc(sizeof(mm_camera_buf_def_t) * stream->num_of_bufs); in mm_app_stream_initbuf()
382 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()
384 if (pBufs != NULL) { in mm_app_stream_initbuf()
385 free(pBufs); in mm_app_stream_initbuf()
401 free(pBufs); in mm_app_stream_initbuf()
408 pBufs[i] = stream->s_bufs[i].buf; in mm_app_stream_initbuf()
410 rc = ops_tbl->map_ops(pBufs[i].buf_idx, in mm_app_stream_initbuf()
412 pBufs[i].fd, in mm_app_stream_initbuf()
413 (uint32_t)pBufs[i].frame_len, in mm_app_stream_initbuf()
[all …]