Home
last modified time | relevance | path

Searched refs:extra_size (Results 1 – 25 of 38) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/gst/isomp4/
Ddescriptors.c244 guint64 extra_size = 0; in desc_sl_config_descriptor_get_size() local
248 extra_size += sizeof (guint8); in desc_sl_config_descriptor_get_size()
250 desc_base_descriptor_set_size (&sl_desc->base, extra_size); in desc_sl_config_descriptor_get_size()
252 return size + extra_size; in desc_sl_config_descriptor_get_size()
259 guint64 extra_size = 0; in desc_dec_specific_info_get_size() local
262 extra_size += sizeof (guint8) * dsid->length; in desc_dec_specific_info_get_size()
263 desc_base_descriptor_set_size (&dsid->base, extra_size); in desc_dec_specific_info_get_size()
264 return size + extra_size; in desc_dec_specific_info_get_size()
271 guint64 extra_size = 0; in desc_dec_config_descriptor_get_size() local
275 extra_size += sizeof (guint8); in desc_dec_config_descriptor_get_size()
[all …]
/third_party/ffmpeg/libavcodec/
Dhevc_mp4toannexb_bsf.c143 int is_irap, add_extradata, extra_size, prev_size; in hevc_mp4toannexb_filter() local
162 extra_size = add_extradata * ctx->par_out->extradata_size; in hevc_mp4toannexb_filter()
165 if (FFMIN(INT_MAX, SIZE_MAX) < 4ULL + nalu_size + extra_size) { in hevc_mp4toannexb_filter()
172 ret = av_grow_packet(out, 4 + nalu_size + extra_size); in hevc_mp4toannexb_filter()
176 if (extra_size) in hevc_mp4toannexb_filter()
177 memcpy(out->data + prev_size, ctx->par_out->extradata, extra_size); in hevc_mp4toannexb_filter()
178 AV_WB32(out->data + prev_size + extra_size, 1); in hevc_mp4toannexb_filter()
179 bytestream2_get_buffer(&gb, out->data + prev_size + 4 + extra_size, nalu_size); in hevc_mp4toannexb_filter()
Dh264_mp4toannexb_bsf.c142 int extra_size = ctx->par_in->extradata_size; in h264_mp4toannexb_init() local
146 if (!extra_size || in h264_mp4toannexb_init()
147 (extra_size >= 3 && AV_RB24(ctx->par_in->extradata) == 1) || in h264_mp4toannexb_init()
148 (extra_size >= 4 && AV_RB32(ctx->par_in->extradata) == 1)) { in h264_mp4toannexb_init()
151 } else if (extra_size >= 7) { in h264_mp4toannexb_init()
162 av_log(ctx, AV_LOG_ERROR, "Invalid extradata size: %d\n", extra_size); in h264_mp4toannexb_init()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dbit_writer_utils.c26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { in BitWriterResize() argument
29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize()
206 static int VP8LBitWriterResize(VP8LBitWriter* const bw, size_t extra_size) { in VP8LBitWriterResize() argument
211 const uint64_t size_required_64b = (uint64_t)current_size + extra_size; in VP8LBitWriterResize()
280 const uint64_t extra_size = (bw->end_ - bw->buf_) + MIN_EXTRA_SIZE; in VP8LPutBitsFlushBits() local
281 if (extra_size != (size_t)extra_size || in VP8LPutBitsFlushBits()
282 !VP8LBitWriterResize(bw, (size_t)extra_size)) { in VP8LPutBitsFlushBits()
316 const uint64_t extra_size = (bw->end_ - bw->buf_) + MIN_EXTRA_SIZE; in VP8LPutBitsInternal() local
317 if (extra_size != (size_t)extra_size || in VP8LPutBitsInternal()
318 !VP8LBitWriterResize(bw, (size_t)extra_size)) { in VP8LPutBitsInternal()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dbit_writer_utils.c26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { in BitWriterResize() argument
29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize()
206 static int VP8LBitWriterResize(VP8LBitWriter* const bw, size_t extra_size) { in VP8LBitWriterResize() argument
211 const uint64_t size_required_64b = (uint64_t)current_size + extra_size; in VP8LBitWriterResize()
280 const uint64_t extra_size = (bw->end_ - bw->buf_) + MIN_EXTRA_SIZE; in VP8LPutBitsFlushBits() local
281 if (!CheckSizeOverflow(extra_size) || in VP8LPutBitsFlushBits()
282 !VP8LBitWriterResize(bw, (size_t)extra_size)) { in VP8LPutBitsFlushBits()
316 const uint64_t extra_size = (bw->end_ - bw->buf_) + MIN_EXTRA_SIZE; in VP8LPutBitsInternal() local
317 if (!CheckSizeOverflow(extra_size) || in VP8LPutBitsInternal()
318 !VP8LBitWriterResize(bw, (size_t)extra_size)) { in VP8LPutBitsInternal()
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dimageio_util.c50 const size_t extra_size = (max_size == 0) ? kBlockSize : max_size; in ImgIoUtilReadFromStdin() local
52 void* const new_data = realloc(input, max_size + extra_size + 1); in ImgIoUtilReadFromStdin()
55 max_size += extra_size; in ImgIoUtilReadFromStdin()
56 size += fread(input + size, 1, extra_size, stdin); in ImgIoUtilReadFromStdin()
/third_party/skia/third_party/externals/libwebp/imageio/
Dimageio_util.c50 const size_t extra_size = (max_size == 0) ? kBlockSize : max_size; in ImgIoUtilReadFromStdin() local
52 void* const new_data = realloc(input, max_size + extra_size + 1); in ImgIoUtilReadFromStdin()
55 max_size += extra_size; in ImgIoUtilReadFromStdin()
56 size += fread(input + size, 1, extra_size, stdin); in ImgIoUtilReadFromStdin()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_ring.c121 size_t extra_size, in vn_ring_get_layout() argument
143 layout->extra_size = extra_size; in vn_ring_get_layout()
145 layout->shmem_size = layout->extra_offset + layout->extra_size; in vn_ring_get_layout()
Dvn_ring.h35 size_t extra_size; member
78 size_t extra_size,
Dvn_instance.c122 const size_t extra_size = sizeof(uint32_t); in vn_instance_init_ring() local
124 vn_ring_get_layout(buf_size, extra_size, &layout); in vn_instance_init_ring()
153 .extraSize = layout.extra_size, in vn_instance_init_ring()
/third_party/e2fsprogs/e2fsck/
Dpass4.c35 int extra_size = 0; in disconnect_inode() local
41 extra_size = inode->i_extra_isize; in disconnect_inode()
47 if (EXT2_INODE_SIZE(fs->super) -EXT2_GOOD_OLD_INODE_SIZE -extra_size >0) in disconnect_inode()
49 extra_size); in disconnect_inode()
/third_party/musl/porting/linux/user/ldso/
Dzip_archive.h78 uint16_t extra_size; member
94 uint16_t extra_size; member
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstdcaparse.c334 gsize extra_size = 0; in gst_dca_parse_handle_frame() local
455 extra_size = 0; in gst_dca_parse_handle_frame()
467 extra_size = in gst_dca_parse_handle_frame()
471 extra_size = in gst_dca_parse_handle_frame()
477 if (ret == GST_FLOW_OK && size + extra_size <= map.size) { in gst_dca_parse_handle_frame()
478 ret = gst_base_parse_finish_frame (parse, frame, size + extra_size); in gst_dca_parse_handle_frame()
/third_party/ffmpeg/libavformat/
Dape.c380 uint32_t extra_size = 8; in ape_read_packet() local
399 ape->frames[ape->currentframe].size > INT_MAX - extra_size) { in ape_read_packet()
406 ret = av_new_packet(pkt, ape->frames[ape->currentframe].size + extra_size); in ape_read_packet()
412 ret = avio_read(s->pb, pkt->data + extra_size, ape->frames[ape->currentframe].size); in ape_read_packet()
422 pkt->size = ret + extra_size; in ape_read_packet()
Dasfenc.c395 int header_size, n, extra_size, extra_size2, wav_extra_size; in asf_write_header1() local
633 extra_size = 18 + wav_extra_size; in asf_write_header1()
639 extra_size = 0x33 + wav_extra_size; in asf_write_header1()
654 avio_wl32(pb, extra_size); /* wav header len */ in asf_write_header1()
665 if (wavsize != extra_size) { in asf_write_header1()
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowvideodec.cpp595 gsize extra_size; in gst_dshowvideodec_sink_setcaps() local
642 extra_size = gst_buffer_get_size(extradata); in gst_dshowvideodec_sink_setcaps()
654 sizeof (MPEG1VIDEOINFO) + (extradata ? extra_size - 1 : 0); in gst_dshowvideodec_sink_setcaps()
661 gst_buffer_extract(extradata, 0, mpeg_info->bSequenceHeader, extra_size); in gst_dshowvideodec_sink_setcaps()
662 mpeg_info->cbSequenceHeader = extra_size; in gst_dshowvideodec_sink_setcaps()
667 sizeof (VIDEOINFOHEADER) + (extradata ? extra_size : 0); in gst_dshowvideodec_sink_setcaps()
673 ((guchar *) input_vheader) + sizeof (VIDEOINFOHEADER), extra_size); in gst_dshowvideodec_sink_setcaps()
674 input_vheader->bmiHeader.biSize += extra_size; in gst_dshowvideodec_sink_setcaps()
/third_party/python/Lib/
Dzipimport.py479 extra_size = _unpack_uint16(buffer[30:32])
482 header_size = name_size + extra_size + comment_size
601 extra_size = _unpack_uint16(buffer[28:30])
602 header_size = 30 + name_size + extra_size
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstmultiqueue.c152 GstDataQueueSize max_size, extra_size; member
881 mqueue->extra_size.bytes = DEFAULT_EXTRA_SIZE_BYTES; in gst_multi_queue_init()
882 mqueue->extra_size.visible = DEFAULT_EXTRA_SIZE_BUFFERS; in gst_multi_queue_init()
883 mqueue->extra_size.time = DEFAULT_EXTRA_SIZE_TIME; in gst_multi_queue_init()
1001 mq->extra_size.bytes = g_value_get_uint (value); in gst_multi_queue_set_property()
1004 mq->extra_size.visible = g_value_get_uint (value); in gst_multi_queue_set_property()
1007 mq->extra_size.time = g_value_get_uint64 (value); in gst_multi_queue_set_property()
1112 g_value_set_uint (value, mq->extra_size.bytes); in gst_multi_queue_get_property()
1115 g_value_set_uint (value, mq->extra_size.visible); in gst_multi_queue_get_property()
1118 g_value_set_uint64 (value, mq->extra_size.time); in gst_multi_queue_get_property()
[all …]
Dgstmultiqueue.h67 GstDataQueueSize max_size, extra_size; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c736 unsigned extra_count, extra_size, extra_offset; in emit_consts_vgpu10() local
786 extra_size = extra_count * 4 * sizeof(float); in emit_consts_vgpu10()
789 if (cbuf->buffer_size + extra_size == 0) in emit_consts_vgpu10()
794 extra_offset, extra_size, extras); in emit_consts_vgpu10()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Debml-write.h125 guint64 extra_size);
Debml-write.c780 guint64 extra_size) in gst_ebml_write_master_finish_full() argument
789 (G_GINT64_CONSTANT (1) << 56) | (pos - startpos - 8 + extra_size)); in gst_ebml_write_master_finish_full()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c183 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1); in AppendToMemBuffer() local
185 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); in AppendToMemBuffer()
190 mem->buf_size_ = (size_t)extra_size; in AppendToMemBuffer()
/third_party/boost/boost/interprocess/mem_algo/detail/
Dsimple_seq_fit_impl.hpp180 void grow(size_type extra_size);
348 inline void simple_seq_fit_impl<MutexFamily, VoidPointer>::grow(size_type extra_size) in grow() argument
354 m_header.m_size += extra_size; in grow()
/third_party/python/Doc/tutorial/
Dstdlib2.rst152 crc32, comp_size, uncomp_size, filenamesize, extra_size = fields
157 extra = data[start:start+extra_size]
160 start += extra_size + comp_size # skip to the next header

12