Lines Matching refs:destBuf
900 StreamBuffer destBuf; in processCaptureRequest() local
901 destBuf.streamId = kGenericStreamId; in processCaptureRequest()
902 destBuf.width = srcBuf.stream->width; in processCaptureRequest()
903 destBuf.height = srcBuf.stream->height; in processCaptureRequest()
908 destBuf.format = HAL_PIXEL_FORMAT_YCbCr_420_888; in processCaptureRequest()
911 destBuf.format = HAL_PIXEL_FORMAT_YCbCr_420_888; in processCaptureRequest()
915 destBuf.format = HAL_PIXEL_FORMAT_RGB_888; in processCaptureRequest()
920 destBuf.format = srcBuf.stream->format; in processCaptureRequest()
923 destBuf.stride = srcBuf.stream->width; in processCaptureRequest()
924 destBuf.dataSpace = srcBuf.stream->data_space; in processCaptureRequest()
925 destBuf.buffer = srcBuf.buffer; in processCaptureRequest()
927 if (destBuf.format == HAL_PIXEL_FORMAT_BLOB) { in processCaptureRequest()
941 if (destBuf.format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in processCaptureRequest()
944 *(destBuf.buffer), in processCaptureRequest()
946 Rect(0, 0, destBuf.width, destBuf.height), in processCaptureRequest()
952 destBuf.img = static_cast<uint8_t*>(ycbcr.y); in processCaptureRequest()
955 destBuf.format); in processCaptureRequest()
960 *(destBuf.buffer), in processCaptureRequest()
962 Rect(0, 0, destBuf.width, destBuf.height), in processCaptureRequest()
963 (void**)&(destBuf.img)); in processCaptureRequest()
985 sensorBuffers->push_back(destBuf); in processCaptureRequest()