Home | History | Annotate | Download | only in base

Lines Matching refs:frame

59   virtual bool RenderFrame(const VideoFrame* frame) {
63 black_frame_ = CheckFrameColorYuv(6, 48, 128, 128, 128, 128, frame);
64 // Treat unexpected frame size as error.
65 if (!frame ||
66 frame->GetWidth() != static_cast<size_t>(width_) ||
67 frame->GetHeight() != static_cast<size_t>(height_)) {
68 if (!frame) {
69 LOG(LS_WARNING) << "RenderFrame expected non-null frame.";
71 LOG(LS_WARNING) << "RenderFrame expected frame of size " << width_
72 << "x" << height_ << " but received frame of size "
73 << frame->GetWidth() << "x" << frame->GetHeight();
79 SignalRenderFrame(frame);
112 const cricket::VideoFrame* frame) {
113 if (!frame) {
117 size_t y_width = frame->GetWidth();
118 size_t y_height = frame->GetHeight();
119 const uint8* y_plane = frame->GetYPlane();
121 int32 y_pitch = frame->GetYPitch();
132 size_t chroma_width = frame->GetChromaWidth();
133 size_t chroma_height = frame->GetChromaHeight();
134 const uint8* u_plane = frame->GetUPlane();
135 const uint8* v_plane = frame->GetVPlane();
138 int32 u_pitch = frame->GetUPitch();
139 int32 v_pitch = frame->GetVPitch();