Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c370 uint8_t *reg_flags = NULL; in mm_app_stream_initbuf() local
385 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); in mm_app_stream_initbuf()
386 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()
391 if (reg_flags != NULL) { in mm_app_stream_initbuf()
392 free(reg_flags); in mm_app_stream_initbuf()
406 free(reg_flags); in mm_app_stream_initbuf()
413 reg_flags[i] = 1; in mm_app_stream_initbuf()
434 free(reg_flags); in mm_app_stream_initbuf()
440 *initial_reg_flag = reg_flags; in mm_app_stream_initbuf()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2341 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local
2352 &my_obj->total_buf_cnt, &reg_flags, &my_obj->buf, in mm_stream_init_bufs()
2356 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()
2376 if (reg_flags) { in mm_stream_init_bufs()
2377 my_obj->buf[i].user_buf.buf_in_use = reg_flags[i]; in mm_stream_init_bufs()
2397 free(reg_flags); in mm_stream_init_bufs()
2398 reg_flags = NULL; in mm_stream_init_bufs()