Searched refs:codecDataOffset (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 158 ssize_t codecDataOffset = 0; in queueSecureInputBuffer() local 220 codecDataOffset = key[2] | (key[3] << 8); in queueSecureInputBuffer() 244 if (result < codecDataOffset) { in queueSecureInputBuffer() 245 ALOGD("invalid codec data offset: %zd, result %zd", codecDataOffset, result); in queueSecureInputBuffer() 258 it->mCodecBuffer->setRange(codecDataOffset, result - codecDataOffset); in queueSecureInputBuffer() 376 ssize_t codecDataOffset = 0; in attachEncryptedBuffer() local 430 codecDataOffset = key[2] | (key[3] << 8); in attachEncryptedBuffer() 456 if (result < codecDataOffset) { in attachEncryptedBuffer() 457 ALOGD("invalid codec data offset: %zd, result %zd", codecDataOffset, result); in attachEncryptedBuffer() 470 it->mCodecBuffer->setRange(codecDataOffset, result - codecDataOffset); in attachEncryptedBuffer()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 662 ssize_t codecDataOffset = 0; in attachEncryptedBuffer() local 705 codecDataOffset = key[2] | (key[3] << 8); in attachEncryptedBuffer() 731 if (result < codecDataOffset) { in attachEncryptedBuffer() 733 mName, codecDataOffset, result); in attachEncryptedBuffer() 753 block->share(codecDataOffset, result - codecDataOffset, C2Fence{}))}; in attachEncryptedBuffer() 823 ssize_t codecDataOffset = 0; in queueSecureInputBuffer() local 876 codecDataOffset = key[2] | (key[3] << 8); in queueSecureInputBuffer() 900 if (result < codecDataOffset) { in queueSecureInputBuffer() 901 ALOGD("invalid codec data offset: %zd, result %zd", codecDataOffset, result); in queueSecureInputBuffer() 912 buffer->setRange(codecDataOffset, result - codecDataOffset); in queueSecureInputBuffer()
|