Home
last modified time | relevance | path

Searched refs:bytesused (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2allocator.c296 group->planes[0].bytesused = group->buffer.bytesused; in gst_v4l2_memory_group_new()
317 group->planes[i].bytesused, group->planes[i].length, in gst_v4l2_memory_group_new()
982 group->planes[i].bytesused = 0; in gst_v4l2_allocator_clear_dmabufin()
988 group->buffer.bytesused = 0; in gst_v4l2_allocator_clear_dmabufin()
1047 group->planes[i].bytesused = 0; in gst_v4l2_allocator_clear_userptr()
1052 group->buffer.bytesused = 0; in gst_v4l2_allocator_clear_userptr()
1128 group->planes[i].bytesused = size + offset; in gst_v4l2_allocator_import_dmabuf()
1135 group->buffer.bytesused = group->planes[0].bytesused; in gst_v4l2_allocator_import_dmabuf()
1196 group->planes[i].bytesused = psize; in gst_v4l2_allocator_import_userptr()
1203 group->buffer.bytesused = group->planes[0].bytesused; in gst_v4l2_allocator_import_userptr()
[all …]
Dgstv4l2bufferpool.c1354 group->planes[i].bytesused, i, group->buffer.flags, in gst_v4l2_buffer_pool_dqbuf()
/third_party/ffmpeg/libavcodec/
Dv4l2_buffers.c279 unsigned int bytesused, length; in v4l2_bufref_to_buf() local
285 bytesused = FFMIN(size+offset, length); in v4l2_bufref_to_buf()
290 out->planes[plane].bytesused = bytesused; in v4l2_bufref_to_buf()
293 out->buf.bytesused = bytesused; in v4l2_bufref_to_buf()
462 …4L2_TYPE_IS_MULTIPLANAR(avbuf->buf.type) ? avbuf->buf.m.planes[0].bytesused : avbuf->buf.bytesused; in ff_v4l2_buffer_buf_to_avpkt()
554 avbuf->buf.bytesused = avbuf->planes[0].bytesused; in ff_v4l2_buffer_initialize()
Dv4l2_context.c409 int bytesused = V4L2_TYPE_IS_MULTIPLANAR(buf.type) ? in v4l2_dequeue_v4l2buf() local
410 buf.m.planes[0].bytesused : buf.bytesused; in v4l2_dequeue_v4l2buf()
411 if (bytesused == 0) { in v4l2_dequeue_v4l2buf()
/third_party/ffmpeg/libavdevice/
Dv4l2.c530 buf.bytesused); in mmap_read_frame()
531 buf.bytesused = 0; in mmap_read_frame()
538 s->frame_size = buf.bytesused; in mmap_read_frame()
540 if (s->frame_size > 0 && buf.bytesused != s->frame_size) { in mmap_read_frame()
543 buf.bytesused, s->frame_size, buf.flags); in mmap_read_frame()
544 buf.bytesused = 0; in mmap_read_frame()
551 res = av_new_packet(pkt, buf.bytesused); in mmap_read_frame()
557 memcpy(pkt->data, s->buf_start[buf.index], buf.bytesused); in mmap_read_frame()
568 pkt->size = buf.bytesused; in mmap_read_frame()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2decoder.c570 gsize bytesused = gst_memory_get_sizes (mem, NULL, NULL); in gst_v4l2_decoder_queue_sink_mem() local
572 .bytesused = bytesused, in gst_v4l2_decoder_queue_sink_mem()
589 buf.bytesused = bytesused; in gst_v4l2_decoder_queue_sink_mem()
621 .bytesused = gst_memory_get_sizes (mem, NULL, NULL), in gst_v4l2_decoder_queue_src_buffer()
626 buf.bytesused = gst_buffer_get_size (buffer); in gst_v4l2_decoder_queue_src_buffer()
Dgstv4l2codecvp8dec.c584 gsize bytesused; in gst_v4l2_codec_vp8_dec_end_picture() local
596 bytesused = self->bitstream_map.size; in gst_v4l2_codec_vp8_dec_end_picture()
599 gst_memory_resize (self->bitstream, 0, bytesused); in gst_v4l2_codec_vp8_dec_end_picture()
Dgstv4l2codecmpeg2dec.c755 gsize bytesused; in gst_v4l2_codec_mpeg2_dec_submit_bitstream() local
777 bytesused = self->bitstream_map.size; in gst_v4l2_codec_mpeg2_dec_submit_bitstream()
780 gst_memory_resize (self->bitstream, 0, bytesused); in gst_v4l2_codec_mpeg2_dec_submit_bitstream()
Dgstv4l2codecvp9dec.c751 gsize bytesused; in gst_v4l2_codec_vp9_dec_end_picture() local
768 bytesused = self->bitstream_map.size; in gst_v4l2_codec_vp9_dec_end_picture()
771 gst_memory_resize (self->bitstream, 0, bytesused); in gst_v4l2_codec_vp9_dec_end_picture()
Dgstv4l2codech264dec.c1125 gsize bytesused; in gst_v4l2_codec_h264_dec_submit_bitstream() local
1143 bytesused = self->bitstream_map.size; in gst_v4l2_codec_h264_dec_submit_bitstream()
1146 gst_memory_resize (self->bitstream, 0, bytesused); in gst_v4l2_codec_h264_dec_submit_bitstream()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dv4l2_show.c70 buf->bytesused, in show_v4l2_buffer()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/
Dvideodev2.h978 __u32 bytesused; member
1027 __u32 bytesused; member
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dvideodev2.h978 __u32 bytesused; member
1027 __u32 bytesused; member
/third_party/gstreamer/gstplugins_good/
DChangeLog1492 If padded height is greater, buffer bytesused could be larger than plane length,
8872 v4l2allocator: Fix data offset / bytesused size validation
22569 data need to be skipped, though it is included in bytesused.
26818 bytesused (buffer size).
29049 I've seen problems where the `bytesused` field of `v4l2_buffer` would be
29051 gst_memory_resize (group->mem[i], 0, group->planes[i].bytesused);
29062 bytesused = 534748928, // <- Invalid
61913 v4l2: fill out v4l2_buffer.bytesused field for v4l2sink
61914 When queuing a buffer for a sink, bytesused must contain the actual
/third_party/gstreamer/gstplugins_bad/
DChangeLog27602 v4l2codecs: Fix bytesused value