Lines Matching defs:width
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)
185 for (size_t j = 0; j < width; ++j) {
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)
195 for (size_t j = 0; j < width; ++j) {
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)
205 for (size_t j = 0; j < width; ++j) {
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;
263 width = videoFrame->mHeight;
267 width = videoFrame->mWidth;
274 width,
305 width, height, displayWidth, displayHeight);