Home
last modified time | relevance | path

Searched refs:extra_size (Results 1 – 25 of 34) 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/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/gstreamer/gstplugins_good/gst/audioparsers/
Dgstdcaparse.c331 gsize extra_size = 0; in gst_dca_parse_handle_frame() local
452 extra_size = 0; in gst_dca_parse_handle_frame()
464 extra_size = in gst_dca_parse_handle_frame()
468 extra_size = in gst_dca_parse_handle_frame()
474 if (ret == GST_FLOW_OK && size + extra_size <= map.size) { in gst_dca_parse_handle_frame()
475 ret = gst_base_parse_finish_frame (parse, frame, size + extra_size); in gst_dca_parse_handle_frame()
/third_party/uboot/u-boot-2020.01/arch/sandbox/cpu/
Dstate.c16 static int state_ensure_space(int extra_size) in state_ensure_space() argument
26 if (free > extra_size) in state_ensure_space()
29 size = used + extra_size; in state_ensure_space()
/third_party/ffmpeg/libavformat/
Dape.c403 uint32_t extra_size = 8; in ape_read_packet() local
422 ape->frames[ape->currentframe].size > INT_MAX - extra_size) { in ape_read_packet()
429 ret = av_new_packet(pkt, ape->frames[ape->currentframe].size + extra_size); in ape_read_packet()
435 ret = avio_read(s->pb, pkt->data + extra_size, ape->frames[ape->currentframe].size); in ape_read_packet()
445 pkt->size = ret + extra_size; in ape_read_packet()
Dasfenc.c391 int header_size, n, extra_size, extra_size2, wav_extra_size; in asf_write_header1() local
629 extra_size = 18 + wav_extra_size; in asf_write_header1()
635 extra_size = 0x33 + wav_extra_size; in asf_write_header1()
650 avio_wl32(pb, extra_size); /* wav header len */ in asf_write_header1()
661 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.py429 extra_size = _unpack_uint16(buffer[30:32])
432 header_size = name_size + extra_size + comment_size
551 extra_size = _unpack_uint16(buffer[28:30])
552 header_size = 30 + name_size + extra_size
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstmultiqueue.c150 GstDataQueueSize max_size, extra_size; member
675 mqueue->extra_size.bytes = DEFAULT_EXTRA_SIZE_BYTES; in gst_multi_queue_init()
676 mqueue->extra_size.visible = DEFAULT_EXTRA_SIZE_BUFFERS; in gst_multi_queue_init()
677 mqueue->extra_size.time = DEFAULT_EXTRA_SIZE_TIME; in gst_multi_queue_init()
796 mq->extra_size.bytes = g_value_get_uint (value); in gst_multi_queue_set_property()
799 mq->extra_size.visible = g_value_get_uint (value); in gst_multi_queue_set_property()
802 mq->extra_size.time = g_value_get_uint64 (value); in gst_multi_queue_set_property()
869 g_value_set_uint (value, mq->extra_size.bytes); in gst_multi_queue_get_property()
872 g_value_set_uint (value, mq->extra_size.visible); in gst_multi_queue_get_property()
875 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/miniz/
Dminiz_zip.c3015 …_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint64 uncom… in mz_zip_writer_create_local_dir_header() argument
3029 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_local_dir_header()
3034 … mz_uint16 filename_size, mz_uint16 extra_size, mz_uint16 comment_size, in mz_zip_writer_create_central_dir_header() argument
3051 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_central_dir_header()
3059 … const void *pExtra, mz_uint16 extra_size, const void *pComment, mz_uint16 comment_size, in mz_zip_writer_add_to_central_dir() argument
3077 …_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size + extra_size + user_extra_dat… in mz_zip_writer_add_to_central_dir()
3080 …entral_dir_header(pZip, central_dir_header, filename_size, (mz_uint16)(extra_size + user_extra_dat… in mz_zip_writer_add_to_central_dir()
3085 (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pExtra, extra_size)) || in mz_zip_writer_add_to_central_dir()
3153 mz_uint32 extra_size = 0; in mz_zip_writer_add_mem_ex_v2() local
3291extra_size = mz_zip_writer_create_zip64_extra_data(extra_data, (uncomp_size >= MZ_UINT32_MAX) ? &u… in mz_zip_writer_add_mem_ex_v2()
[all …]
/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/miniz/amalgamation/
Dminiz.c5999 …_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint64 uncom… in mz_zip_writer_create_local_dir_header() argument
6013 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_local_dir_header()
6018 … mz_uint16 filename_size, mz_uint16 extra_size, mz_uint16 comment_size, in mz_zip_writer_create_central_dir_header() argument
6035 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_central_dir_header()
6043 … const void *pExtra, mz_uint16 extra_size, const void *pComment, mz_uint16 comment_size, in mz_zip_writer_add_to_central_dir() argument
6061 …_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size + extra_size + user_extra_dat… in mz_zip_writer_add_to_central_dir()
6064 …entral_dir_header(pZip, central_dir_header, filename_size, (mz_uint16)(extra_size + user_extra_dat… in mz_zip_writer_add_to_central_dir()
6069 (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pExtra, extra_size)) || in mz_zip_writer_add_to_central_dir()
6137 mz_uint32 extra_size = 0; in mz_zip_writer_add_mem_ex_v2() local
6275extra_size = mz_zip_writer_create_zip64_extra_data(extra_data, (uncomp_size >= MZ_UINT32_MAX) ? &u… in mz_zip_writer_add_mem_ex_v2()
[all …]
/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
/third_party/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c185 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1); in AppendToMemBuffer() local
187 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); in AppendToMemBuffer()
192 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/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/
Drbtree_best_fit.hpp227 void grow(size_type extra_size);
468 void rbtree_best_fit<MutexFamily, VoidPointer, MemAlignment>::grow(size_type extra_size) in grow() argument
477 m_header.m_size += extra_size; in grow()

12