Home | History | Annotate | Download | only in source

Lines Matching refs:dst_height

2732                             int dst_width, int dst_height,
2760 for (int y = 0; y < dst_height; ++y) {
2774 int dst_width, int dst_height,
2802 for (int y = 0; y < dst_height; ++y) {
2817 int dst_width, int dst_height,
2837 for (int y = 0; y < dst_height; ++y) {
2851 int dst_width, int dst_height,
2894 for (int y = 0; y < dst_height; ++y) {
2928 int dst_width, int dst_height,
2961 for (int y = 0; y < dst_height; ++y) {
3053 int dst_width, int dst_height,
3057 assert(dst_height > 0);
3058 int dy = (src_height << 16) / dst_height;
3061 dst_height * 2 > src_height) {
3063 int dy = (src_height << 16) / dst_height;
3066 for (int j = 0; j < dst_height; ++j) {
3103 for (int j = 0; j < dst_height; ++j) {
3122 int dst_width, int dst_height,
3127 int dy = (src_height << 16) / dst_height;
3130 int y = (dst_height < src_height) ? 32768 :
3131 (src_height << 16) / dst_height - 32768;
3132 for (int i = 0; i < dst_height; ++i) {
3163 int dst_width, int dst_height,
3167 assert(dst_height > 0);
3168 int dy = (src_height << 16) / dst_height;
3171 ScalePlaneBilinearSimple(src_width, src_height, dst_width, dst_height,
3202 for (int j = 0; j < dst_height; ++j) {
3224 int dst_width, int dst_height,
3229 for (int y = 0; y < dst_height; ++y) {
3230 const uint8* const src = src_ptr + (y * src_height / dst_height) *
3246 int dst_width, int dst_height,
3251 dst_height,
3255 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height,
3269 int dst_width, int dst_height,
3274 ScalePlaneSimple(src_width, src_height, dst_width, dst_height,
3276 } else if (filtering == kFilterBilinear || src_height * 2 > dst_height) {
3278 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height,
3281 ScalePlaneBox(src_width, src_height, dst_width, dst_height,
3295 int dst_width, int dst_height,
3316 int dst_width, int dst_height,
3320 if (dst_width == src_width && dst_height == src_height) {
3322 CopyPlane(src_width, src_height, dst_width, dst_height, src_stride,
3324 } else if (dst_width <= src_width && dst_height <= src_height) {
3328 ScalePlaneDown(src_width, src_height, dst_width, dst_height,
3331 4 * dst_height == 3 * src_height) {
3333 ScalePlaneDown34(src_width, src_height, dst_width, dst_height,
3335 } else if (2 * dst_width == src_width && 2 * dst_height == src_height) {
3337 ScalePlaneDown2(src_width, src_height, dst_width, dst_height,
3341 dst_height == ((src_height * 3 + 7) / 8)) {
3343 ScalePlaneDown38(src_width, src_height, dst_width, dst_height,
3345 } else if (4 * dst_width == src_width && 4 * dst_height == src_height) {
3347 ScalePlaneDown4(src_width, src_height, dst_width, dst_height,
3349 } else if (8 * dst_width == src_width && 8 * dst_height == src_height) {
3351 ScalePlaneDown8(src_width, src_height, dst_width, dst_height,
3355 ScalePlaneDown(src_width, src_height, dst_width, dst_height,
3360 ScalePlaneAnySize(src_width, src_height, dst_width, dst_height,
3380 int dst_width, int dst_height,
3383 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) {
3400 int halfoheight = (dst_height + 1) >> 1;
3403 dst_y, dst_stride_y, dst_width, dst_height,
3419 int dst_width, int dst_height,
3422 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) {
3439 int halfoheight = (dst_height + 1) >> 1;
3443 dst_y, dst_stride_y, dst_width, dst_height,
3455 uint8* dst, int dst_width, int dst_height, int ooffset,
3458 !dst || dst_width <= 0 || dst_height <= 0 || ooffset < 0 ||
3459 ooffset >= dst_height) {
3466 int halfoheight = (dst_height + 1) >> 1;
3467 int aheight = dst_height - ooffset * 2; // actual output height
3471 uint8* ouptr = dst + dst_width * dst_height + (ooffset >> 1) * halfdst_width;
3474 uint8* ovptr = dst + dst_width * dst_height + halfdst_width * halfoheight +