Home
last modified time | relevance | path

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

/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c340 uint8_t *reg_flags = NULL; in mm_app_stream_initbuf() local
348 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); in mm_app_stream_initbuf()
349 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()
354 if (reg_flags != NULL) { in mm_app_stream_initbuf()
355 free(reg_flags); in mm_app_stream_initbuf()
368 free(reg_flags); in mm_app_stream_initbuf()
375 reg_flags[i] = 1; in mm_app_stream_initbuf()
394 free(reg_flags); in mm_app_stream_initbuf()
400 *initial_reg_flag = reg_flags; in mm_app_stream_initbuf()
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c1177 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local
1194 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * my_obj->buf_num); in mm_stream_init_bufs()
1198 NULL == reg_flags) { in mm_stream_init_bufs()
1206 memset(reg_flags, 0, sizeof(uint8_t) * my_obj->buf_num); in mm_stream_init_bufs()
1215 reg_flags, in mm_stream_init_bufs()
1224 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()
1228 free(reg_flags); in mm_stream_init_bufs()
1229 reg_flags = NULL; in mm_stream_init_bufs()
1276 if (NULL != reg_flags) { in mm_stream_init_bufs()
1277 free(reg_flags); in mm_stream_init_bufs()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1403 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local
1419 &reg_flags, in mm_stream_init_bufs()
1435 free(reg_flags); in mm_stream_init_bufs()
1441 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()
1446 free(reg_flags); in mm_stream_init_bufs()
1447 reg_flags = NULL; in mm_stream_init_bufs()