Lines Matching full:vbuf
445 mm_camera_buf_def_t *vbuf)
449 if(vbuf->num > MM_CAMERA_MAX_NUM_FRAMES) {
452 __func__, vbuf->num, MM_CAMERA_MAX_NUM_FRAMES);
456 for(i = 0; i < vbuf->num; i++){
457 int idx = vbuf->buf.mp[i].idx;
478 mm_camera_buf_def_t *vbuf)
487 if(vbuf->num > MM_CAMERA_MAX_NUM_FRAMES) {
490 __func__, vbuf->num, MM_CAMERA_MAX_NUM_FRAMES);
519 stream->frame.num_frame = vbuf->num;
535 for(i = 0; i < vbuf->num; i++){
536 vbuf->buf.mp[i].idx = i; /* remember the index to stream frame if first time qbuf */
537 memcpy(&stream->frame.frame[i].frame, &(vbuf->buf.mp[i].frame),
538 sizeof(vbuf->buf.mp[i].frame));
540 stream->frame.frame[i].num_planes = vbuf->buf.mp[i].num_planes;
541 for(j = 0; j < vbuf->buf.mp[i].num_planes; j++) {
542 stream->frame.frame[i].planes[j] = vbuf->buf.mp[i].planes[j];
545 if(vbuf->buf.mp[i].frame_offset) {
546 stream->frame.frame_offset[i] = vbuf->buf.mp[i].frame_offset;