Home
last modified time | relevance | path

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

/device/lge/hammerhead/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/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/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c1225 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local
1246 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * my_obj->buf_num); in mm_stream_init_bufs()
1250 NULL == reg_flags) { in mm_stream_init_bufs()
1258 memset(reg_flags, 0, sizeof(uint8_t) * my_obj->buf_num); in mm_stream_init_bufs()
1267 reg_flags, in mm_stream_init_bufs()
1276 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()
1280 free(reg_flags); in mm_stream_init_bufs()
1281 reg_flags = NULL; in mm_stream_init_bufs()
1328 if (NULL != reg_flags) { in mm_stream_init_bufs()
1329 free(reg_flags); in mm_stream_init_bufs()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c354 uint8_t *reg_flags = NULL; in mm_app_stream_initbuf() local
367 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); in mm_app_stream_initbuf()
368 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()
373 if (reg_flags != NULL) { in mm_app_stream_initbuf()
374 free(reg_flags); in mm_app_stream_initbuf()
388 free(reg_flags); in mm_app_stream_initbuf()
395 reg_flags[i] = 1; in mm_app_stream_initbuf()
414 free(reg_flags); in mm_app_stream_initbuf()
420 *initial_reg_flag = reg_flags; in mm_app_stream_initbuf()
/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()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1395 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local
1410 &reg_flags, in mm_stream_init_bufs()
1426 free(reg_flags); in mm_stream_init_bufs()
1432 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()
1437 free(reg_flags); in mm_stream_init_bufs()
1438 reg_flags = NULL; in mm_stream_init_bufs()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1427 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local
1442 &reg_flags, in mm_stream_init_bufs()
1458 free(reg_flags); in mm_stream_init_bufs()
1464 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()
1469 free(reg_flags); in mm_stream_init_bufs()
1470 reg_flags = NULL; in mm_stream_init_bufs()