Home
last modified time | relevance | path

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

/external/libaom/libaom/common/
Divfdec.c66 char raw_header[IVF_FRAME_HDR_SZ] = { 0 }; in ivf_read_frame() local
69 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
72 frame_size = mem_get_le32(raw_header); in ivf_read_frame()
92 *pts = mem_get_le32(&raw_header[4]); in ivf_read_frame()
93 *pts += ((aom_codec_pts_t)mem_get_le32(&raw_header[8]) << 32); in ivf_read_frame()
/external/libvpx/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.c2168 …FLAC__byte crc8, raw_header[16]; /* MAGIC NUMBER based on the maximum frame header size, including… in read_frame_header_() local
2175 raw_header[0] = decoder->private_->header_warmup[0]; in read_frame_header_()
2176 raw_header[1] = decoder->private_->header_warmup[1]; in read_frame_header_()
2180 if(raw_header[1] & 0x02) /* MAGIC NUMBER */ in read_frame_header_()
2216 raw_header[raw_header_len++] = (FLAC__byte)x; in read_frame_header_()
2219 switch(x = raw_header[2] >> 4) { in read_frame_header_()
2251 switch(x = raw_header[2] & 0x0f) { in read_frame_header_()
2304 x = (uint32_t)(raw_header[3] >> 4); in read_frame_header_()
2327 switch(x = (uint32_t)(raw_header[3] & 0x0e) >> 1) { in read_frame_header_()
2359 if(raw_header[3] & 0x01) /* MAGIC NUMBER */ in read_frame_header_()
[all …]
Dmetadata_iterators.c2138 FLAC__byte raw_header[FLAC__STREAM_METADATA_HEADER_LENGTH]; in read_metadata_block_header_cb_() local
2140 …if(read_cb(raw_header, 1, FLAC__STREAM_METADATA_HEADER_LENGTH, handle) != FLAC__STREAM_METADATA_HE… in read_metadata_block_header_cb_()
2143 *is_last = raw_header[0] & 0x80? true : false; in read_metadata_block_header_cb_()
2144 *type = (FLAC__MetadataType)(raw_header[0] & 0x7f); in read_metadata_block_header_cb_()
2145 *length = unpack_uint32_(raw_header + 1, 3); in read_metadata_block_header_cb_()