Home
last modified time | relevance | path

Searched refs:raw_header (Results 1 – 4 of 4) sorted by relevance

/external/libaom/common/
Divfdec.c65 unsigned char raw_header[IVF_FRAME_HDR_SZ] = { 0 }; in ivf_read_frame() local
68 if (read_from_input(input_ctx, IVF_FRAME_HDR_SZ, raw_header) != in ivf_read_frame()
73 frame_size = mem_get_le32(raw_header); in ivf_read_frame()
94 *pts = mem_get_le32(&raw_header[4]); in ivf_read_frame()
95 *pts += ((aom_codec_pts_t)mem_get_le32(&raw_header[8]) << 32); in ivf_read_frame()
/external/libvpx/
Divfdec.c75 char raw_header[IVF_FRAME_HDR_SZ] = { 0 }; in ivf_read_frame() local
78 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
81 frame_size = mem_get_le32(raw_header); in ivf_read_frame()
/external/flac/src/libFLAC/
Dstream_decoder.c2257 …FLAC__byte crc8, raw_header[16]; /* MAGIC NUMBER based on the maximum frame header size, including… in read_frame_header_() local
2264 raw_header[0] = decoder->private_->header_warmup[0]; in read_frame_header_()
2265 raw_header[1] = decoder->private_->header_warmup[1]; in read_frame_header_()
2269 if(raw_header[1] & 0x02) /* MAGIC NUMBER */ in read_frame_header_()
2305 raw_header[raw_header_len++] = (FLAC__byte)x; in read_frame_header_()
2308 switch(x = raw_header[2] >> 4) { in read_frame_header_()
2340 switch(x = raw_header[2] & 0x0f) { in read_frame_header_()
2393 x = (uint32_t)(raw_header[3] >> 4); in read_frame_header_()
2416 switch(x = (uint32_t)(raw_header[3] & 0x0e) >> 1) { in read_frame_header_()
2451 if(raw_header[3] & 0x01) /* MAGIC NUMBER */ in read_frame_header_()
[all …]
Dmetadata_iterators.c2195 FLAC__byte raw_header[FLAC__STREAM_METADATA_HEADER_LENGTH]; in read_metadata_block_header_cb_() local
2197 …if(read_cb(raw_header, 1, FLAC__STREAM_METADATA_HEADER_LENGTH, handle) != FLAC__STREAM_METADATA_HE… in read_metadata_block_header_cb_()
2200 *is_last = raw_header[0] & 0x80? true : false; in read_metadata_block_header_cb_()
2201 *type = (FLAC__MetadataType)(raw_header[0] & 0x7f); in read_metadata_block_header_cb_()
2202 *length = unpack_uint32_(raw_header + 1, 3); in read_metadata_block_header_cb_()