Home
last modified time | relevance | path

Searched refs:color_count (Results 1 – 25 of 675) sorted by path

12345678910>>...27

/dports/audio/py-fmoo-audiotools/audiotools-3.0/audiotools/
H A D__init__.py3609 color_depth, color_count, description, type):
3632 assert(isinstance(color_count, int))
3641 self.color_count = color_count
3715 color_count=img.color_count,
H A Dflac.py1198 width, height, color_depth, color_count, data):
1218 assert(isinstance(color_count, int))
1227 Image.__setattr__(self, "color_count", color_count)
1240 self.color_count,
1320 u" color count = %d" % (self.color_count),
1333 color_count = reader.read(32)
1342 color_count=color_count,
1358 writer.write(32, self.color_count)
1386 color_count=image.color_count,
1427 (self.color_count != img.color_count))):
[all …]
H A Did3.py982 width=0, height=0, color_depth=0, color_count=0,
990 self.color_count = metrics.color_count
1613 width=0, height=0, color_depth=0, color_count=0,
1620 self.color_count = metrics.color_count
H A Dimage.py71 self.color_count = color_count
79 repr(self.color_count),
196 color_count=0)
201 color_count=0)
215 color_count=0)
220 color_count=0)
268 color_count=colors_used)
283 def __init__(self, width, height, color_count): argument
385 color_count = 0
394 color_count = len(tag_values) // 3
[all …]
H A Dm4a_atoms.py1812 color_count=img.color_count,
/dports/audio/py-fmoo-audiotools/audiotools-3.0/docs/programming/source/
H A Daudiotools.rst997 .. class:: Image(data, mime_type, width, height, color_depth, color_count, description, type)
1022 .. data:: Image.color_count
H A Dmetadata.rst580 …: Flac_PICTURE(picture_type, mime_type, description, width, height, color_depth, color_count, data)
611 ``color_count`` is an integer number of colors for images
/dports/audio/py-fmoo-audiotools/audiotools-3.0/test/
H A Dtest_core.py661 self.assertEqual(img.color_count, self.colors)
6636 self.assertEqual(jpeg.color_count, 0)
6644 self.assertEqual(png1.color_count, 0)
6652 self.assertEqual(png2.color_count, 1)
6660 self.assertEqual(gif.color_count, 2)
6668 self.assertEqual(bmp.color_count, 0)
6676 self.assertEqual(tiff.color_count, 0)
H A Dtest_metadata.py4238 self.assertEqual(image.color_count, 10)
4250 self.assertEqual(image.color_count, 1)
H A Dtest_utils.py3444 good_count = image.color_count
3452 image.color_count = 0
3465 self.assertEqual(image.color_count, 0)
3480 self.assertEqual(image.color_count, good_count)
3685 bad_image.color_count = 0
3719 bad_image.color_count = 0
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/image-0.23.12/src/codecs/ico/
H A Ddecoder.rs119 color_count: u8,
155 entry.color_count = r.read_u8()?;
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/examples/
H A Dpeleenetssd_seg.cpp93 const int color_count = sizeof(color) / sizeof(int); in draw_objects() local
150 if (color_index < color_count) in draw_objects()
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/python/examples/
H A Dpeleenetssd.py24 color_count = len(color)
88 if color_index < color_count:
/dports/biology/avida/avida-2.12.4-src/apps/viewer-macos/src/viewer-core/
H A DMapScaleView.h42 Apto::Array<int> color_count; variable
H A DMapScaleView.mm117 if (color_count[i + Avida::CoreView::MAP_RESERVED_COLORS] == 0) {
170 color_count = state->GetColorCounts();
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/kernel/
H A Dqapplication_x11.cpp1726 X11->color_count = 0; in qt_init()
1827 X11->color_count = qMax(0,atoi(argv[i])); in qt_init()
H A Dqt_x11_p.h499 int color_count; member
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/painting/
H A Dqcolormap_x11.cpp352 int color_count = X11->color_count; in initialize() local
379 color_count = 216; in initialize()
476 if (color_count != 0) in initialize()
477 d->r_max = d->g_max = d->b_max = color_count; in initialize()
500 if (color_count != 0) in initialize()
501 d->r_max = d->g_max = d->b_max = cube_root(color_count); in initialize()
/dports/databases/pgmodeler/pgmodeler-0.9.3-beta/libpgmodeler_ui/src/
H A Dcolorpickerwidget.cpp22 ColorPickerWidget::ColorPickerWidget(int color_count, QWidget * parent) : QWidget(parent) in ColorPickerWidget() argument
33 if(color_count==0) in ColorPickerWidget()
34 color_count=1; in ColorPickerWidget()
35 else if(color_count > MaxColorButtons) in ColorPickerWidget()
36 color_count=MaxColorButtons; in ColorPickerWidget()
41 for(int i=0; i < color_count; i++) in ColorPickerWidget()
H A Dcolorpickerwidget.h58 explicit ColorPickerWidget(int color_count, QWidget * parent = nullptr);
H A Dtagwidget.cpp29 unsigned color_count=1; in TagWidget() local
34 if(color_count==1 && attr!=Attributes::TableName && attr!=Attributes::TableSchemaName) in TagWidget()
35 color_count=3; in TagWidget()
37 color_pickers[attr]=new ColorPickerWidget(color_count, this); in TagWidget()
48 unsigned color_count=1, i; in setAttributes() local
57 if(color_count==1 && attr!=Attributes::TableName && attr!=Attributes::TableSchemaName) in setAttributes()
58 color_count=3; in setAttributes()
60 for(i=0; i < color_count; i++) in setAttributes()
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/plugins/platforms/xcb/nativepainting/
H A Dqcolormap_x11.cpp337 int color_count = X11->color_count; in initialize() local
453 if (color_count != 0) in initialize()
454 d->r_max = d->g_max = d->b_max = color_count; in initialize()
477 if (color_count != 0) in initialize()
478 d->r_max = d->g_max = d->b_max = cube_root(color_count); in initialize()
H A Dqt_x11_p.h143 int color_count = 0; member
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/plugins/platforms/xcb/nativepainting/
H A Dqcolormap_x11.cpp337 int color_count = X11->color_count; in initialize() local
453 if (color_count != 0) in initialize()
454 d->r_max = d->g_max = d->b_max = color_count; in initialize()
477 if (color_count != 0) in initialize()
478 d->r_max = d->g_max = d->b_max = cube_root(color_count); in initialize()
H A Dqt_x11_p.h143 int color_count = 0; member

12345678910>>...27