/third_party/ffmpeg/libavcodec/ |
H A D | hevc_mp4toannexb_bsf.c | 143 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()
|
H A D | h264_mp4toannexb_bsf.c | 148 int extra_size = ctx->par_in->extradata_size; in h264_mp4toannexb_init() local 152 if (!extra_size || in h264_mp4toannexb_init() 153 (extra_size >= 3 && AV_RB24(ctx->par_in->extradata) == 1) || in h264_mp4toannexb_init() 154 (extra_size >= 4 && AV_RB32(ctx->par_in->extradata) == 1)) { in h264_mp4toannexb_init() 157 } else if (extra_size >= 7) { in h264_mp4toannexb_init() 168 av_log(ctx, AV_LOG_ERROR, "Invalid extradata size: %d\n", extra_size); in h264_mp4toannexb_init()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | bit_writer_utils.c | 26 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() [all...] |
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | imageio_util.c | 50 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/ |
H A D | vn_ring.h | 35 size_t extra_size; member 78 size_t extra_size,
|
H A D | vn_ring.c | 142 size_t extra_size, in vn_ring_get_layout() 164 layout->extra_size = extra_size; in vn_ring_get_layout() 166 layout->shmem_size = layout->extra_offset + layout->extra_size; in vn_ring_get_layout() 141 vn_ring_get_layout(size_t buf_size, size_t extra_size, struct vn_ring_layout *layout) vn_ring_get_layout() argument
|
H A D | vn_instance.c | 124 const size_t extra_size = sizeof(uint32_t); in vn_instance_init_ring() local 126 vn_ring_get_layout(buf_size, extra_size, &layout); in vn_instance_init_ring() 155 .extraSize = layout.extra_size, in vn_instance_init_ring()
|
/third_party/musl/porting/linux/user/ldso/ |
H A D | zip_archive.h | 78 uint16_t extra_size; member 94 uint16_t extra_size; member
|
H A D | dynlink.c | 4681 zip_file_header.name_size + zip_file_header.extra_size; in open_uncompressed_library_in_zipfile() 4695 current_dir_pos += c_dir_entry.name_size + c_dir_entry.extra_size + c_dir_entry.comment_size; in open_uncompressed_library_in_zipfile()
|
/third_party/musl/ldso/linux/ |
H A D | zip_archive.h | 78 uint16_t extra_size; member 94 uint16_t extra_size; member
|
H A D | dynlink.c | 5031 zip_file_header.name_size + zip_file_header.extra_size; in open_uncompressed_library_in_zipfile() 5045 current_dir_pos += c_dir_entry.name_size + c_dir_entry.extra_size + c_dir_entry.comment_size; in open_uncompressed_library_in_zipfile()
|
/third_party/ffmpeg/libavformat/ |
H A D | ape.c | 373 uint32_t extra_size = 8; in ape_read_packet() local 392 ape->frames[ape->currentframe].size > INT_MAX - extra_size) { in ape_read_packet() 399 ret = av_new_packet(pkt, ape->frames[ape->currentframe].size + extra_size); in ape_read_packet() 405 ret = avio_read(s->pb, pkt->data + extra_size, ape->frames[ape->currentframe].size); in ape_read_packet() 415 pkt->size = ret + extra_size; in ape_read_packet()
|
H A D | asfenc.c | 364 int header_size, extra_size, extra_size2, wav_extra_size; in asf_write_header1() local 598 extra_size = 18 + wav_extra_size; in asf_write_header1() 604 extra_size = 0x33 + wav_extra_size; in asf_write_header1() 619 avio_wl32(pb, extra_size); /* wav header len */ in asf_write_header1() 632 if (wavsize != extra_size) { in asf_write_header1()
|
H A D | mxfenc.c | 2243 int extra_size = 512; // support AVC Intra files without SPS/PPS header in mxf_parse_h264_frame() local 2279 extra_size = 0; in mxf_parse_h264_frame() 2312 frame_size = pkt->size + extra_size; in mxf_parse_h264_frame()
|
H A D | mov.c | 2764 int extra_size = st->codecpar->extradata_size; 2767 sc->extradata_size[pseudo_stream_id] = extra_size;
|
/third_party/python/Lib/ |
H A D | zipimport.py | 483 extra_size = _unpack_uint16(buffer[30:32]) 486 header_size = name_size + extra_size + comment_size 607 extra_size = _unpack_uint16(buffer[28:30]) 608 header_size = 30 + name_size + extra_size
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_constants.c | 900 unsigned extra_count, extra_size, extra_offset; in emit_consts_vgpu10() local 950 extra_size = extra_count * 4 * sizeof(float); in emit_consts_vgpu10() 953 if (cbuf->buffer_size + extra_size == 0) in emit_consts_vgpu10() 958 extra_offset, extra_size, extras); in emit_consts_vgpu10()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | idec_dec.c | 185 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/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_qpack.c | 1101 * |extra_size| of free space. In other words, if this function 1102 * succeeds, nghttp2_buf_left(buf) >= extra_size holds. |min_size| is 1112 static int reserve_buf_internal(nghttp3_buf *buf, size_t extra_size, in reserve_buf_internal() argument 1117 if (left >= extra_size) { in reserve_buf_internal() 1121 need = nghttp3_buf_cap(buf) + extra_size - left; in reserve_buf_internal() 1129 static int reserve_buf_small(nghttp3_buf *buf, size_t extra_size, in reserve_buf_small() argument 1131 return reserve_buf_internal(buf, extra_size, 32, mem); in reserve_buf_small() 1134 static int reserve_buf(nghttp3_buf *buf, size_t extra_size, in reserve_buf() argument 1136 return reserve_buf_internal(buf, extra_size, 32, mem); in reserve_buf()
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg.c | 1392 uint64_t video_size = 0, audio_size = 0, extra_size = 0, other_size = 0; in print_final_stats() local 1407 extra_size += ost->enc_ctx->extradata_size; in print_final_stats() 1422 extra_size / 1024.0); in print_final_stats() 1497 if(video_size + data_size + audio_size + subtitle_size + extra_size == 0){ in print_final_stats()
|
/third_party/astc-encoder/Source/ |
H A D | tinyexr.h | 6142 mz_uint16 extra_size, mz_uint64 uncomp_size, mz_uint64 comp_size, in mz_zip_writer_create_local_dir_header() 6157 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_local_dir_header() 6163 mz_uint16 extra_size, mz_uint16 comment_size, mz_uint64 uncomp_size, in mz_zip_writer_create_central_dir_header() 6179 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_central_dir_header() 6188 const void *pExtra, mz_uint16 extra_size, const void *pComment, in mz_zip_writer_add_to_central_dir() 6201 MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size + extra_size + in mz_zip_writer_add_to_central_dir() 6206 pZip, central_dir_header, filename_size, extra_size, comment_size, in mz_zip_writer_add_to_central_dir() 6216 extra_size)) || in mz_zip_writer_add_to_central_dir() 6140 mz_zip_writer_create_local_dir_header( mz_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date) mz_zip_writer_create_local_dir_header() argument 6161 mz_zip_writer_create_central_dir_header( mz_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint16 comment_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date, mz_uint64 local_header_ofs, mz_uint32 ext_attributes) mz_zip_writer_create_central_dir_header() argument 6186 mz_zip_writer_add_to_central_dir( mz_zip_archive *pZip, const char *pFilename, mz_uint16 filename_size, const void *pExtra, mz_uint16 extra_size, const void *pComment, mz_uint16 comment_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date, mz_uint64 local_header_ofs, mz_uint32 ext_attributes) mz_zip_writer_add_to_central_dir() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/ |
H A D | assembler_arm.h | 1075 void EnterOsrFrame(intptr_t extra_size);
|
H A D | assembler_arm.cc | 3162 void Assembler::EnterOsrFrame(intptr_t extra_size) { 3168 AddImmediate(SP, -extra_size);
|