Lines Matching refs:c2Buffer
737 sp<Codec2Buffer> c2Buffer; in requestNewBuffer() local
738 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer()
740 c2Buffer->setFormat(mFormat); in requestNewBuffer()
741 *buffer = c2Buffer; in requestNewBuffer()
1096 sp<Codec2Buffer> c2Buffer; in registerBuffer() local
1099 &c2Buffer, in registerBuffer()
1110 c2Buffer->setFormat(mFormat); in registerBuffer()
1111 if (!c2Buffer->copy(buffer)) { in registerBuffer()
1115 submit(c2Buffer); in registerBuffer()
1116 *clientBuffer = c2Buffer; in registerBuffer()
1125 sp<Codec2Buffer> c2Buffer; in registerCsd() local
1128 &c2Buffer, in registerCsd()
1136 memcpy(c2Buffer->base(), csd->m.value, csd->flexCount()); in registerCsd()
1137 c2Buffer->setRange(0, csd->flexCount()); in registerCsd()
1138 c2Buffer->setFormat(mFormat); in registerCsd()
1139 *clientBuffer = c2Buffer; in registerCsd()
1850 std::shared_ptr<C2Buffer> c2Buffer; in renderOutputBuffer() local
1855 released = (*buffers)->releaseBuffer(buffer, &c2Buffer); in renderOutputBuffer()
1863 if (!c2Buffer) { in renderOutputBuffer()
1874 const std::vector<std::shared_ptr<const C2Info>> infoParams = c2Buffer->info(); in renderOutputBuffer()
1887 c2Buffer->getInfo(C2StreamRotationInfo::output::PARAM_TYPE)); in renderOutputBuffer()
1910 c2Buffer->getInfo(C2StreamSurfaceScalingInfo::output::PARAM_TYPE)); in renderOutputBuffer()
1923 c2Buffer->getInfo(C2StreamHdrStaticInfo::output::PARAM_TYPE)); in renderOutputBuffer()
1928 c2Buffer->getInfo(C2StreamHdr10PlusInfo::output::PARAM_TYPE)); in renderOutputBuffer()
1938 std::vector<C2ConstGraphicBlock> blocks = c2Buffer->data().graphicBlocks(); in renderOutputBuffer()