Lines Matching refs:height
176 static void rotate0(T* dst, const T* src, size_t width, size_t height)
178 memcpy(dst, src, width * height * sizeof(T));
182 static void rotate90(T* dst, const T* src, size_t width, size_t height)
184 for (size_t i = 0; i < height; ++i) {
186 dst[j * height + height - 1 - i] = src[i * width + j];
192 static void rotate180(T* dst, const T* src, size_t width, size_t height)
194 for (size_t i = 0; i < height; ++i) {
196 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j];
202 static void rotate270(T* dst, const T* src, size_t width, size_t height)
204 for (size_t i = 0; i < height; ++i) {
206 dst[(width - 1 - j) * height + i] = src[i * width + j];
212 static void rotate(T *dst, const T *src, size_t width, size_t height, int angle)
216 rotate0(dst, src, width, height);
219 rotate90(dst, src, width, height);
222 rotate180(dst, src, width, height);
225 rotate270(dst, src, width, height);
260 uint32_t width, height;
264 height = videoFrame->mWidth;
268 height = videoFrame->mHeight;
275 height,
305 width, height, displayWidth, displayHeight);