Home
last modified time | relevance | path

Searched refs:bytesperline (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dv4l2_buffers.c311 frame->linesize[i] = avbuf->plane_info[i].bytesperline; in v4l2_buffer_buf_to_swframe()
321 frame->linesize[1] = avbuf->plane_info[0].bytesperline; in v4l2_buffer_buf_to_swframe()
322 …frame->data[1] = frame->buf[0]->data + avbuf->plane_info[0].bytesperline * avbuf->context->format.… in v4l2_buffer_buf_to_swframe()
328 frame->linesize[1] = avbuf->plane_info[0].bytesperline >> 1; in v4l2_buffer_buf_to_swframe()
329 frame->linesize[2] = avbuf->plane_info[0].bytesperline >> 1; in v4l2_buffer_buf_to_swframe()
330 …frame->data[1] = frame->buf[0]->data + avbuf->plane_info[0].bytesperline * avbuf->context->format.… in v4l2_buffer_buf_to_swframe()
331 …frame->data[2] = frame->data[1] + ((avbuf->plane_info[0].bytesperline * avbuf->context->format.fmt… in v4l2_buffer_buf_to_swframe()
524 avbuf->plane_info[i].bytesperline = V4L2_TYPE_IS_MULTIPLANAR(ctx->type) ? in ff_v4l2_buffer_initialize()
525 ctx->format.fmt.pix_mp.plane_fmt[i].bytesperline : in ff_v4l2_buffer_initialize()
526 ctx->format.fmt.pix.bytesperline; in ff_v4l2_buffer_initialize()
Dv4l2_buffers.h52 int bytesperline; member
Dv4l2_context.c769 …NAR(ctx->type) ? ctx->format.fmt.pix_mp.plane_fmt[0].bytesperline : ctx->format.fmt.pix.bytesperli… in ff_v4l2_context_init()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2format.c156 pix_mp->plane_fmt[0].bytesperline); in gst_v4l2_format_to_video_info()
158 stride = extrapolate_stride (out_info->finfo, plane, pix->bytesperline); in gst_v4l2_format_to_video_info()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c224 format.fmt.pix.bytesperline, in do_get_formats()
775 format_max.fmt.pix.bytesperline, in do_set_formats_enum()
803 CU_ASSERT(0 < format_max.fmt.pix.bytesperline); in do_set_formats_enum()
852 format_min.fmt.pix.bytesperline, in do_set_formats_enum()
880 CU_ASSERT(0 < format_min.fmt.pix.bytesperline); in do_set_formats_enum()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2object.c3247 stride = format->fmt.pix_mp.plane_fmt[0].bytesperline; in gst_v4l2_object_save_format()
3249 stride = format->fmt.pix.bytesperline; in gst_v4l2_object_save_format()
3292 stride = pix_mp->plane_fmt[i].bytesperline; in gst_v4l2_object_save_format()
3304 stride = format->fmt.pix_mp.plane_fmt[0].bytesperline; in gst_v4l2_object_save_format()
3311 stride = format->fmt.pix.bytesperline; in gst_v4l2_object_save_format()
3711 format.fmt.pix_mp.plane_fmt[i].bytesperline = stride; in gst_v4l2_object_set_format_full()
3731 format.fmt.pix.bytesperline = stride; in gst_v4l2_object_set_format_full()
3747 format.fmt.pix_mp.plane_fmt[i].bytesperline); in gst_v4l2_object_set_format_full()
3750 format.fmt.pix.bytesperline); in gst_v4l2_object_set_format_full()
3801 format.fmt.pix_mp.plane_fmt[i].bytesperline, in gst_v4l2_object_set_format_full()
[all …]
Dgstv4l2bufferpool.c274 pix_fmt->bytesperline); in gst_v4l2_buffer_pool_import_userptr()
/third_party/weston/clients/
Dsimple-dmabuf-v4l.c519 display->format.strides[0] = pix->bytesperline; in fill_buffer_format()
528 display->format.strides[i] = pix_mp->plane_fmt[i].bytesperline; in fill_buffer_format()
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dvideodev2.h495 __u32 bytesperline; /* for padding, zero if unused */ member
1144 __u32 bytesperline; /* for padding, zero if unused */ member
2242 __u32 bytesperline; member
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/
Dvideodev2.h495 __u32 bytesperline; /* for padding, zero if unused */ member
1144 __u32 bytesperline; /* for padding, zero if unused */ member
2242 __u32 bytesperline; member
/third_party/gstreamer/gstplugins_good/
DChangeLog11862 We were already supporting horizontal padding by setting bytesperline to
22115 because horizontal padding can be handled by line stride (bytesperline),
83742 v4l: pass the bytesperline around
83743 When setting a format, return the bytesperline to the caller so that it can be