Home | History | Annotate | Download | only in objc

Lines Matching refs:frame

144 // here because the incoming frame has origin in upper left hand corner but
200 - (BOOL)drawFrame:(RTCI420Frame*)frame {
204 if (_lastDrawnFrame == frame) {
209 if (frame) {
210 if (![self updateTextureSizesForFrame:frame] ||
211 ![self updateTextureDataForFrame:frame]) {
223 _lastDrawnFrame = frame;
321 - (BOOL)updateTextureSizesForFrame:(RTCI420Frame*)frame {
322 if (frame.height == _lastDrawnFrame.height &&
323 frame.width == _lastDrawnFrame.width &&
324 frame.chromaWidth == _lastDrawnFrame.chromaWidth &&
325 frame.chromaHeight == _lastDrawnFrame.chromaHeight) {
328 GLsizei lumaWidth = frame.width;
329 GLsizei lumaHeight = frame.height;
330 GLsizei chromaWidth = frame.chromaWidth;
331 GLsizei chromaHeight = frame.chromaHeight;
367 - (BOOL)updateTextureDataForFrame:(RTCI420Frame*)frame {
370 NSParameterAssert(frame.yPitch == frame.width);
371 NSParameterAssert(frame.uPitch == frame.chromaWidth);
372 NSParameterAssert(frame.vPitch == frame.chromaWidth);
381 frame.width,
382 frame.height,
386 frame.yPlane);
393 frame.chromaWidth,
394 frame.chromaHeight,
398 frame.uPlane);
405 frame.chromaWidth,
406 frame.chromaHeight,
410 frame.vPlane);