Lines Matching refs:destBuf
863 StreamBuffer destBuf; in processCaptureRequest() local
864 destBuf.streamId = kGenericStreamId; in processCaptureRequest()
865 destBuf.width = srcBuf.stream->width; in processCaptureRequest()
866 destBuf.height = srcBuf.stream->height; in processCaptureRequest()
868 destBuf.format = in processCaptureRequest()
872 destBuf.stride = srcBuf.stream->width; in processCaptureRequest()
873 destBuf.dataSpace = srcBuf.stream->data_space; in processCaptureRequest()
874 destBuf.buffer = srcBuf.buffer; in processCaptureRequest()
875 destBuf.importedBuffer = NULL; in processCaptureRequest()
877 if (destBuf.format == HAL_PIXEL_FORMAT_BLOB) { in processCaptureRequest()
890 res = GrallocModule::getInstance().import(*(destBuf.buffer), in processCaptureRequest()
891 &destBuf.importedBuffer); in processCaptureRequest()
903 if (destBuf.format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in processCaptureRequest()
906 destBuf.importedBuffer, usage, 0, 0, in processCaptureRequest()
907 destBuf.width, destBuf.height, &ycbcr); in processCaptureRequest()
910 destBuf.img = static_cast<uint8_t *>(ycbcr.y); in processCaptureRequest()
913 destBuf.format); in processCaptureRequest()
919 destBuf.importedBuffer, usage, 0, 0, 0, 0, (void **)&(destBuf.img)); in processCaptureRequest()
922 destBuf.importedBuffer, usage, 0, 0, in processCaptureRequest()
923 destBuf.width, destBuf.height, (void **)&(destBuf.img)); in processCaptureRequest()
943 sensorBuffers->push_back(destBuf); in processCaptureRequest()