Home
last modified time | relevance | path

Searched refs:bufData (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp252 void fillBuffer(uint32_t* bufData, Rect rect, uint32_t stride, uint8_t r, uint8_t g, in fillBuffer() argument
256 uint8_t* pixel = (uint8_t*)(bufData + (row * stride) + col); in fillBuffer()
268 uint32_t* bufData; in fillQuadrants() local
270 reinterpret_cast<void**>(&bufData)); in fillQuadrants()
271 fillBuffer(bufData, Rect(0, 0, bufWidth / 2, bufHeight / 2), buf->getStride(), 0, 0, 0); in fillQuadrants()
272 fillBuffer(bufData, Rect(bufWidth / 2, 0, bufWidth, bufHeight / 2), buf->getStride(), 255, in fillQuadrants()
274 fillBuffer(bufData, Rect(bufWidth / 2, bufHeight / 2, bufWidth, bufHeight), in fillQuadrants()
276 fillBuffer(bufData, Rect(0, bufHeight / 2, bufWidth / 2, bufHeight), buf->getStride(), 0, 0, in fillQuadrants()
289 uint32_t* bufData; in checkScreenCapture() local
291 reinterpret_cast<void**>(&bufData)); in checkScreenCapture()
[all …]
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2PSExtractor.cpp739 const void *bufData; in read() local
741 if (inMeta.findData(kKeyCryptoIV, &bufType, &bufData, &bufSize)) { in read()
742 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read()
744 if (inMeta.findData(kKeyCryptoKey, &bufType, &bufData, &bufSize)) { in read()
745 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read()
747 if (inMeta.findData(kKeyPlainSizes, &bufType, &bufData, &bufSize)) { in read()
748 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read()
750 if (inMeta.findData(kKeyEncryptedSizes, &bufType, &bufData, &bufSize)) { in read()
751 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read()
753 if (inMeta.findData(kKeySEI, &bufType, &bufData, &bufSize)) { in read()
[all …]
DMPEG2TSExtractor.cpp223 const void *bufData; in read() local
225 if (inMeta.findData(kKeyCryptoIV, &bufType, &bufData, &bufSize)) { in read()
226 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read()
228 if (inMeta.findData(kKeyCryptoKey, &bufType, &bufData, &bufSize)) { in read()
229 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read()
231 if (inMeta.findData(kKeyPlainSizes, &bufType, &bufData, &bufSize)) { in read()
232 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read()
234 if (inMeta.findData(kKeyEncryptedSizes, &bufType, &bufData, &bufSize)) { in read()
235 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read()
237 if (inMeta.findData(kKeySEI, &bufType, &bufData, &bufSize)) { in read()
[all …]
/frameworks/base/cmds/incidentd/tests/
DPrivacyFilter_test.cpp76 EncodedBuffer::iterator bufData = buffer.data();
77 PrivacyFilter filter(policy, bufData);
253 EncodedBuffer::iterator bufData = buffer.data();
254 PrivacyFilter filter(create_message_privacy(300, list), bufData);
267 EncodedBuffer::iterator bufData = buffer.data();
268 PrivacyFilter filter(create_message_privacy(300, list), bufData);
277 EncodedBuffer::iterator bufData = buffer.data();
278 PrivacyFilter filter(create_message_privacy(300, field5), bufData);