Lines Matching refs:buf_num
267 if (my_obj->buf_num <= 0) {
1068 uint8_t buf_num = my_obj->buf_num;
1070 if(buf_num > MM_CAMERA_MAX_NUM_FRAMES) {
1072 __func__, buf_num, MM_CAMERA_MAX_NUM_FRAMES);
1076 for(i = 0; i < buf_num; i++){
1089 bufreq.count = buf_num;
1184 my_obj->buf_num = my_obj->hal_requested_num_bufs;
1187 my_obj->buf_num++;
1191 (mm_camera_buf_def_t*)malloc(sizeof(mm_camera_buf_def_t) * my_obj->buf_num);
1193 (mm_stream_buf_status_t*)malloc(sizeof(mm_stream_buf_status_t) * my_obj->buf_num);
1194 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * my_obj->buf_num);
1204 memset(my_obj->buf, 0, sizeof(mm_camera_buf_def_t) * my_obj->buf_num);
1205 memset(my_obj->buf_status, 0, sizeof(mm_stream_buf_status_t) * my_obj->buf_num);
1206 memset(reg_flags, 0, sizeof(uint8_t) * my_obj->buf_num);
1214 my_obj->buf_num,
1223 for (i=0; i < my_obj->buf_num; i++) {
1231 for (i=0; i < my_obj->buf_num; i++) {
1264 my_obj->buf_num,
1296 for (i=0; i<my_obj->buf_num; i++) {
1315 my_obj->buf_num,
1341 for(i = 0; i < my_obj->buf_num; i++){
1367 for(i = 0; i < my_obj->buf_num; i++){
1392 for(i = 0; i < my_obj->buf_num; i++){