Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_rescale_enc.c53 if (width <= 0 || height <= 0) return 0; in AdjustAndCheckRectangle()
55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle()
80 4 * dst->width, dst->height); in WebPPictureCopy()
105 dst->height = height; in WebPPictureView()
135 tmp.height = height; in WebPPictureCrop()
194 pic->width, pic->height, inverse); in AlphaMultiplyY()
205 prev_height = pic->height; in WebPPictureRescale()
213 tmp.height = height; in WebPPictureRescale()
288 (void)height; in WebPPictureView()
299 (void)height; in WebPPictureCrop()
[all …]
A Dalpha_enc.c59 picture.height = height; in EncodeLossless()
65 WebPDispatchAlphaToGreen(data, width, picture.width, picture.height, in EncodeLossless()
118 const size_t data_size = width * height; in EncodeAlphaInternal()
131 filter_func(data, width, height, width, tmp_alpha); in EncodeAlphaInternal()
179 static int GetNumColors(const uint8_t* data, int width, int height, in GetNumColors() argument
185 for (j = 0; j < height; ++j) { in GetNumColors()
214 : WebPEstimateBestFilter(alpha, width, height, width); in GetFilterMap()
243 GetFilterMap(alpha, width, height, filter, effort_level); in ApplyFiltersAndEncode()
298 const int height = pic->height; in EncodeAlpha() local
301 const size_t data_size = width * height; in EncodeAlpha()
[all …]
A Dpicture_enc.c66 int WebPPictureAllocARGB(WebPPicture* const picture, int width, int height) { in WebPPictureAllocARGB() argument
68 const uint64_t argb_size = (uint64_t)width * height; in WebPPictureAllocARGB()
75 if (width <= 0 || height <= 0) { in WebPPictureAllocARGB()
95 const int uv_height = (int)(((int64_t)height + 1) >> 1); in WebPPictureAllocYUVA()
113 y_size = (uint64_t)y_stride * height; in WebPPictureAllocYUVA()
115 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA()
120 if (width <= 0 || height <= 0 || // luma/alpha param error in WebPPictureAllocYUVA()
156 const int height = picture->height; in WebPPictureAlloc() local
161 return WebPPictureAllocYUVA(picture, width, height); in WebPPictureAlloc()
163 return WebPPictureAllocARGB(picture, width, height); in WebPPictureAlloc()
[all …]
/AliOS-Things-master/components/SDL2/src/video/yuv2rgb/
A Dyuv_rgb.h31 uint32_t width, uint32_t height,
37 uint32_t width, uint32_t height,
43 uint32_t width, uint32_t height,
49 uint32_t width, uint32_t height,
55 uint32_t width, uint32_t height,
61 uint32_t width, uint32_t height,
67 uint32_t width, uint32_t height,
73 uint32_t width, uint32_t height,
79 uint32_t width, uint32_t height,
85 uint32_t width, uint32_t height,
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_yuv.c186 Uint32 width, Uint32 height, in yuv_rgb_sse() argument
860 height = (height + 1) / 2; in SDL_ConvertPixels_YUV_to_YUV_Copy()
870 height = (height + 1) / 2; in SDL_ConvertPixels_YUV_to_YUV_Copy()
1258 y = height; in SDL_ConvertPixels_YUY2_to_UYVY()
1300 y = height; in SDL_ConvertPixels_YUY2_to_YVYU()
1342 y = height; in SDL_ConvertPixels_UYVY_to_YUY2()
1384 y = height; in SDL_ConvertPixels_UYVY_to_YVYU()
1426 y = height; in SDL_ConvertPixels_YVYU_to_YUY2()
1468 y = height; in SDL_ConvertPixels_YVYU_to_UYVY()
1647 if (y == (height - 1)) { in SDL_ConvertPixels_Planar2x2_to_Packed4()
[all …]
A DSDL_blit_1.c38 int width, height; in Blit1to1() local
44 height = info->dst_h; in Blit1to1()
51 while (height--) { in Blit1to1()
90 int width, height; in Blit1to2() local
105 while (height--) { in Blit1to2()
198 int width, height; in Blit1to3() local
211 while (height--) { in Blit1to3()
246 int width, height; in Blit1to4() local
260 while (height--) { in Blit1to4()
350 while (height--) { in Blit1to2Key()
[all …]
A DSDL_blit_0.c34 int width, height; in BlitBto1() local
40 height = info->dst_h; in BlitBto1()
89 int width, height; in BlitBto2() local
104 while (height--) { in BlitBto2()
126 int width, height; in BlitBto3() local
140 while (height--) { in BlitBto3()
164 int width, height; in BlitBto4() local
180 while (height--) { in BlitBto4()
268 while (height--) { in BlitBto2Key()
302 while (height--) { in BlitBto3Key()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dimage_enc.c147 const uint32_t height = buffer->height; in WebPWritePNG() local
186 const uint32_t height = buffer->height; in WebPWritePNG() local
226 const uint32_t height = buffer->height; in WritePPMPAM() local
264 const uint32_t height = buffer->height; in WebPWrite16bAsPGM() local
273 for (y = 0; y < height; ++y) { in WebPWrite16bAsPGM()
299 const uint32_t height = buffer->height; in WebPWriteBMP() local
337 for (y = 0; y < height; ++y) { in WebPWriteBMP()
366 const uint32_t height = buffer->height; in WebPWriteTIFF() local
445 const uint32_t height = buffer->height; in WebPWriteAlphaPlane() local
469 const int height = buffer->height; in WebPWritePGM() local
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/swig/
A Dlibwebp.py136 def WebPEncodeRGB(rgb, width, height, stride, quality_factor): argument
139 rgb, _UNUSED, _UNUSED, width, height, stride, quality_factor)
144 def WebPEncodeRGBA(rgb, width, height, stride, quality_factor): argument
147 rgb, _UNUSED, _UNUSED, width, height, stride, quality_factor)
152 def WebPEncodeBGR(rgb, width, height, stride, quality_factor): argument
155 rgb, _UNUSED, _UNUSED, width, height, stride, quality_factor)
160 def WebPEncodeBGRA(rgb, width, height, stride, quality_factor): argument
168 def WebPEncodeLosslessRGB(rgb, width, height, stride): argument
175 def WebPEncodeLosslessRGBA(rgb, width, height, stride): argument
182 def WebPEncodeLosslessBGR(rgb, width, height, stride): argument
[all …]
A Dlibwebp.swig109 %apply int* OUTPUT { int* width, int* height }
113 int* width, int* height);
127 int* width, int* height);
129 int* width, int* height);
131 int* width, int* height);
133 int* width, int* height);
135 int* width, int* height);
166 const char* function, int* width, int* height) {
208 size = *width * *height * p->size_multiplier;
345 height = h[0]
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dbuffer_dec.c45 const int height = buffer->height; in CheckDecBuffer() local
51 const int uv_height = (height + 1) / 2; in CheckDecBuffer()
89 const int h = buffer->height; in AllocateBuffer()
159 buf->rgba += (buffer->height - 1) * buf->stride; in WebPFlipBuffer()
163 const int H = buffer->height; in WebPFlipBuffer()
192 x + cw > width || y + ch > height) { in WebPAllocateDecBuffer()
196 height = ch; in WebPAllocateDecBuffer()
208 height = scaled_height; in WebPAllocateDecBuffer()
215 buffer->height = height; in WebPAllocateDecBuffer()
277 dst_buf->height = src_buf->height; in WebPCopyDecBufferPixels()
[all …]
A Dwebp_dec.c110 int width, height; in ParseVP8X() local
123 height = 1 + GetLE24(*data + 15); in ParseVP8X()
130 if (height_ptr != NULL) *height_ptr = height; in ParseVP8X()
407 if (height != NULL) *height = image_height; in ParseHeadersInternal()
620 if (height != NULL) *height = output.height; in Decode()
634 int* width, int* height) { in WebPDecodeRGB() argument
699 int* width, int* height) { in WebPGetInfo() argument
709 if (height != NULL) { in WebPGetInfo()
710 *height = features.height; in WebPGetInfo()
771 in_mem_buffer.height = config->input.height; in WebPDecode()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Dreadppm.c67 ulg width, height; variable
109 sscanf(ppmline, "%lu %lu", &width, &height); in readpng_init()
122 *pHeight = height; in readpng_init()
157 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); in readpng_get_image()
160 if (height > ((size_t)(-1))/rowbytes) { in readpng_get_image()
165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
171 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image()
172 rowbytes*height) { in readpng_get_image()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiff2rgba.c153 TIFFGetField(in, TIFFTAG_IMAGELENGTH, &height); in cvt_by_tile()
332 if( row + rowsperstrip > height ) in cvt_by_strip()
333 rows_to_write = height - row; in cvt_by_strip()
391 pixel_count = width * height; in cvt_whole_image()
394 if (!width || !height || pixel_count / width != height) { in cvt_whole_image()
397 (unsigned long)width, (unsigned long)height); in cvt_whole_image()
423 TIFFSwabArrayOfLong(raster, width * height); in cvt_whole_image()
465 if( row + rowsperstrip > height ) in cvt_whole_image()
466 rows_to_write = height - row; in cvt_whole_image()
495 TIFFGetField(in, TIFFTAG_IMAGELENGTH, &height); in tiffcvt()
[all …]
/AliOS-Things-master/components/ugraphics/src/jpegdec/
A Djpegdec.c83 int *width, int *height, in tjpeg_header() argument
95 width, height, subsample, colorspace); in tjpeg_header()
109 int width, height, subsample, colorspace; in tjpeg2rgb() local
120 &width, &height, &subsample, &colorspace); in tjpeg2rgb()
125 LOG("width: %d, height: %d", width, height); in tjpeg2rgb()
127 *rgb_buffer = (unsigned char *)tjAlloc(width * height * in tjpeg2rgb()
133 *size = width * height * tjPixelSize[pixelfmt]; in tjpeg2rgb()
136 *rgb_buffer, width, pitch, height, pixelfmt, flags); in tjpeg2rgb()
148 int height, int quality, unsigned char **jpeg_buffer, in trgb2jpeg() argument
165 ret = tjCompress2(handle, rgb_buffer, width, 0, height, in trgb2jpeg()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dfilters.c26 assert(height > 0); \
28 assert(row >= 0 && num_rows > 0 && row + num_rows <= height); \
29 (void)height; // Silence unused warning.
46 int width, int height, int stride, in DoHorizontalFilter_C() argument
83 int width, int height, int stride, in DoVerticalFilter_C() argument
173 static void HorizontalFilter_C(const uint8_t* data, int width, int height, in HorizontalFilter_C() argument
175 DoHorizontalFilter_C(data, width, height, stride, 0, height, 0, in HorizontalFilter_C()
179 static void VerticalFilter_C(const uint8_t* data, int width, int height, in VerticalFilter_C() argument
181 DoVerticalFilter_C(data, width, height, stride, 0, height, 0, filtered_data); in VerticalFilter_C()
184 static void GradientFilter_C(const uint8_t* data, int width, int height, in GradientFilter_C() argument
[all …]
A Dfilters_mips_dsp_r2.c31 assert(height > 0); \
33 assert(row >= 0 && num_rows > 0 && row + num_rows <= height); \
34 (void)height; // Silence unused warning.
196 int width, int height, in DoHorizontalFilter_MIPSdspR2() argument
224 int width, int height, in HorizontalFilter_MIPSdspR2() argument
226 DoHorizontalFilter_MIPSdspR2(data, width, height, stride, 0, height, in HorizontalFilter_MIPSdspR2()
244 int width, int height, in DoVerticalFilter_MIPSdspR2() argument
274 static void VerticalFilter_MIPSdspR2(const uint8_t* data, int width, int height, in VerticalFilter_MIPSdspR2() argument
276 DoVerticalFilter_MIPSdspR2(data, width, height, stride, 0, height, in VerticalFilter_MIPSdspR2()
314 int width, int height, int stride, in DoGradientFilter_MIPSdspR2() argument
[all …]
/AliOS-Things-master/components/py_engine/engine/drivers/display/
A Dssd1306.py30 def __init__(self, width, height, external_vcc): argument
32 self.height = height
34 self.pages = self.height // 8
36 super().__init__(self.buffer, self.width, self.height, framebuf.MONO_VLSB)
49 self.height - 1,
54 0x02 if self.width > 2 * self.height else 0x12,
113 def __init__(self, width, height, i2c, addr=0x3C, external_vcc=False): argument
118 super().__init__(width, height, external_vcc)
131 def __init__(self, width, height, spi, dc, res, cs, external_vcc=False): argument
147 super().__init__(width, height, external_vcc)
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/
A Dencode.h50 int width, int height, int stride,
53 int width, int height, int stride,
56 int width, int height, int stride,
59 int width, int height, int stride,
66 int width, int height, int stride,
69 int width, int height, int stride,
72 int width, int height, int stride,
75 int width, int height, int stride,
401 int width, int height,
425 int left, int top, int width, int height);
[all …]
A Ddecode.h52 int* width, int* height);
60 int* width, int* height);
64 int* width, int* height);
68 int* width, int* height);
73 int* width, int* height);
77 int* width, int* height);
90 int* width, int* height,
205 int width, height; // Dimensions. member
353 int* width, int* height, int* stride);
367 int* width, int* height, int* stride, int* uv_stride) { in WebPIDecGetYUV() argument
[all …]
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/
A Dencode.h50 int width, int height, int stride,
53 int width, int height, int stride,
56 int width, int height, int stride,
59 int width, int height, int stride,
66 int width, int height, int stride,
69 int width, int height, int stride,
72 int width, int height, int stride,
75 int width, int height, int stride,
401 int width, int height,
425 int left, int top, int width, int height);
[all …]
A Ddecode.h52 int* width, int* height);
60 int* width, int* height);
64 int* width, int* height);
68 int* width, int* height);
73 int* width, int* height);
77 int* width, int* height);
90 int* width, int* height,
205 int width, height; // Dimensions. member
353 int* width, int* height, int* stride);
367 int* width, int* height, int* stride, int* uv_stride) { in WebPIDecGetYUV() argument
[all …]
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/
A Dencode.h50 int width, int height, int stride,
53 int width, int height, int stride,
56 int width, int height, int stride,
59 int width, int height, int stride,
66 int width, int height, int stride,
69 int width, int height, int stride,
72 int width, int height, int stride,
75 int width, int height, int stride,
401 int width, int height,
425 int left, int top, int width, int height);
[all …]
A Ddecode.h52 int* width, int* height);
60 int* width, int* height);
64 int* width, int* height);
68 int* width, int* height);
73 int* width, int* height);
77 int* width, int* height);
90 int* width, int* height,
205 int width, height; // Dimensions. member
353 int* width, int* height, int* stride);
367 int* width, int* height, int* stride, int* uv_stride) { in WebPIDecGetYUV() argument
[all …]
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandwindow.c79 height = SDL_min(height, window->max_h); in handle_configure_wl_shell_surface()
81 height = SDL_max(height, window->min_h); in handle_configure_wl_shell_surface()
88 wind->resize.height = height; in handle_configure_wl_shell_surface()
156 int32_t height, in handle_configure_zxdg_toplevel() argument
186 height = SDL_min(height, window->max_h); in handle_configure_zxdg_toplevel()
188 height = SDL_max(height, window->min_h); in handle_configure_zxdg_toplevel()
203 wind->resize.height = height; in handle_configure_zxdg_toplevel()
266 int32_t height, in handle_configure_xdg_toplevel() argument
296 height = SDL_min(height, window->max_h); in handle_configure_xdg_toplevel()
298 height = SDL_max(height, window->min_h); in handle_configure_xdg_toplevel()
[all …]

Completed in 82 milliseconds

12345678910>>...20