Lines Matching refs:pixelBuffer
99 RTC_OBJC_TYPE(RTCCVPixelBuffer) *pixelBuffer = (RTC_OBJC_TYPE(RTCCVPixelBuffer) *)frame.buffer;
100 *width = CVPixelBufferGetWidth(pixelBuffer.pixelBuffer);
101 *height = CVPixelBufferGetHeight(pixelBuffer.pixelBuffer);
102 *cropWidth = pixelBuffer.cropWidth;
103 *cropHeight = pixelBuffer.cropHeight;
104 *cropX = pixelBuffer.cropX;
105 *cropY = pixelBuffer.cropY;
113 CVPixelBufferRef pixelBuffer = ((RTC_OBJC_TYPE(RTCCVPixelBuffer) *)frame.buffer).pixelBuffer;
120 int lumaWidth = CVPixelBufferGetWidthOfPlane(pixelBuffer, 0);
121 int lumaHeight = CVPixelBufferGetHeightOfPlane(pixelBuffer, 0);
125 kCFAllocatorDefault, _textureCache, pixelBuffer, nil, MTLPixelFormatR8Unorm, lumaWidth,
139 kCFAllocatorDefault, _textureCache, pixelBuffer, nil, MTLPixelFormatRG8Unorm, lumaWidth / 2,