Lines Matching refs:destBuf
911 StreamBuffer destBuf; in processCaptureRequest() local
912 destBuf.streamId = kGenericStreamId; in processCaptureRequest()
913 destBuf.width = srcBuf.stream->width; in processCaptureRequest()
914 destBuf.height = srcBuf.stream->height; in processCaptureRequest()
919 destBuf.format = HAL_PIXEL_FORMAT_RGBA_8888; in processCaptureRequest()
922 destBuf.format = HAL_PIXEL_FORMAT_YCbCr_420_888; in processCaptureRequest()
926 destBuf.format = HAL_PIXEL_FORMAT_RGB_888; in processCaptureRequest()
931 destBuf.format = srcBuf.stream->format; in processCaptureRequest()
933 destBuf.stride = srcBuf.stream->width; in processCaptureRequest()
934 destBuf.dataSpace = srcBuf.stream->data_space; in processCaptureRequest()
935 destBuf.buffer = srcBuf.buffer; in processCaptureRequest()
937 if (destBuf.format == HAL_PIXEL_FORMAT_BLOB) { in processCaptureRequest()
951 if (destBuf.format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in processCaptureRequest()
954 *(destBuf.buffer), in processCaptureRequest()
956 Rect(0, 0, destBuf.width, destBuf.height), in processCaptureRequest()
960 destBuf.img = static_cast<uint8_t*>(ycbcr.y); in processCaptureRequest()
963 destBuf.format); in processCaptureRequest()
968 *(destBuf.buffer), in processCaptureRequest()
970 Rect(0, 0, destBuf.width, destBuf.height), in processCaptureRequest()
971 (void**)&(destBuf.img)); in processCaptureRequest()
979 __FUNCTION__, destBuf.format, destBuf.width, destBuf.height, in processCaptureRequest()
980 destBuf.buffer, destBuf.img); in processCaptureRequest()
995 sensorBuffers->push_back(destBuf); in processCaptureRequest()