Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DOggWriter.cpp124 const void *header_data = NULL; in addSource() local
127 if (!source->getFormat()->findData(kKeyOpusHeader, &type, &header_data, &packet_size)) { in addSource()
129 } else if (header_data && packet_size) { in addSource()
130 writeOggHeaderPackets((unsigned char *)header_data, packet_size); in addSource()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp186 unsigned char header_data[100]; in audioTrack() local
187 int headerSize = WriteOpusHeader(header, samplerate, (uint8_t*)header_data, in audioTrack()
188 sizeof(header_data)); in audioTrack()
203 memcpy(codecPrivateData + off, (uint8_t*)header_data, headerSize); in audioTrack()