/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | crop_and_resize_impl.cu | 26 … int final_width, int channel, int method, float extrapol_val, float *output) { in CropAndResize() argument 33 const int pos_x = pos_temp % final_width; // output x position in CropAndResize() 34 pos_temp = pos_temp / final_width; in CropAndResize() 45 float scale_width = (x2 - x1) * (input_width - 1) / (final_width - 1); in CropAndResize() 49 if (final_width <= 1) { in CropAndResize() 59 if (final_width > 1) { in CropAndResize() 105 … int input_height, int input_width, int final_height, int final_width, int channel, in CalCropAndResize() argument 109 … final_width, channel, method, extrapol_val, output); in CalCropAndResize() 115 int final_height, int final_width, int channel, int method, 119 int final_height, int final_width, int channel, int method, [all …]
|
D | crop_and_resize_impl.cuh | 23 … int input_height, int input_width, int final_height, int final_width, int channel,
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftbitmap.c | 822 unsigned int final_rows, final_width; in FT_Bitmap_Blend() local 907 final_width = ( final_urx - final_llx ) >> 6; in FT_Bitmap_Blend() 925 if ( final_width && final_rows ) in FT_Bitmap_Blend() 929 final_width, final_rows )); in FT_Bitmap_Blend() 934 if ( !( final_width && final_rows ) ) in FT_Bitmap_Blend() 952 target->width = final_width; in FT_Bitmap_Blend() 955 target->pitch = (int)final_width * 4; in FT_Bitmap_Blend() 961 final_width, final_rows )); in FT_Bitmap_Blend() 970 else if ( target->width != final_width || in FT_Bitmap_Blend() 984 new_pitch = (int)final_width * 4; in FT_Bitmap_Blend() [all …]
|
/third_party/freetype/src/base/ |
D | ftbitmap.c | 821 unsigned int final_rows, final_width; in FT_Bitmap_Blend() local 906 final_width = ( final_urx - final_llx ) >> 6; in FT_Bitmap_Blend() 924 if ( final_width && final_rows ) in FT_Bitmap_Blend() 928 final_width, final_rows )); in FT_Bitmap_Blend() 933 if ( !( final_width && final_rows ) ) in FT_Bitmap_Blend() 951 target->width = final_width; in FT_Bitmap_Blend() 954 target->pitch = (int)final_width * 4; in FT_Bitmap_Blend() 960 final_width, final_rows )); in FT_Bitmap_Blend() 969 else if ( target->width != final_width || in FT_Bitmap_Blend() 983 new_pitch = (int)final_width * 4; in FT_Bitmap_Blend() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftbitmap.c | 821 unsigned int final_rows, final_width; in FT_Bitmap_Blend() local 906 final_width = ( final_urx - final_llx ) >> 6; in FT_Bitmap_Blend() 924 if ( final_width && final_rows ) in FT_Bitmap_Blend() 928 final_width, final_rows )); in FT_Bitmap_Blend() 933 if ( !( final_width && final_rows ) ) in FT_Bitmap_Blend() 951 target->width = final_width; in FT_Bitmap_Blend() 954 target->pitch = (int)final_width * 4; in FT_Bitmap_Blend() 960 final_width, final_rows )); in FT_Bitmap_Blend() 969 else if ( target->width != final_width || in FT_Bitmap_Blend() 983 new_pitch = (int)final_width * 4; in FT_Bitmap_Blend() [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngrutil.c | 3694 png_uint_32 final_width; in png_do_read_interlace() local 3696 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3703 png_bytep dp = row + (size_t)((final_width - 1) >> 3); in png_do_read_interlace() 3716 dshift = ((final_width + 7) & 0x07); in png_do_read_interlace() 3726 dshift = 7 - ((final_width + 7) & 0x07); in png_do_read_interlace() 3766 png_bytep dp = row + (png_uint_32)((final_width - 1) >> 2); in png_do_read_interlace() 3777 dshift = (((final_width + 3) & 0x03) << 1); in png_do_read_interlace() 3787 dshift = ((3 - ((final_width + 3) & 0x03)) << 1); in png_do_read_interlace() 3830 png_bytep dp = row + (size_t)((final_width - 1) >> 1); in png_do_read_interlace() 3841 dshift = (((final_width + 1) & 0x01) << 2); in png_do_read_interlace() [all …]
|
/third_party/skia/third_party/externals/libpng/ |
D | pngrutil.c | 3694 png_uint_32 final_width; in png_do_read_interlace() local 3696 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3703 png_bytep dp = row + (size_t)((final_width - 1) >> 3); in png_do_read_interlace() 3716 dshift = ((final_width + 7) & 0x07); in png_do_read_interlace() 3726 dshift = 7 - ((final_width + 7) & 0x07); in png_do_read_interlace() 3766 png_bytep dp = row + (png_uint_32)((final_width - 1) >> 2); in png_do_read_interlace() 3777 dshift = (((final_width + 3) & 0x03) << 1); in png_do_read_interlace() 3787 dshift = ((3 - ((final_width + 3) & 0x03)) << 1); in png_do_read_interlace() 3830 png_bytep dp = row + (size_t)((final_width - 1) >> 1); in png_do_read_interlace() 3841 dshift = (((final_width + 1) & 0x01) << 2); in png_do_read_interlace() [all …]
|
/third_party/libpng/ |
D | pngrutil.c | 3694 png_uint_32 final_width; in png_do_read_interlace() local 3696 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3703 png_bytep dp = row + (size_t)((final_width - 1) >> 3); in png_do_read_interlace() 3716 dshift = ((final_width + 7) & 0x07); in png_do_read_interlace() 3726 dshift = 7 - ((final_width + 7) & 0x07); in png_do_read_interlace() 3766 png_bytep dp = row + (png_uint_32)((final_width - 1) >> 2); in png_do_read_interlace() 3777 dshift = (((final_width + 3) & 0x03) << 1); in png_do_read_interlace() 3787 dshift = ((3 - ((final_width + 3) & 0x03)) << 1); in png_do_read_interlace() 3830 png_bytep dp = row + (size_t)((final_width - 1) >> 1); in png_do_read_interlace() 3841 dshift = (((final_width + 1) & 0x01) << 2); in png_do_read_interlace() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | vp8l_dec.c | 1505 static int AllocateInternalBuffers32b(VP8LDecoder* const dec, int final_width) { in AllocateInternalBuffers32b() argument 1509 const uint64_t cache_top_pixels = (uint16_t)final_width; in AllocateInternalBuffers32b() 1511 const uint64_t cache_pixels = (uint64_t)final_width * NUM_ARGB_CACHE_ROWS; in AllocateInternalBuffers32b() 1515 assert(dec->width_ <= final_width); in AllocateInternalBuffers32b()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | vp8l_dec.c | 1509 static int AllocateInternalBuffers32b(VP8LDecoder* const dec, int final_width) { in AllocateInternalBuffers32b() argument 1513 const uint64_t cache_top_pixels = (uint16_t)final_width; in AllocateInternalBuffers32b() 1515 const uint64_t cache_pixels = (uint64_t)final_width * NUM_ARGB_CACHE_ROWS; in AllocateInternalBuffers32b() 1519 assert(dec->width_ <= final_width); in AllocateInternalBuffers32b()
|