Searched refs:colorSpace (Results 1 - 25 of 69) sorted by relevance

123

/haiku/src/add-ons/accelerants/intel_810/
H A Di810_init.cpp23 I810_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel, argument
30 switch (colorSpace) {
41 TRACE("Unsupported color space: 0x%X\n", colorSpace);
/haiku/headers/private/interface/
H A DInterfacePrivate.h23 uint32& colorSpace);
24 int32 get_bytes_per_row(color_space colorSpace, int32 width);
H A DIcon.h34 color_space colorSpace, uint32 which);
/haiku/headers/os/interface/
H A DBitmap.h48 color_space colorSpace,
51 BBitmap(BRect bounds, color_space colorSpace,
61 color_space colorSpace,
89 color_space colorSpace);
91 int32 bpr, color_space colorSpace,
118 int32 offset, color_space colorSpace);
122 int32 bpr, color_space colorSpace,
140 color_space colorSpace, uint32 flags,
/haiku/headers/build/os/interface/
H A DBitmap.h38 BBitmap(BRect bounds, uint32 flags, color_space colorSpace,
41 BBitmap(BRect bounds, color_space colorSpace, bool acceptsViews = false,
66 color_space colorSpace);
70 int32 offset, color_space colorSpace);
89 void InitObject(BRect bounds, color_space colorSpace, uint32 flags,
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestWindow.h38 void RunTests(int32 testIndex, color_space colorSpace);
H A DPictureTest.h23 void SetColorSpace(color_space colorSpace) { fColorSpace = colorSpace; } argument
H A DPictureTestWindow.cpp156 color_space colorSpace = colorSpaces[csIndex]; local
158 switch (colorSpace) {
187 RunTests(testIndex, colorSpace);
192 PictureTestWindow::RunTests(int32 testIndex, color_space colorSpace) argument
209 test->SetColorSpace(colorSpace);
/haiku/src/servers/app/drawing/
H A DBitmapDrawingEngine.h16 color_space colorSpace = B_RGB32);
H A DBitmapDrawingEngine.cpp7 BitmapDrawingEngine::BitmapDrawingEngine(color_space colorSpace) argument
9 fColorSpace(colorSpace),
H A DOverlay.h41 void SetColorSpace(uint32 colorSpace);
/haiku/src/kits/interface/
H A DBitmap.cpp79 \param colorSpace The color space.
85 get_raw_bytes_per_row(color_space colorSpace, int32 width) argument
88 switch (colorSpace) {
149 \param colorSpace The color space.
155 get_bytes_per_row(color_space colorSpace, int32 width) argument
157 int32 bpr = get_raw_bytes_per_row(colorSpace, width);
172 \param colorSpace The bitmap's color space.
178 BBitmap::BBitmap(BRect bounds, uint32 flags, color_space colorSpace, argument
194 _InitObject(bounds, colorSpace, flags, bytesPerRow, screenID);
200 \param colorSpace Th
207 BBitmap(BRect bounds, color_space colorSpace, bool acceptsViews, bool needsContiguous) argument
311 BBitmap(area_id area, ptrdiff_t areaOffset, BRect bounds, uint32 flags, color_space colorSpace, int32 bytesPerRow, screen_id screenID) argument
655 SetBits(const void* data, int32 length, int32 offset, color_space colorSpace) argument
705 ImportBits(const void* data, int32 length, int32 bpr, int32 offset, color_space colorSpace) argument
752 ImportBits(const void* data, int32 length, int32 bpr, color_space colorSpace, BPoint from, BPoint to, BSize size) argument
777 ImportBits(const void* data, int32 length, int32 bpr, color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height) argument
1041 _InitObject(BRect bounds, color_space colorSpace, uint32 flags, int32 bytesPerRow, screen_id screenID, area_id area, ptrdiff_t areaOffset) argument
[all...]
/haiku/src/add-ons/accelerants/3dfx/
H A Doverlay.cpp37 OverlaySupportedFeatures(uint32 colorSpace) argument
39 (void)colorSpace; // avoid compiler warning for unused arg
48 AllocateOverlayBuffer(color_space colorSpace, uint16 width, uint16 height) argument
52 TRACE("AllocateOverlayBuffer() width %u, height %u, colorSpace 0x%lx\n",
53 width, height, colorSpace);
65 switch (colorSpace) {
73 colorSpace);
146 ovBuff->space = colorSpace;
/haiku/src/add-ons/accelerants/ati/
H A Doverlay.cpp37 OverlaySupportedFeatures(uint32 colorSpace) argument
39 (void)colorSpace; // avoid compiler warning for unused arg
48 AllocateOverlayBuffer(color_space colorSpace, uint16 width, uint16 height) argument
52 TRACE("AllocateOverlayBuffer() width %u, height %u, colorSpace 0x%lx\n",
53 width, height, colorSpace);
73 if (colorSpace != B_YCbCr422) {
76 colorSpace);
142 ovBuff->space = colorSpace;
H A Drage128_init.cpp33 Rage128_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel, uint32& maxPixelClock) argument
39 switch (colorSpace) {
53 TRACE("Unsupported color space: 0x%X\n", colorSpace);
H A Dmach64_init.cpp127 Mach64_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel, uint32& maxPixelClock) argument
135 switch (colorSpace) {
149 TRACE("Unsupported color space: 0x%X\n", colorSpace);
/haiku/src/servers/app/
H A DScreen.cpp109 Screen::SetMode(uint16 width, uint16 height, uint32 colorSpace, argument
114 mode.space = colorSpace;
126 Screen::SetBestMode(uint16 width, uint16 height, uint32 colorSpace, argument
138 int32 index = _FindBestMode(modes, count, width, height, colorSpace,
142 ", %g Hz%s) failed\n", width, height, colorSpace, frequency,
253 uint16 width, uint16 height, uint32 colorSpace, float frequency) const
266 + 100 * abs((int)(mode.space - colorSpace));
252 _FindBestMode(const display_mode* modes, uint32 count, uint16 width, uint16 height, uint32 colorSpace, float frequency) const argument
H A DServerBitmap.cpp135 color_space colorSpace)
141 bytesPerRow, fBytesPerRow, colorSpace, fSpace, fWidth, fHeight);
147 color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height)
153 bytesPerRow, fBytesPerRow, colorSpace, fSpace, from, to, width,
134 ImportBits(const void *bits, int32 bitsLength, int32 bytesPerRow, color_space colorSpace) argument
146 ImportBits(const void *bits, int32 bitsLength, int32 bytesPerRow, color_space colorSpace, BPoint from, BPoint to, int32 width, int32 height) argument
H A DServerBitmap.h76 int32 bytesPerRow, color_space colorSpace);
78 int32 bytesPerRow, color_space colorSpace,
/haiku/src/add-ons/accelerants/s3/
H A Dtrio64_init.cpp39 Trio64_GetColorSpaceParams(int colorSpace, uint32& bitsPerPixel, uint32& maxPixelClock) argument
45 switch (colorSpace) {
55 TRACE("Unsupported color space: 0x%X\n", colorSpace);
H A Dvirge_init.cpp47 Virge_GetColorSpaceParams(int colorSpace, uint32& bitsPerPixel, uint32& maxPixelClock) argument
57 switch (colorSpace) {
67 TRACE("Unsupported color space: 0x%X\n", colorSpace);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DVideoIn.cpp365 int CVideoIn::Capture(color_space colorSpace, void * bits, int bitsLength, argument
383 /*PRINT(("colorSpace:%x, bitsLength: %d, fBufferLength: %d, bytesPerRow: %d, fBufferBytesPerRow: %d\n",
384 colorSpace, bitsLength, fBufferLength, bytesPerRow, fBufferBytesPerRow ));*/
388 if (colorSpace == B_YCbCr422 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
392 else if (colorSpace == B_RGB32 && bitsLength <= 2 * fBufferLength && bytesPerRow == 2 * fBufferBytesPerRow) {
401 else if (colorSpace == B_RGB16 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
410 else if (colorSpace == B_RGB15 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
418 else if (colorSpace == B_GRAY8 && 2 * bitsLength <= fBufferLength && 2 * bytesPerRow == fBufferBytesPerRow) {
440 else if( colorSpace == B_NO_COLOR_SPACE ) {
/haiku/src/add-ons/accelerants/vesa/
H A Dhooks.cpp46 vesa_overlay_supported_features(uint32 colorSpace) argument
56 vesa_allocate_overlay_buffer(color_space colorSpace, uint16 width, argument
59 debug_printf("allocate_overlay_buffer(width %u, height %u, colorSpace %u)\n",
60 width, height, colorSpace);
66 buffer->space = colorSpace;
176 color_space colorSpace, uint16 bytesPerRow, const uint8* bitmapData)
175 vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX, uint16 hotY, color_space colorSpace, uint16 bytesPerRow, const uint8* bitmapData) argument
/haiku/src/kits/tracker/
H A DThumbnails.cpp91 ScaleBitmap(BBitmap* source, BBitmap& dest, BRect bounds, color_space colorSpace) argument
93 dest = BBitmap(bounds, colorSpace, true);
116 ScaleBitmap(BBitmap* source, BBitmap& dest, BSize size, color_space colorSpace) argument
118 return ScaleBitmap(source, dest, BRect(BPoint(0, 0), size), colorSpace);
125 BSize requestedSize, color_space colorSpace)
129 fColorSpace(colorSpace)
269 GenerateThumbnail(Model* model, color_space colorSpace, BSize size) argument
290 *file, size, colorSpace);
124 GenerateThumbnailJob(Model* model, const BFile& file, BSize requestedSize, color_space colorSpace) argument
/haiku/src/add-ons/translators/gif/
H A DGIFSave.cpp52 color_space colorSpace = bitmap->ColorSpace(); local
53 if (colorSpace != B_RGB32 && colorSpace != B_RGBA32
54 && colorSpace != B_RGB32_BIG && colorSpace != B_RGBA32_BIG) {
533 color_space colorSpace = bitmap->ColorSpace(); local
534 bool useAlphaForTransparency = colorSpace == B_RGBA32_BIG
536 && colorSpace == B_RGBA32);
542 if (colorSpace == B_RGB32 || colorSpace
[all...]

Completed in 105 milliseconds

123