Home
last modified time | relevance | path

Searched refs:raw_header (Results 1 – 5 of 5) 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/libvpx/libvpx/examples/
Dvpx_dec_fuzzer.cc88 char raw_header[IVF_FRAME_HDR_SZ] = { 0 }; in ReadFrame() local
91 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) == 1) { in ReadFrame()
92 frame_size = mem_get_le32(raw_header); in ReadFrame()
/external/flac/libFLAC/
Dstream_decoder.c2167 …FLAC__byte crc8, raw_header[16]; /* MAGIC NUMBER based on the maximum frame header size, including… in read_frame_header_() local
2174 raw_header[0] = decoder->private_->header_warmup[0]; in read_frame_header_()
2175 raw_header[1] = decoder->private_->header_warmup[1]; in read_frame_header_()
2179 if(raw_header[1] & 0x02) /* MAGIC NUMBER */ in read_frame_header_()
2215 raw_header[raw_header_len++] = (FLAC__byte)x; in read_frame_header_()
2218 switch(x = raw_header[2] >> 4) { in read_frame_header_()
2250 switch(x = raw_header[2] & 0x0f) { in read_frame_header_()
2303 x = (unsigned)(raw_header[3] >> 4); in read_frame_header_()
2326 switch(x = (unsigned)(raw_header[3] & 0x0e) >> 1) { in read_frame_header_()
2358 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_()