Lines Matching refs:c2Buffer
461 sp<Codec2Buffer> c2Buffer; in requestNewBuffer() local
462 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer()
464 c2Buffer->setFormat(mFormat); in requestNewBuffer()
465 handleImageData(c2Buffer); in requestNewBuffer()
466 *buffer = c2Buffer; in requestNewBuffer()
808 sp<Codec2Buffer> c2Buffer; in registerBuffer() local
811 &c2Buffer, in registerBuffer()
822 c2Buffer->setFormat(mFormat); in registerBuffer()
823 if (!c2Buffer->copy(buffer)) { in registerBuffer()
827 submit(c2Buffer); in registerBuffer()
828 handleImageData(c2Buffer); in registerBuffer()
829 *clientBuffer = c2Buffer; in registerBuffer()
838 sp<Codec2Buffer> c2Buffer; in registerCsd() local
841 &c2Buffer, in registerCsd()
849 memcpy(c2Buffer->base(), csd->m.value, csd->flexCount()); in registerCsd()
850 c2Buffer->setRange(0, csd->flexCount()); in registerCsd()
851 c2Buffer->setFormat(mFormat); in registerCsd()
852 *clientBuffer = c2Buffer; in registerCsd()