/external/libgav1/libgav1/examples/ |
D | ivf_parser.cc | 42 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 …]
|
D | file_reader.cc | 97 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()
|
D | ivf_parser.h | 49 bool ParseIvfFileHeader(const uint8_t* header_buffer, 52 bool ParseIvfFrameHeader(const uint8_t* header_buffer,
|
/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | frame_handler.cc | 67 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 …]
|
D | frame_handler.h | 45 unsigned char header_buffer[kFrameHeaderSize]; member 57 unsigned char header_buffer[kFrameHeaderSize]; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/frame_protector/ |
D | frame_handler.cc | 69 writer->header_buffer); in alts_reset_frame_writer() 70 store_32_le(kFrameMessageType, writer->header_buffer + kFrameLengthFieldSize); in alts_reset_frame_writer() 83 if (writer->header_bytes_written != sizeof(writer->header_buffer)) { in alts_write_frame_bytes() 86 sizeof(writer->header_buffer) - writer->header_bytes_written); in alts_write_frame_bytes() 87 memcpy(output, writer->header_buffer + writer->header_bytes_written, in alts_write_frame_bytes() 93 if (writer->header_bytes_written != sizeof(writer->header_buffer)) { in alts_write_frame_bytes() 115 return (sizeof(writer->header_buffer) - writer->header_bytes_written) + in alts_get_num_writer_bytes_remaining() 130 (reader->header_bytes_read == sizeof(reader->header_buffer) && in alts_is_frame_reader_done() 135 return sizeof(reader->header_buffer) == reader->header_bytes_read; in alts_has_read_frame_length() 169 if (reader->header_bytes_read != sizeof(reader->header_buffer)) { in alts_read_frame_bytes() [all …]
|
D | frame_handler.h | 45 unsigned char header_buffer[kFrameHeaderSize]; member 57 unsigned char header_buffer[kFrameHeaderSize]; member
|
/external/elfutils/libdwfl/ |
D | image-header.c | 70 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/ |
D | jwt_verifier.cc | 860 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/ |
D | piex.cc | 663 RangeCheckedBytePtr header_buffer(file_header.data(), file_header.size()); in GetPreviewImageData() local 665 switch (RecognizeRawImageTypeLite(header_buffer)) { in GetPreviewImageData()
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
D | RenderScriptRuntime.h | 542 size_t PopulateElementHeaders(const std::shared_ptr<uint8_t> header_buffer,
|
D | RenderScriptRuntime.cpp | 2571 const std::shared_ptr<uint8_t> header_buffer, size_t offset, in PopulateElementHeaders() argument 2586 memcpy(header_buffer.get() + offset, &elem_header, elem_header_size); in PopulateElementHeaders() 2596 memcpy(header_buffer.get() + offset, &child_offset, sizeof(uint32_t)); in PopulateElementHeaders() 2599 child_offset = PopulateElementHeaders(header_buffer, child_offset, child); in PopulateElementHeaders() 2603 memset(header_buffer.get() + offset, 0, sizeof(uint32_t)); in PopulateElementHeaders()
|