Home
last modified time | relevance | path

Searched refs:read_offset (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp83 static uint16_t ReadLE16(const uint8_t* data, size_t data_size, uint32_t read_offset) { in ReadLE16() argument
85 if (read_offset + 1 >= data_size) return 0; in ReadLE16()
87 val = data[read_offset]; in ReadLE16()
88 val |= data[read_offset + 1] << 8; in ReadLE16()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp291 uint32_t read_offset) { in ReadLE16() argument
292 if (read_offset + 1 > data_size) in ReadLE16()
295 val = data[read_offset]; in ReadLE16()
296 val |= data[read_offset + 1] << 8; in ReadLE16()