Home
last modified time | relevance | path

Searched refs:header_buffer (Results 1 – 8 of 8) sorted by relevance

/external/libgav1/libgav1/examples/
Divf_parser.cc42 bool ParseIvfFileHeader(const uint8_t* const header_buffer, in ParseIvfFileHeader() argument
44 if (header_buffer == nullptr || ivf_file_header == nullptr) return false; in ParseIvfFileHeader()
46 if (memcmp(kIvfSignature, header_buffer, 4) != 0) { in ParseIvfFileHeader()
51 const size_t ivf_header_version = ReadLittleEndian16(&header_buffer[4]); in ParseIvfFileHeader()
56 const size_t ivf_header_size = ReadLittleEndian16(&header_buffer[6]); in ParseIvfFileHeader()
62 if (memcmp(kAv1FourCcLower, &header_buffer[8], 4) != 0 && in ParseIvfFileHeader()
63 memcmp(kAv1FourCcUpper, &header_buffer[8], 4) != 0) { in ParseIvfFileHeader()
68 ivf_file_header->width = ReadLittleEndian16(&header_buffer[12]); in ParseIvfFileHeader()
69 ivf_file_header->height = ReadLittleEndian16(&header_buffer[14]); in ParseIvfFileHeader()
71 ReadLittleEndian32(&header_buffer[16]); in ParseIvfFileHeader()
[all …]
Dfile_reader.cc97 uint8_t header_buffer[kIvfFrameHeaderSize]; in ReadTemporalUnit() local
98 const size_t num_read = fread(header_buffer, 1, kIvfFrameHeaderSize, file_); in ReadTemporalUnit()
111 if (!ParseIvfFrameHeader(header_buffer, &ivf_frame_header)) { in ReadTemporalUnit()
159 uint8_t header_buffer[kIvfFileHeaderSize]; in ReadIvfFileHeader() local
160 const size_t num_read = fread(header_buffer, 1, kIvfFileHeaderSize, file_); in ReadIvfFileHeader()
168 if (!ParseIvfFileHeader(header_buffer, &ivf_file_header)) { in ReadIvfFileHeader()
Divf_parser.h49 bool ParseIvfFileHeader(const uint8_t* header_buffer,
52 bool ParseIvfFrameHeader(const uint8_t* header_buffer,
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dframe_handler.cc67 writer->header_buffer); in alts_reset_frame_writer()
68 store_32_le(kFrameMessageType, writer->header_buffer + kFrameLengthFieldSize); in alts_reset_frame_writer()
81 if (writer->header_bytes_written != sizeof(writer->header_buffer)) { in alts_write_frame_bytes()
84 sizeof(writer->header_buffer) - writer->header_bytes_written); in alts_write_frame_bytes()
85 memcpy(output, writer->header_buffer + writer->header_bytes_written, in alts_write_frame_bytes()
91 if (writer->header_bytes_written != sizeof(writer->header_buffer)) { in alts_write_frame_bytes()
113 return (sizeof(writer->header_buffer) - writer->header_bytes_written) + in alts_get_num_writer_bytes_remaining()
128 (reader->header_bytes_read == sizeof(reader->header_buffer) && in alts_is_frame_reader_done()
133 return sizeof(reader->header_buffer) == reader->header_bytes_read; in alts_has_read_frame_length()
167 if (reader->header_bytes_read != sizeof(reader->header_buffer)) { in alts_read_frame_bytes()
[all …]
Dframe_handler.h45 unsigned char header_buffer[kFrameHeaderSize]; member
57 unsigned char header_buffer[kFrameHeaderSize]; member
/external/elfutils/libdwfl/
Dimage-header.c70 char header_buffer[H_READ_SIZE]; in __libdw_image_header() local
73 ssize_t n = pread_retry (fd, header_buffer, H_READ_SIZE, in __libdw_image_header()
80 header = header_buffer - H_START; in __libdw_image_header()
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc860 grpc_slice header_buffer; in grpc_jwt_verifier_verify() local
871 &header_buffer); in grpc_jwt_verifier_verify()
873 header = jose_header_from_json(json, header_buffer); in grpc_jwt_verifier_verify()
/external/piex/src/
Dpiex.cc663 RangeCheckedBytePtr header_buffer(file_header.data(), file_header.size()); in GetPreviewImageData() local
665 switch (RecognizeRawImageTypeLite(header_buffer)) { in GetPreviewImageData()