Lines Matching refs:height
193 static void rotate0(T* dst, const T* src, size_t width, size_t height)
195 memcpy(dst, src, width * height * sizeof(T));
199 static void rotate90(T* dst, const T* src, size_t width, size_t height)
201 for (size_t i = 0; i < height; ++i) {
203 dst[j * height + height - 1 - i] = src[i * width + j];
209 static void rotate180(T* dst, const T* src, size_t width, size_t height)
211 for (size_t i = 0; i < height; ++i) {
213 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j];
219 static void rotate270(T* dst, const T* src, size_t width, size_t height)
221 for (size_t i = 0; i < height; ++i) {
223 dst[(width - 1 - j) * height + i] = src[i * width + j];
229 static void rotate(T *dst, const T *src, size_t width, size_t height, int angle)
233 rotate0(dst, src, width, height);
236 rotate90(dst, src, width, height);
239 rotate180(dst, src, width, height);
242 rotate270(dst, src, width, height);
277 uint32_t width, height;
281 height = videoFrame->mWidth;
285 height = videoFrame->mHeight;
292 height,
322 width, height, displayWidth, displayHeight);