Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dflacdec.c50 int ret, metadata_last=0, metadata_type, metadata_size, found_streaminfo=0; in flac_read_header() local
73 &metadata_size); in flac_read_header()
81 buffer = av_mallocz(metadata_size + AV_INPUT_BUFFER_PADDING_SIZE); in flac_read_header()
85 if (avio_read(s->pb, buffer, metadata_size) != metadata_size) { in flac_read_header()
91 ret = avio_skip(s->pb, metadata_size); in flac_read_header()
104 if (metadata_size != FLAC_STREAMINFO_SIZE) { in flac_read_header()
109 st->codecpar->extradata_size = metadata_size; in flac_read_header()
128 if (metadata_size < 431) in flac_read_header()
135 if (offset + 36 - buffer > metadata_size) in flac_read_header()
149 ret = ff_flac_parse_picture(s, buffer, metadata_size, 1); in flac_read_header()
[all …]
Dflvenc.c581 int64_t metadata_size = 0; in shift_data() local
589 metadata_size = flv->filepositions_count * 9 * 2 + 10; /* filepositions and times value */ in shift_data()
590 metadata_size += 2 + 13; /* filepositions String */ in shift_data()
591 metadata_size += 2 + 5; /* times String */ in shift_data()
592 metadata_size += 3; /* Object end */ in shift_data()
594 flv->keyframe_index_size = metadata_size; in shift_data()
596 if (metadata_size < 0) in shift_data()
597 return metadata_size; in shift_data()
599 buf = av_malloc_array(metadata_size, 2); in shift_data()
604 read_buf[1] = buf + metadata_size; in shift_data()
[all …]
Dhdsenc.c61 int metadata_size; member
104 os->metadata_size = size - 11 - 4; in parse_header()
105 os->metadata = av_malloc(os->metadata_size); in parse_header()
108 memcpy(os->metadata, buf + 11, os->metadata_size); in parse_header()
124 if (!os->metadata_size) { in hds_write()
188 int b64_size = AV_BASE64_SIZE(os->metadata_size); in write_manifest()
194 av_base64_encode(base64, b64_size, os->metadata, os->metadata_size); in write_manifest()
Diff.c668 int metadata_size; in iff_read_header() local
699 metadata_size = avio_rb32(pb); in iff_read_header()
700 if ((res = get_metadata(s, tag, metadata_size)) < 0) { in iff_read_header()
705 if (metadata_size & 1) in iff_read_header()
/third_party/ffmpeg/libavcodec/
Dsga.c35 int metadata_size; member
349 s->metadata_size = 12 + ((!!(s->flags & HAVE_TILEMAP)) * 2); in sga_decode_frame()
387 int offset = s->metadata_size, left; in sga_decode_frame()
390 bytestream2_seek(gb, s->metadata_size, SEEK_SET); in sga_decode_frame()
445 bytestream2_seek(gb, s->metadata_size, SEEK_SET); in sga_decode_frame()
446 ret = lzss_decompress(avctx, gb, s->uncompressed + s->metadata_size, in sga_decode_frame()
447 sizeof(s->uncompressed) - s->metadata_size, s->shift, s->plus); in sga_decode_frame()
450 bytestream2_init(gb, s->uncompressed, ret + s->metadata_size); in sga_decode_frame()
455 …>tiledata_offset = s->flags & PALDATA_FOLLOWS_TILEDATA ? s->metadata_size : s->metadata_size + s->… in sga_decode_frame()
456 …_offset = s->flags & PALDATA_FOLLOWS_TILEDATA ? s->metadata_size + s->tiledata_size : s->metadata_… in sga_decode_frame()
Dflacdec.c169 int metadata_type, metadata_size, ret; in parse_streaminfo() local
175 flac_parse_block_header(&buf[4], NULL, &metadata_type, &metadata_size); in parse_streaminfo()
177 metadata_size != FLAC_STREAMINFO_SIZE) { in parse_streaminfo()
202 int metadata_last, metadata_size; in get_metadata_size() local
209 flac_parse_block_header(buf, &metadata_last, NULL, &metadata_size); in get_metadata_size()
211 if (buf_end - buf < metadata_size) { in get_metadata_size()
215 buf += metadata_size; in get_metadata_size()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dcwebp.c400 uint32_t* vp8x_flags, uint64_t* metadata_size) { in UpdateFlagsAndSize() argument
403 *metadata_size += kChunkHeaderSize + payload->size + (payload->size & 1); in UpdateFlagsAndSize()
428 uint64_t metadata_size = 0; in WriteWebPWithMetadata() local
431 kEXIFFlag, &flags, &metadata_size); in WriteWebPWithMetadata()
434 kICCPFlag, &flags, &metadata_size); in WriteWebPWithMetadata()
437 kXMPFlag, &flags, &metadata_size); in WriteWebPWithMetadata()
444 if (webp_size - kChunkHeaderSize + metadata_size > kMaxChunkPayload) { in WriteWebPWithMetadata()
450 if (metadata_size > 0) { in WriteWebPWithMetadata()
455 metadata_size); in WriteWebPWithMetadata()
/third_party/skia/third_party/externals/libwebp/examples/
Dcwebp.c403 uint32_t* vp8x_flags, uint64_t* metadata_size) { in UpdateFlagsAndSize() argument
406 *metadata_size += kChunkHeaderSize + payload->size + (payload->size & 1); in UpdateFlagsAndSize()
431 uint64_t metadata_size = 0; in WriteWebPWithMetadata() local
434 kEXIFFlag, &flags, &metadata_size); in WriteWebPWithMetadata()
437 kICCPFlag, &flags, &metadata_size); in WriteWebPWithMetadata()
440 kXMPFlag, &flags, &metadata_size); in WriteWebPWithMetadata()
447 if (webp_size - kChunkHeaderSize + metadata_size > kMaxChunkPayload) { in WriteWebPWithMetadata()
453 if (metadata_size > 0) { in WriteWebPWithMetadata()
458 metadata_size); in WriteWebPWithMetadata()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dlite_metadata.cc14083 int metadata_size() { in metadata_size() function
Dtest_metadata.cc1021 int metadata_size() { in metadata_size() function
Dmetadata.h23 int metadata_size();
Dmetadata.cc15012 int metadata_size() { in metadata_size() function
Dphonemetadata.pb.h1401 int metadata_size() const;
4317 inline int PhoneMetadataCollection::metadata_size() const { in metadata_size() function
Dphonenumberutil.cc127 if (!metadata->ParseFromArray(metadata_get(), metadata_size())) { in LoadCompiledInMetadata()
/third_party/ffmpeg/libavfilter/
Dvf_tonemap_vaapi.c227 hdrtm_param.data.metadata_size = sizeof(VAHdrMetaDataHDR10); in tonemap_vaapi_build_filter_params()