Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DOggWriter.cpp119 const void *header_data = NULL; in addSource() local
122 if (!source->getFormat()->findData(kKeyOpusHeader, &type, &header_data, &packet_size)) { in addSource()
124 } else if (header_data && packet_size) { in addSource()
125 writeOggHeaderPackets((unsigned char *)header_data, packet_size); in addSource()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp154 unsigned char header_data[100]; in audioTrack() local
155 int headerSize = WriteOpusHeader(header, samplerate, (uint8_t*)header_data, in audioTrack()
156 sizeof(header_data)); in audioTrack()
171 memcpy(codecPrivateData + off, (uint8_t*)header_data, headerSize); in audioTrack()