Home | History | Annotate | Download | only in base

Lines Matching refs:frame

101     cricket::CapturedFrame frame;
102 frame.width = width;
103 frame.height = height;
104 frame.fourcc = fourcc;
105 frame.data_size = size;
106 frame.elapsed_time = next_timestamp_;
107 frame.time_stamp = initial_unix_timestamp_ + next_timestamp_;
111 frame.data = data.get();
113 // the frame is all duplicate.
114 memset(frame.data, 1, size / 2);
115 memset(reinterpret_cast<uint8*>(frame.data) + (size / 2), 2,
117 memcpy(frame.data, reinterpret_cast<const uint8*>(&fourcc), 4);
120 SignalFrameCaptured(this, &frame);