Home | History | Annotate | Download | only in video_effects

Lines Matching refs:image_data

141     pp::ImageData image_data = video_frame.image_data();
142 pp::Size size = image_data.size();
143 std::vector<uint8_t> tmp_row(image_data.stride());
144 uint8_t* image = static_cast<uint8_t*>(image_data.data());
146 uint8_t* top = image + i * image_data.stride();
147 uint8_t* bottom = image + (size.height() - 1 - i) * image_data.stride();
148 memcpy(&tmp_row[0], top, image_data.stride());
149 memcpy(top, bottom, image_data.stride());
150 memcpy(bottom, &tmp_row[0], image_data.stride());