Home
last modified time | relevance | path

Searched refs:bit_depth (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/gd/libgd/
H A Dgd_png.c130 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-src/ext/standard/libavifinfo/
H A Davifinfo.c154 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 Davifinfo.h39 uint32_t bit_depth; // Likely 8, 10 or 12 bits per channel per pixel. member
/php-src/ext/standard/
H A Dimage.c577 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 21 milliseconds