Searched refs:bit_depth (Results 1 – 4 of 4) sorted by relevance
/PHP-8.3/ext/gd/libgd/ |
H A D | gd_png.c | 130 int bit_depth, color_type, interlace_type, unit_type; in gdImageCreateFromPngCtx() local 213 if (bit_depth == 16) { in gdImageCreateFromPngCtx() 215 } else if (bit_depth < 8) { in gdImageCreateFromPngCtx() 282 if (bit_depth < 8) { in gdImageCreateFromPngCtx() 283 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx() 296 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx() 491 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local 591 bit_depth = 1; in gdImagePngCtxEx() 593 bit_depth = 2; in gdImagePngCtxEx() 595 bit_depth = 4; in gdImagePngCtxEx() [all …]
|
/PHP-8.3/ext/standard/libavifinfo/ |
H A D | avifinfo.c | 154 uint8_t bit_depth, num_channels; member 189 if (f->primary_item_features.bit_depth != AVIFINFO_UNDEFINED && in AvifInfoInternalGetItemFeatures() 198 if (f->primary_item_features.bit_depth == AVIFINFO_UNDEFINED || in AvifInfoInternalGetItemFeatures() 202 f->primary_item_features.bit_depth = f->chan_props[i].bit_depth; in AvifInfoInternalGetItemFeatures() 356 const uint32_t bit_depth = AvifInfoInternalReadBigEndian(data, 1); in ParseIpco() local 357 AVIFINFO_CHECK(bit_depth >= 1, kInvalid); in ParseIpco() 361 AVIFINFO_CHECK(AvifInfoInternalReadBigEndian(data, 1) == bit_depth, in ParseIpco() 366 box_index <= AVIFINFO_MAX_VALUE && bit_depth <= AVIFINFO_MAX_VALUE && in ParseIpco() 370 features->chan_props[features->num_chan_props].bit_depth = bit_depth; in ParseIpco() 396 features->chan_props[features->num_chan_props].bit_depth = in ParseIpco()
|
H A D | avifinfo.h | 39 uint32_t bit_depth; // Likely 8, 10 or 12 bits per channel per pixel. member
|
/PHP-8.3/ext/standard/ |
H A D | image.c | 577 int highest_bit_depth, bit_depth; in php_handle_jpc() local 627 bit_depth = php_stream_getc(stream); /* Ssiz[i] */ in php_handle_jpc() 628 bit_depth++; in php_handle_jpc() 629 if (bit_depth > highest_bit_depth) { in php_handle_jpc() 630 highest_bit_depth = bit_depth; in php_handle_jpc() 1191 result->bits = features.bit_depth; in php_handle_avif()
|
Completed in 18 milliseconds