Lines Matching defs:field

518  * Will always be a field or a full frame, never two fields.
525 enum v4l2_field field;
527 /* Flag to indicate this is the last field in the vb */
621 * and released when the last 'field' completes
722 /* job->previous may be on the first field */
760 * Return the next field in the queue - or NULL,
907 if (job->active->field == V4L2_FIELD_BOTTOM) {
908 format |= FD1_RPF_FORMAT_CF; /* Set for Bottom field */
1147 /* One output buffer is required for each field */
1148 if (V4L2_FIELD_HAS_BOTH(src_q_data->format.field))
1177 * Prepare the next field, (or frame in progressive) and an output
1472 * Progressive video and all interlaced field orders are acceptable.
1475 if (pix->field != V4L2_FIELD_NONE &&
1476 pix->field != V4L2_FIELD_ALTERNATE &&
1477 !V4L2_FIELD_HAS_BOTH(pix->field))
1478 pix->field = V4L2_FIELD_INTERLACED;
1500 if (pix->field == V4L2_FIELD_ALTERNATE)
1552 pix->field = V4L2_FIELD_NONE;
1574 * field order contains one or two fields per frame.
1577 if (src_data->format.field == V4L2_FIELD_ALTERNATE)
1594 dprintk(ctx->fdp1, "Try %s format: %4.4s (0x%08x) %ux%u field %u\n",
1597 f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field);
1618 if (pix->field != V4L2_FIELD_NONE)
1625 if (pix->field == V4L2_FIELD_INTERLACED ||
1626 pix->field == V4L2_FIELD_INTERLACED_TB ||
1627 pix->field == V4L2_FIELD_INTERLACED_BT) {
1638 * size, override the field and double the height if needed.
1644 dst_data->format.field = V4L2_FIELD_NONE;
1645 if (pix->field == V4L2_FIELD_ALTERNATE)
1669 dprintk(ctx->fdp1, "Set %s format: %4.4s (0x%08x) %ux%u field %u\n",
1672 f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field);
1685 if (V4L2_FIELD_HAS_BOTH(src_q_data->format.field))
1723 "Previous field",
1724 "Next field",
1794 num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1;
1802 switch (vbuf->field) {
1809 fbuf->field = (q_data->format.height < 576) == field_num
1814 fbuf->field = field_num ? V4L2_FIELD_BOTTOM : V4L2_FIELD_TOP;
1818 fbuf->field = field_num ? V4L2_FIELD_TOP : V4L2_FIELD_BOTTOM;
1821 fbuf->field = vbuf->field;
1829 /* Adjust buffer addresses for second field */
1830 switch (vbuf->field) {
1858 /* Validate the buffer field. */
1859 switch (q_data->format.field) {
1861 if (vbuf->field != V4L2_FIELD_NONE)
1866 if (vbuf->field != V4L2_FIELD_TOP &&
1867 vbuf->field != V4L2_FIELD_BOTTOM)
1876 if (vbuf->field != q_data->format.field)
1883 "buffer field %u invalid for format field %u\n",
1884 vbuf->field, q_data->format.field);
1888 vbuf->field = V4L2_FIELD_NONE;
1907 buf->num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1;
1933 if (q_data->format.field == V4L2_FIELD_NONE)