Lines Matching defs:index

148 		    fmtdesc.index >= strm_if->fmtgrp_cnt) {
154 fmtgrp = &strm_if->format_group[fmtdesc.index];
158 fmtdesc.index, strm_if->fmtgrp_cnt);
353 "V4L2 ioctl: VIDIOC_QUERYBUF: idx=%d", buf.index);
357 (buf.index >= usbvc_bufg->buf_cnt)) {
366 usbvc_bufg->buf_head[buf.index].v4l2_buf.length);
368 usbvc_v4l2_query_buf(usbvcp, &usbvc_bufg->buf_head[buf.index],
373 "V4L2 ioctl: VIDIOC_QUERYBUF,(index=%d)len=%d",
374 buf.index, buf.length);
390 (buf.index >= usbvc_bufg->buf_cnt) ||
395 "VIDIOC_QBUF error:index=%d,type=%d,memory=%d",
396 buf.index, buf.type, buf.memory);
402 &usbvc_bufg->buf_head[buf.index], &buf);
547 if (input.index != 0) { /* Support only one INPUT now */
974 * It's good to check index here before use it. bFormatIndex is based
982 "usbvc_v4l2_set_format: format index out of range");
996 "usbvc_v4l2_set_format: frame index out of range");
1145 "just return success", buf->index);
1154 if (donebuf == &(bufgrp->buf_head[buf->index])) {
1166 " free list", buf->index);
1173 "enqueue buffer(%d), already queued.", buf->index);
1180 "enqueue buffer(%d), state error, not mapped.", buf->index);
1192 "queue_buffer(%d), 1st time queue this buf", buf->index);
1198 "enqueue_buffer(%d) , USBVC_BUF_EMPTY", buf->index);
1220 "usbvc_v4l2_dequeue_buffer: idx=%x", buf->index);
1257 * just copy the v4l2_buf structure because app need only the index
1265 buf->bytesused, buf->index, buf_done->status);
1521 uint32_t step, i, closest, index, approx1, approx2;
1560 for (index = 0; index < frame->descr->bFrameIntervalType; index++) {
1561 LE_TO_UINT32(frame->dwFrameInterval, index * 4, i);