/dports/multimedia/vlc/vlc-3.0.16/src/misc/ |
H A D | image.c | 85 if( !p_image ) in image_HandlerCreate() 98 return p_image; in image_HandlerCreate() 109 if( p_image->p_dec ) DeleteDecoder( p_image->p_dec ); in image_HandlerDelete() 110 if( p_image->p_enc ) DeleteEncoder( p_image->p_enc ); in image_HandlerDelete() 111 if( p_image->p_filter ) DeleteFilter( p_image->p_filter ); in image_HandlerDelete() 116 p_image = NULL; in image_HandlerDelete() 162 p_image->p_dec->p_queue_ctx = p_image; in ImageRead() 170 p_image->p_dec->pf_decode( p_image->p_dec, NULL ); in ImageRead() 253 p_image->p_filter->fmt_in = p_image->p_dec->fmt_out; in ImageRead() 254 p_image->p_filter->fmt_out = p_image->p_dec->fmt_out; in ImageRead() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/modules/squish/ |
H A D | image_compress_squish.cpp | 42 void image_decompress_squish(Image *p_image) { in image_decompress_squish() argument 43 int w = p_image->get_width(); in image_decompress_squish() 44 int h = p_image->get_height(); in image_decompress_squish() 48 int mm_count = p_image->get_mipmaps(); in image_decompress_squish() 80 …*p_image = Image(p_image->get_width(), p_image->get_height(), p_image->get_mipmaps(), target_forma… in image_decompress_squish() 83 void image_compress_squish(Image *p_image) { in image_compress_squish() argument 85 int w = p_image->get_width(); in image_compress_squish() 86 int h = p_image->get_height(); in image_compress_squish() 88 if (p_image->get_mipmaps() == 0) { in image_compress_squish() 119 int mm_count = p_image->get_mipmaps(); in image_compress_squish() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/modules/squish/ |
H A D | image_compress_squish.cpp | 42 void image_decompress_squish(Image *p_image) { in image_decompress_squish() argument 43 int w = p_image->get_width(); in image_decompress_squish() 44 int h = p_image->get_height(); in image_decompress_squish() 48 int mm_count = p_image->get_mipmaps(); in image_decompress_squish() 80 …*p_image = Image(p_image->get_width(), p_image->get_height(), p_image->get_mipmaps(), target_forma… in image_decompress_squish() 83 void image_compress_squish(Image *p_image) { in image_compress_squish() argument 85 int w = p_image->get_width(); in image_compress_squish() 86 int h = p_image->get_height(); in image_compress_squish() 88 if (p_image->get_mipmaps() == 0) { in image_compress_squish() 119 int mm_count = p_image->get_mipmaps(); in image_compress_squish() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/squish/ |
H A D | image_compress_squish.cpp | 35 void image_decompress_squish(Image *p_image) { in image_decompress_squish() argument 36 int w = p_image->get_width(); in image_decompress_squish() 37 int h = p_image->get_height(); in image_decompress_squish() 42 int mm_count = p_image->get_mipmap_count(); in image_decompress_squish() 67 …int dst_ofs = Image::get_image_mipmap_offset(p_image->get_width(), p_image->get_height(), target_f… in image_decompress_squish() 73 …p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format… in image_decompress_squish() 81 int w = p_image->get_width(); in image_compress_squish() 82 int h = p_image->get_height(); in image_compress_squish() 99 switch (p_image->get_format()) { in image_compress_squish() 192 int src_ofs = p_image->get_mipmap_offset(i); in image_compress_squish() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/modules/squish/ |
H A D | image_compress_squish.cpp | 35 void image_decompress_squish(Image *p_image) { in image_decompress_squish() argument 36 int w = p_image->get_width(); in image_decompress_squish() 37 int h = p_image->get_height(); in image_decompress_squish() 42 int mm_count = p_image->get_mipmap_count(); in image_decompress_squish() 67 …int dst_ofs = Image::get_image_mipmap_offset(p_image->get_width(), p_image->get_height(), target_f… in image_decompress_squish() 73 …p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format… in image_decompress_squish() 81 int w = p_image->get_width(); in image_compress_squish() 82 int h = p_image->get_height(); in image_compress_squish() 99 switch (p_image->get_format()) { in image_compress_squish() 192 int src_ofs = p_image->get_mipmap_offset(i); in image_compress_squish() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/editor/ |
H A D | pvrtc_compress.cpp | 49 _base_image_compress_pvrtc2_func(p_image); in _compress_image() 51 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 56 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 86 if (p_image->get_mipmaps() > 0) in _compress_image() 90 t->create_from_image(*p_image, 0); in _compress_image() 102 *p_image = t->get_data(); in _compress_image() 105 static void _compress_pvrtc2(Image *p_image) { in _compress_pvrtc2() argument 107 _compress_image(Image::COMPRESS_PVRTC2, p_image); in _compress_pvrtc2() 110 static void _compress_pvrtc4(Image *p_image) { in _compress_pvrtc4() argument 115 static void _compress_etc(Image *p_image) { in _compress_etc() argument [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/ |
H A D | pvrtc_compress.cpp | 49 _base_image_compress_pvrtc2_func(p_image); in _compress_image() 51 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 56 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 86 if (p_image->get_mipmaps() > 0) in _compress_image() 90 t->create_from_image(*p_image, 0); in _compress_image() 102 *p_image = t->get_data(); in _compress_image() 105 static void _compress_pvrtc2(Image *p_image) { in _compress_pvrtc2() argument 107 _compress_image(Image::COMPRESS_PVRTC2, p_image); in _compress_pvrtc2() 110 static void _compress_pvrtc4(Image *p_image) { in _compress_pvrtc4() argument 115 static void _compress_etc(Image *p_image) { in _compress_etc() argument [all …]
|
/dports/devel/godot/godot-3.2.3-stable/modules/cvtt/ |
H A D | image_compress_cvtt.cpp | 144 int w = p_image->get_width(); in image_compress_cvtt() 145 int h = p_image->get_height(); in image_compress_cvtt() 148 …bool is_hdr = (p_image->get_format() >= Image::FORMAT_RH) && (p_image->get_format() <= Image::FORM… in image_compress_cvtt() 179 p_image->convert(Image::FORMAT_RGBH); in image_compress_cvtt() 229 int src_ofs = p_image->get_mipmap_offset(i); in image_compress_cvtt() 279 …p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format… in image_compress_cvtt() 282 void image_decompress_cvtt(Image *p_image) { in image_decompress_cvtt() argument 304 int w = p_image->get_width(); in image_decompress_cvtt() 305 int h = p_image->get_height(); in image_decompress_cvtt() 311 int mm_count = p_image->get_mipmap_count(); in image_decompress_cvtt() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/cvtt/ |
H A D | image_compress_cvtt.cpp | 144 int w = p_image->get_width(); in image_compress_cvtt() 145 int h = p_image->get_height(); in image_compress_cvtt() 148 …bool is_hdr = (p_image->get_format() >= Image::FORMAT_RH) && (p_image->get_format() <= Image::FORM… in image_compress_cvtt() 179 p_image->convert(Image::FORMAT_RGBH); in image_compress_cvtt() 229 int src_ofs = p_image->get_mipmap_offset(i); in image_compress_cvtt() 279 …p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format… in image_compress_cvtt() 282 void image_decompress_cvtt(Image *p_image) { in image_decompress_cvtt() argument 304 int w = p_image->get_width(); in image_decompress_cvtt() 305 int h = p_image->get_height(); in image_decompress_cvtt() 311 int mm_count = p_image->get_mipmap_count(); in image_decompress_cvtt() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/editor/ |
H A D | pvrtc_compress.cpp | 44 static void _compress_image(Image::CompressMode p_mode, Image *p_image) { in _compress_image() argument 53 _base_image_compress_pvrtc2_func(p_image); in _compress_image() 55 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 59 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 95 if (p_image->has_mipmaps()) { in _compress_image() 101 t->create_from_image(Ref<Image>(p_image), 0); in _compress_image() 120 p_image->copy_internals_from(t->get_data()); in _compress_image() 127 static void _compress_pvrtc2(Image *p_image) { in _compress_pvrtc2() argument 129 _compress_image(Image::COMPRESS_PVRTC2, p_image); in _compress_pvrtc2() 132 static void _compress_pvrtc4(Image *p_image) { in _compress_pvrtc4() argument [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/editor/ |
H A D | pvrtc_compress.cpp | 44 static void _compress_image(Image::CompressMode p_mode, Image *p_image) { in _compress_image() argument 53 _base_image_compress_pvrtc2_func(p_image); in _compress_image() 55 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 59 _base_image_compress_pvrtc4_func(p_image); in _compress_image() 95 if (p_image->has_mipmaps()) { in _compress_image() 101 t->create_from_image(Ref<Image>(p_image), 0); in _compress_image() 120 p_image->copy_internals_from(t->get_data()); in _compress_image() 127 static void _compress_pvrtc2(Image *p_image) { in _compress_pvrtc2() argument 129 _compress_image(Image::COMPRESS_PVRTC2, p_image); in _compress_pvrtc2() 132 static void _compress_pvrtc4(Image *p_image) { in _compress_pvrtc4() argument [all …]
|
/dports/games/3omns/3omns-0.2/l3/ |
H A D | image.c | 30 b3_image **p_image = lua_newuserdata(l, sizeof(*p_image)); in push_new_image() local 33 return p_image; in push_new_image() 44 b3_image **p_image = push_new_image(l); in image_load() local 45 *p_image = b3_load_image(filename); in image_load() 59 b3_image **p_image = push_new_image(l); in image_sub() local 60 *p_image = b3_new_sub_image(image, &rect); in image_sub()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/libopenjpeg20/ |
H A D | 0026-use_opj_uint_ceildiv.patch | 49 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 52 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 54 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 56 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 57 + l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 58 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 59 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); 65 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 67 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 69 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); [all …]
|
H A D | 0025-opj_j2k_add_mct_null_data.patch | 5 @@ -6201,7 +6201,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 7 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps 8 * p_image->numcomps; 14 @@ -6222,7 +6222,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 17 p_image->numcomps;
|
H A D | 0036-opj_j2k_update_image_dimensions.patch | 5 @@ -9223,32 +9223,30 @@ static OPJ_BOOL opj_j2k_update_image_dimensions(opj_image_t* p_image, 7 l_img_comp = p_image->comps; 8 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 11 l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 12 l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 13 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 14 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy);
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/third_party/libopenjpeg20/ |
H A D | 0026-use_opj_uint_ceildiv.patch | 49 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 52 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 54 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 56 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 57 + l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 58 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 59 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); 65 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 67 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 69 + l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); [all …]
|
H A D | 0025-opj_j2k_add_mct_null_data.patch | 5 @@ -6201,7 +6201,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 7 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps 8 * p_image->numcomps; 14 @@ -6222,7 +6222,7 @@ static OPJ_BOOL opj_j2k_add_mct(opj_tcp_t * p_tcp, opj_image_t * p_image, 17 p_image->numcomps;
|
H A D | 0036-opj_j2k_update_image_dimensions.patch | 5 @@ -9223,32 +9223,30 @@ static OPJ_BOOL opj_j2k_update_image_dimensions(opj_image_t* p_image, 7 l_img_comp = p_image->comps; 8 for (it_comp = 0; it_comp < p_image->numcomps; ++it_comp) { 11 l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); 12 l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); 13 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); 14 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy);
|
/dports/devel/godot-tools/godot-3.2.3-stable/core/ |
H A D | image.h | 173 void _copy_internals_from(const Image &p_image) { in _copy_internals_from() argument 174 format = p_image.format; in _copy_internals_from() 175 width = p_image.width; in _copy_internals_from() 176 height = p_image.height; in _copy_internals_from() 177 mipmaps = p_image.mipmaps; in _copy_internals_from() 178 data = p_image.data; in _copy_internals_from() 365 format = p_image->format; in copy_internals_from() 366 width = p_image->width; in copy_internals_from() 367 height = p_image->height; in copy_internals_from() 368 mipmaps = p_image->mipmaps; in copy_internals_from() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/core/ |
H A D | image.h | 173 void _copy_internals_from(const Image &p_image) { in _copy_internals_from() argument 174 format = p_image.format; in _copy_internals_from() 175 width = p_image.width; in _copy_internals_from() 176 height = p_image.height; in _copy_internals_from() 177 mipmaps = p_image.mipmaps; in _copy_internals_from() 178 data = p_image.data; in _copy_internals_from() 365 format = p_image->format; in copy_internals_from() 366 width = p_image->width; in copy_internals_from() 367 height = p_image->height; in copy_internals_from() 368 mipmaps = p_image->mipmaps; in copy_internals_from() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/modules/svg/ |
H A D | image_loader_svg.cpp | 37 void SVGRasterizer::rasterize(NSVGimage *p_image, float p_tx, float p_ty, float p_scale, unsigned c… in rasterize() argument 38 nsvgRasterize(rasterizer, p_image, p_tx, p_ty, p_scale, p_dst, p_w, p_h, p_stride); in rasterize() 98 Error ImageLoaderSVG::_create_image(Ref<Image> p_image, const PoolVector<uint8_t> *p_data, float p_… in _create_image() argument 127 p_image->create(w, h, false, Image::FORMAT_RGBA8, dst_image); in _create_image() 129 p_image->shrink_x2(); in _create_image() 137 Error ImageLoaderSVG::create_image_from_string(Ref<Image> p_image, const char *p_svg_str, float p_s… in create_image_from_string() argument 145 return _create_image(p_image, &src_data, p_scale, upsample, convert_colors); in create_image_from_string() 148 Error ImageLoaderSVG::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_sc… in load_image() argument 157 return _create_image(p_image, &src_image, p_scale, 1.0); in load_image()
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/webp/ |
H A D | image_loader_webp.cpp | 41 static PoolVector<uint8_t> _webp_lossy_pack(const Ref<Image> &p_image, float p_quality) { in _webp_lossy_pack() argument 43 ERR_FAIL_COND_V(p_image.is_null() || p_image->empty(), PoolVector<uint8_t>()); in _webp_lossy_pack() 45 Ref<Image> img = p_image->duplicate(); in _webp_lossy_pack() 117 Error webp_load_image_from_buffer(Image *p_image, const uint8_t *p_buffer, int p_buffer_len) { in webp_load_image_from_buffer() argument 119 ERR_FAIL_NULL_V(p_image, ERR_INVALID_PARAMETER); in webp_load_image_from_buffer() 141 …p_image->create(features.width, features.height, 0, features.has_alpha ? Image::FORMAT_RGBA8 : Ima… in webp_load_image_from_buffer() 155 Error ImageLoaderWEBP::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_s… in load_image() argument 168 Error err = webp_load_image_from_buffer(p_image.ptr(), w.ptr(), src_image_len); in load_image()
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/svg/ |
H A D | image_loader_svg.cpp | 37 void SVGRasterizer::rasterize(NSVGimage *p_image, float p_tx, float p_ty, float p_scale, unsigned c… in rasterize() argument 38 nsvgRasterize(rasterizer, p_image, p_tx, p_ty, p_scale, p_dst, p_w, p_h, p_stride); in rasterize() 98 Error ImageLoaderSVG::_create_image(Ref<Image> p_image, const PoolVector<uint8_t> *p_data, float p_… in _create_image() argument 127 p_image->create(w, h, false, Image::FORMAT_RGBA8, dst_image); in _create_image() 129 p_image->shrink_x2(); in _create_image() 137 Error ImageLoaderSVG::create_image_from_string(Ref<Image> p_image, const char *p_svg_str, float p_s… in create_image_from_string() argument 145 return _create_image(p_image, &src_data, p_scale, upsample, convert_colors); in create_image_from_string() 148 Error ImageLoaderSVG::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_sc… in load_image() argument 157 return _create_image(p_image, &src_image, p_scale, 1.0); in load_image()
|
/dports/devel/godot/godot-3.2.3-stable/modules/webp/ |
H A D | image_loader_webp.cpp | 41 static PoolVector<uint8_t> _webp_lossy_pack(const Ref<Image> &p_image, float p_quality) { in _webp_lossy_pack() argument 43 ERR_FAIL_COND_V(p_image.is_null() || p_image->empty(), PoolVector<uint8_t>()); in _webp_lossy_pack() 45 Ref<Image> img = p_image->duplicate(); in _webp_lossy_pack() 117 Error webp_load_image_from_buffer(Image *p_image, const uint8_t *p_buffer, int p_buffer_len) { in webp_load_image_from_buffer() argument 119 ERR_FAIL_NULL_V(p_image, ERR_INVALID_PARAMETER); in webp_load_image_from_buffer() 141 …p_image->create(features.width, features.height, 0, features.has_alpha ? Image::FORMAT_RGBA8 : Ima… in webp_load_image_from_buffer() 155 Error ImageLoaderWEBP::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_s… in load_image() argument 168 Error err = webp_load_image_from_buffer(p_image.ptr(), w.ptr(), src_image_len); in load_image()
|
/dports/graphics/freeimage/FreeImage/Source/LibOpenJPEG/ |
H A D | opj_codec.h | 50 opj_image_t **p_image, 56 opj_image_t * p_image, 93 opj_image_t * p_image, 103 opj_image_t *p_image, 120 struct opj_image * p_image, 142 struct opj_image * p_image,
|