Home
last modified time | relevance | path

Searched refs:pixel_depth (Results 1 - 18 of 18) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_siti.c52 int pixel_depth; member
123 s->pixel_depth = max_pixsteps[0]; in config_input()
126 pixel_sz = s->pixel_depth == 1 ? sizeof(uint8_t) : sizeof(uint16_t); in config_input()
181 int stride = linesize / s->pixel_depth; in convolve_sobel()
183 int factor = s->pixel_depth == 1 ? 1 : 4; in convolve_sobel()
207 if (s->pixel_depth == 2) { in convolve_sobel()
218 int stride = linesize / s->pixel_depth; in calculate_motion()
224 int factor = s->pixel_depth == 1 ? 1 : 4; in calculate_motion()
245 if (s->pixel_depth == 2) { in calculate_motion()
H A Dvf_owdenoise.c51 int pixel_depth; member
198 if (s->pixel_depth <= 8) { in filter()
230 if (s->pixel_depth <= 8) { in filter()
325 s->pixel_depth = desc->comp[0].depth; in config_input()
/third_party/skia/third_party/externals/libpng/
H A Dpngpread.c273 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth, in png_push_read_chunk()
280 (uInt) PNG_ROWBYTES(png_ptr->pixel_depth, in png_push_read_chunk()
656 png_ptr->transformed_pixel_depth = row_info.pixel_depth; in png_push_process_row_x2()
657 if (row_info.pixel_depth > png_ptr->maximum_pixel_depth) in png_push_process_row_x2()
694 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_multi_rows()
776 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth, in png_process_IDAT_data()
779 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth, in png_process_IDAT_data()
875 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_row()
[all...]
H A Dpngrtran.c2125 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * in png_read_transform_info()
2128 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info()
2237 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack()
2439 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_scale_16_to_8()
2467 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_chop()
2703 row_info->pixel_depth = 16; in png_do_read_filler()
2718 row_info->pixel_depth = 16; in png_do_read_filler()
2741 row_info->pixel_depth = 32; in png_do_read_filler()
2758 row_info->pixel_depth = 32; in png_do_read_filler()
2782 row_info->pixel_depth in png_do_read_filler()
[all...]
H A Dpngrutil.c901 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * png_ptr->channels); in png_handle_IHDR()
902 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); in png_handle_IHDR()
3201 unsigned int pixel_depth = png_ptr->transformed_pixel_depth; in png_combine_row() local
3214 if (pixel_depth == 0) in png_combine_row()
3222 PNG_ROWBYTES(pixel_depth, row_width)) in png_combine_row()
3233 end_mask = (pixel_depth * row_width) & 7; in png_combine_row()
3237 end_ptr = dp + PNG_ROWBYTES(pixel_depth, row_width) - 1; in png_combine_row()
3269 if (pixel_depth < 8) in png_combine_row()
3400 png_uint_32 pixels_per_byte = 8 / pixel_depth; in png_combine_row()
3405 mask = MASK(pass, pixel_depth, displa in png_combine_row()
[all...]
H A Dpngread.c409 row_info.pixel_depth = png_ptr->pixel_depth; in png_read_row()
410 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_read_row()
583 png_ptr->transformed_pixel_depth = row_info.pixel_depth; in png_read_row()
584 if (row_info.pixel_depth > png_ptr->maximum_pixel_depth) in png_read_row()
588 else if (png_ptr->transformed_pixel_depth != row_info.pixel_depth) in png_read_row()
723 png_ptr->transformed_pixel_depth = row_info.pixel_depth; in png_read_two_rows()
724 if (row_info.pixel_depth > png_ptr->maximum_pixel_depth) in png_read_two_rows()
728 else if (png_ptr->transformed_pixel_depth != row_info.pixel_depth) in png_read_two_rows()
765 png_ptr->transformed_pixel_depth = row_info.pixel_depth; in png_read_two_rows()
[all...]
H A Dpngtrans.c527 row_info->pixel_depth = 8; in png_do_strip_channel()
544 row_info->pixel_depth = 16; in png_do_strip_channel()
575 row_info->pixel_depth = 24; in png_do_strip_channel()
595 row_info->pixel_depth = 48; in png_do_strip_channel()
706 * an 'int' because pixel_depth becomes an 'int' in the expression below, in png_do_check_palette_indexes()
710 int padding = PNG_PADBITS(row_info->pixel_depth, row_info->width); in png_do_check_palette_indexes()
H A Dpnginfo.h76 png_byte pixel_depth; /* number of bits per pixel */ member
H A Dpngwutil.c219 unsigned int pd = png_ptr->pixel_depth; in png_image_size()
805 png_ptr->pixel_depth = (png_byte)(bit_depth * png_ptr->channels); in png_write_IHDR()
806 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); in png_write_IHDR()
1921 png_ptr->transformed_pixel_depth = png_ptr->pixel_depth; in png_write_start_row()
2112 switch (row_info->pixel_depth) in png_do_write_interlace()
2237 pixel_bytes = (row_info->pixel_depth >> 3); in png_do_write_interlace()
2262 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_write_interlace()
2565 bpp = (row_info->pixel_depth + 7) >> 3; in png_write_find_filter()
H A Dpngwtran.c156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); in png_do_pack()
157 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_pack()
520 /* png_byte pixel_depth; bits per pixel (depth*channels) */ in png_do_write_transformations()
H A Dpngwrite.c831 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); in png_write_row()
832 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_write_row()
838 png_debug1(3, "row_info->pixel_depth = %d", row_info.pixel_depth); in png_write_row()
868 if (row_info.pixel_depth != png_ptr->pixel_depth || in png_write_row()
869 row_info.pixel_depth != png_ptr->transformed_pixel_depth) in png_write_row()
H A Dpngstruct.h264 png_byte pixel_depth; /* number of bits per pixel */ member
H A Dpngset.c288 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); in png_set_IHDR()
290 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, width); in png_set_IHDR()
H A Dpng.h761 png_byte pixel_depth; /* bits per pixel (depth * channels) */ member
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dmakepng.c215 int pixel_depth = pixel_depth_of_type(color_type, bit_depth); in image_size_of_type() local
219 if (pixel_depth <= 8) /* there will be one row */ in image_size_of_type()
220 return 1 << pixel_depth; in image_size_of_type()
226 else if (pixel_depth < 8) in image_size_of_type()
229 else if (pixel_depth > 16) in image_size_of_type()
401 unsigned int pixel_depth = pixel_depth_of_type(color_type, bit_depth); in generate_row() local
407 switch (pixel_depth) in generate_row()
504 assert(size_max == 255 && rowbytes == 256*(pixel_depth>>3)); in generate_row()
505 pixel_depth >>= 3; /* now in bytes */ in generate_row()
508 const size_t pixel_index = --rowbytes/pixel_depth; in generate_row()
827 unsigned int pixel_depth = write_png() local
[all...]
/third_party/backends/backend/
H A Dmustek_usb_low.c118 chip->pixel_depth = 0x00; in usb_low_init()
1445 chip->pixel_depth = pattern & 0xe0; in usb_low_get_a16()
1506 data = chip->pixel_depth | chip->image_invert | chip->optical_600 in usb_low_set_image_dpi()
1533 chip->pixel_depth = 0x00; in usb_low_set_pixel_depth()
1537 chip->pixel_depth = 0x80; in usb_low_set_pixel_depth()
1540 chip->pixel_depth = 0xc0; in usb_low_set_pixel_depth()
1543 chip->pixel_depth = 0x00; in usb_low_set_pixel_depth()
1546 chip->pixel_depth = 0x20; in usb_low_set_pixel_depth()
1552 data = chip->pixel_depth | chip->image_invert | chip->optical_600 in usb_low_set_pixel_depth()
1582 data = chip->pixel_depth | chi in usb_low_invert_image()
[all...]
H A Dmustek_usb_low.h152 SANE_Byte pixel_depth; member
/third_party/astc-encoder/Source/
H A Dastcenccli_image_load_store.cpp893 uint32_t pixel_depth; // must be 0 for 1D, 2D and cubemap textures. member
916 REV(pixel_depth); in ktx_header_switch_endianness()
1178 unsigned int dim_z = astc::max(hdr.pixel_depth, 1u); in load_ktx_uncompressed_image()
1369 img.dim_z = hdr.pixel_depth == 0 ? 1 : hdr.pixel_depth; in load_ktx_compressed_image()
1406 hdr.pixel_depth = (img.dim_z == 1) ? 0 : img.dim_z; in store_ktx_compressed_image()
1485 hdr.pixel_depth = (dim_z == 1) ? 0 : dim_z; in store_ktx_uncompressed_image()

Completed in 34 milliseconds