Lines Matching refs:c2Buffer
514 std::shared_ptr<C2Buffer>* c2Buffer, in popFromStashAndRegister() argument
524 *c2Buffer = entry.buffer; in popFromStashAndRegister()
551 status_t err = registerBuffer(*c2Buffer, index, outBuffer); in popFromStashAndRegister()
911 sp<Codec2Buffer> c2Buffer; in requestNewBuffer() local
912 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer()
914 c2Buffer->setFormat(mFormat); in requestNewBuffer()
915 handleImageData(c2Buffer); in requestNewBuffer()
916 *buffer = c2Buffer; in requestNewBuffer()
1322 sp<Codec2Buffer> c2Buffer; in registerBuffer() local
1325 &c2Buffer, in registerBuffer()
1336 c2Buffer->setFormat(mFormat); in registerBuffer()
1337 if (!convert(buffer, &c2Buffer) && !c2Buffer->copy(buffer)) { in registerBuffer()
1345 if (submit(c2Buffer, mSampleRate, mChannelCount, bufferMetadata)) { in registerBuffer()
1349 submit(c2Buffer); in registerBuffer()
1351 handleImageData(c2Buffer); in registerBuffer()
1352 *clientBuffer = c2Buffer; in registerBuffer()
1361 sp<Codec2Buffer> c2Buffer; in registerCsd() local
1364 &c2Buffer, in registerCsd()
1372 memcpy(c2Buffer->base(), csd->m.value, csd->flexCount()); in registerCsd()
1373 c2Buffer->setRange(0, csd->flexCount()); in registerCsd()
1374 c2Buffer->setFormat(mFormat); in registerCsd()
1375 *clientBuffer = c2Buffer; in registerCsd()