Lines Matching refs:destBuf
912 StreamBuffer destBuf; in processCaptureRequest() local
913 destBuf.streamId = kGenericStreamId; in processCaptureRequest()
914 destBuf.width = srcBuf.stream->width; in processCaptureRequest()
915 destBuf.height = srcBuf.stream->height; in processCaptureRequest()
920 destBuf.format = HAL_PIXEL_FORMAT_RGBA_8888; in processCaptureRequest()
923 destBuf.format = HAL_PIXEL_FORMAT_YCbCr_420_888; in processCaptureRequest()
927 destBuf.format = HAL_PIXEL_FORMAT_RGB_888; in processCaptureRequest()
932 destBuf.format = srcBuf.stream->format; in processCaptureRequest()
934 destBuf.stride = srcBuf.stream->width; in processCaptureRequest()
935 destBuf.dataSpace = srcBuf.stream->data_space; in processCaptureRequest()
936 destBuf.buffer = srcBuf.buffer; in processCaptureRequest()
938 if (destBuf.format == HAL_PIXEL_FORMAT_BLOB) { in processCaptureRequest()
952 if (destBuf.format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in processCaptureRequest()
955 *(destBuf.buffer), in processCaptureRequest()
957 0, 0, destBuf.width, destBuf.height, in processCaptureRequest()
961 destBuf.img = static_cast<uint8_t*>(ycbcr.y); in processCaptureRequest()
964 destBuf.format); in processCaptureRequest()
969 *(destBuf.buffer), in processCaptureRequest()
971 0, 0, destBuf.width, destBuf.height, in processCaptureRequest()
972 (void**)&(destBuf.img)); in processCaptureRequest()
980 __FUNCTION__, destBuf.format, destBuf.width, destBuf.height, in processCaptureRequest()
981 destBuf.buffer, destBuf.img); in processCaptureRequest()
997 sensorBuffers->push_back(destBuf); in processCaptureRequest()