Home
last modified time | relevance | path

Searched refs:stride_bytes (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_write.h1038 static void stbiw__encode_png_line(unsigned char *pixels, int stride_bytes, int width, int height, … in stbiw__encode_png_line() argument
1045 unsigned char *z = pixels + stride_bytes * (stbi__flip_vertically_on_write ? height-1-y : y); in stbiw__encode_png_line()
1046 int signed_stride = stbi__flip_vertically_on_write ? -stride_bytes : stride_bytes; in stbiw__encode_png_line()
1074 STBIWDEF unsigned char *stbi_write_png_to_mem(const unsigned char *pixels, int stride_bytes, int x,… in stbi_write_png_to_mem() argument
1083 if (stride_bytes == 0) in stbi_write_png_to_mem()
1084 stride_bytes = x * n; in stbi_write_png_to_mem()
1096 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, force_filter, line_buff… in stbi_write_png_to_mem()
1100 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, filter_type, line_buffe… in stbi_write_png_to_mem()
1113 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, best_filter, line_buffe… in stbi_write_png_to_mem()
1161 …nt stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_write.h1038 static void stbiw__encode_png_line(unsigned char *pixels, int stride_bytes, int width, int height, … in stbiw__encode_png_line() argument
1045 unsigned char *z = pixels + stride_bytes * (stbi__flip_vertically_on_write ? height-1-y : y); in stbiw__encode_png_line()
1046 int signed_stride = stbi__flip_vertically_on_write ? -stride_bytes : stride_bytes; in stbiw__encode_png_line()
1074 STBIWDEF unsigned char *stbi_write_png_to_mem(const unsigned char *pixels, int stride_bytes, int x,… in stbi_write_png_to_mem() argument
1083 if (stride_bytes == 0) in stbi_write_png_to_mem()
1084 stride_bytes = x * n; in stbi_write_png_to_mem()
1096 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, force_filter, line_buff… in stbi_write_png_to_mem()
1100 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, filter_type, line_buffe… in stbi_write_png_to_mem()
1113 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, best_filter, line_buffe… in stbi_write_png_to_mem()
1161 …nt stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dmx3fb.c539 uint32_t stride_bytes; in ipu_init_channel_buffer() local
541 stride_bytes = (panel.plnSizeX * panel.gdfBytesPP + 3) & ~3; in ipu_init_channel_buffer()
547 panel.plnSizeX, panel.plnSizeY, stride_bytes); in ipu_init_channel_buffer()
/OK3568_Linux_fs/kernel/drivers/dma/ipu/
H A Dipu_idmac.c663 uint32_t stride_bytes; in ipu_init_channel_buffer() local
665 stride_bytes = stride * bytes_per_pixel(pixel_fmt); in ipu_init_channel_buffer()
667 if (stride_bytes % 4) { in ipu_init_channel_buffer()
670 stride, stride_bytes); in ipu_init_channel_buffer()
681 ipu_ch_param_set_size(&params, pixel_fmt, width, height, stride_bytes); in ipu_init_channel_buffer()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dr100.c899 uint32_t stride_bytes = RADEON_GPU_PAGE_SIZE; in r100_copy_blit() local
907 stride_bytes &= 0x3fff; in r100_copy_blit()
909 pitch = stride_bytes / 64; in r100_copy_blit()
910 stride_pixels = stride_bytes / 4; in r100_copy_blit()