Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp233 void fillBuffer(uint32_t* bufData, Rect rect, uint32_t stride, uint8_t r, uint8_t g, in fillBuffer() argument
237 uint8_t* pixel = (uint8_t*)(bufData + (row * stride) + col); in fillBuffer()
249 uint32_t* bufData; in fillQuadrants() local
251 reinterpret_cast<void**>(&bufData)); in fillQuadrants()
252 fillBuffer(bufData, Rect(0, 0, bufWidth / 2, bufHeight / 2), buf->getStride(), 0, 0, 0); in fillQuadrants()
253 fillBuffer(bufData, Rect(bufWidth / 2, 0, bufWidth, bufHeight / 2), buf->getStride(), 255, in fillQuadrants()
255 fillBuffer(bufData, Rect(bufWidth / 2, bufHeight / 2, bufWidth, bufHeight), in fillQuadrants()
257 fillBuffer(bufData, Rect(0, bufHeight / 2, bufWidth / 2, bufHeight), buf->getStride(), 0, 0, in fillQuadrants()
270 uint32_t* bufData; in checkScreenCapture() local
272 reinterpret_cast<void**>(&bufData)); in checkScreenCapture()
[all …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp724 const void *bufData; in read() local
726 if (inMeta.findData(kKeyCryptoIV, &bufType, &bufData, &bufSize)) { in read()
727 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read()
729 if (inMeta.findData(kKeyCryptoKey, &bufType, &bufData, &bufSize)) { in read()
730 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read()
732 if (inMeta.findData(kKeyPlainSizes, &bufType, &bufData, &bufSize)) { in read()
733 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read()
735 if (inMeta.findData(kKeyEncryptedSizes, &bufType, &bufData, &bufSize)) { in read()
736 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read()
738 if (inMeta.findData(kKeySEI, &bufType, &bufData, &bufSize)) { in read()
[all …]
DMPEG2TSExtractor.cpp208 const void *bufData; in read() local
210 if (inMeta.findData(kKeyCryptoIV, &bufType, &bufData, &bufSize)) { in read()
211 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read()
213 if (inMeta.findData(kKeyCryptoKey, &bufType, &bufData, &bufSize)) { in read()
214 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read()
216 if (inMeta.findData(kKeyPlainSizes, &bufType, &bufData, &bufSize)) { in read()
217 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read()
219 if (inMeta.findData(kKeyEncryptedSizes, &bufType, &bufData, &bufSize)) { in read()
220 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read()
222 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);