Searched refs:colorSpace (Results 26 - 50 of 69) sorted by path

123

/haiku/src/tests/kits/interface/flatten_picture/
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);
H A DPictureTestWindow.h38 void RunTests(int32 testIndex, color_space colorSpace);
/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/private/interface/
H A DPictureDataWriter.h118 const int32& colorSpace,
/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;
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant_protos.h83 uint32 intel_overlay_supported_features(uint32 colorSpace);
H A Doverlay.cpp338 intel_overlay_supported_features(uint32 colorSpace) argument
348 intel_allocate_overlay_buffer(color_space colorSpace, uint16 width, argument
351 TRACE("%s(width %u, height %u, colorSpace %lu)\n", __func__, width,
352 height, colorSpace);
357 switch (colorSpace) {
387 buffer->space = colorSpace;
/haiku/src/add-ons/accelerants/s3/
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/accelerants/vesa/
H A Daccelerant_protos.h51 uint16 hotY, color_space colorSpace, uint16 bytesPerRow,
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/add-ons/media/plugins/ffmpeg/
H A DUtilities.h192 \param colorSpace The Media Kit color space the video frame uses.
199 CalculateBytesPerRowWithColorSpaceAndVideoWidth(color_space colorSpace, int videoWidth) argument
208 if (get_pixel_size_for(colorSpace, &pixelChunk, &rowAlignment, &pixelsPerChunk) != B_OK)
H A Dgfx_util.cpp29 resolve_colorspace(color_space colorSpace, AVPixelFormat pixelFormat, int width, argument
34 switch (colorSpace) {
/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...]
/haiku/src/apps/diskprobe/
H A DTypeEditors.cpp1053 const char *colorSpace; local
1057 colorSpace = B_TRANSLATE("Grayscale");
1060 colorSpace = B_TRANSLATE("8 bit palette");
1066 colorSpace = B_TRANSLATE("32 bit");
1072 colorSpace = B_TRANSLATE("15 bit");
1076 colorSpace = B_TRANSLATE("16 bit");
1079 colorSpace = B_TRANSLATE("Unknown format");
1085 colorSpace);
/haiku/src/apps/magnify/
H A DMagnify.cpp1313 color_space colorSpace = BScreen(Window()).ColorSpace(); local
1325 fImageView->SetSpace(colorSpace);
1327 fImageView = new TOSMagnify(r, this, colorSpace);
1330 fImageBuf = new BBitmap(r, colorSpace, true);
/haiku/src/apps/remotedesktop/
H A DRemoteView.cpp779 color_space colorSpace; local
784 message.Read(colorSpace);
792 if (message.ReadBitmap(&bitmap, true, colorSpace,
/haiku/src/build/libbe/interface/
H A DBitmap.cpp171 \param colorSpace The color space.
177 get_raw_bytes_per_row(color_space colorSpace, int32 width) argument
180 switch (colorSpace) {
238 \param colorSpace The color space.
244 get_bytes_per_row(color_space colorSpace, int32 width) argument
246 int32 bpr = get_raw_bytes_per_row(colorSpace, width);
1430 \param colorSpace The bitmap's color space.
1436 BBitmap::BBitmap(BRect bounds, uint32 flags, color_space colorSpace, argument
1450 InitObject(bounds, colorSpace, flags, bytesPerRow, screenID);
1456 \param colorSpace Th
1463 BBitmap(BRect bounds, color_space colorSpace, bool acceptsViews, bool needsContiguous) argument
1751 SetBits(const void *data, int32 length, int32 offset, color_space colorSpace) argument
1804 ImportBits(const void *data, int32 length, int32 bpr, int32 offset, color_space colorSpace) argument
2042 InitObject(BRect bounds, color_space colorSpace, uint32 flags, int32 bytesPerRow, screen_id screenID) argument
[all...]
/haiku/src/kits/game/
H A DWindowScreen.cpp930 uint32 colorSpace; local
931 if (!BPrivate::get_mode_parameter(space, width, height, colorSpace))
935 if (fModeList[i].space == 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...]
H A DIcon.cpp152 BIcon::CreateBitmap(const BRect& bounds, color_space colorSpace, uint32 which) argument
154 BBitmap* bitmap = new(std::nothrow) BBitmap(bounds, colorSpace);
H A DInterfaceDefs.cpp216 /*! Fills the \a width, \a height, and \a colorSpace parameters according
222 uint32& colorSpace)
231 colorSpace = B_CMAP8;
240 colorSpace = B_RGB15;
249 colorSpace = B_RGB16;
258 colorSpace = B_RGB32;
221 get_mode_parameter(uint32 mode, int32& width, int32& height, uint32& colorSpace) argument
H A DPictureDataWriter.cpp672 const int32& colorSpace, const int32& flags, const void* data,
684 Write<int32>(colorSpace);
670 WriteDrawBitmap(const BRect& srcRect, const BRect& dstRect, const int32& width, const int32& height, const int32& bytesPerRow, const int32& colorSpace, const int32& flags, const void* data, const int32& length) argument
H A DPicturePlayer.cpp1250 const uint32* colorSpace; local
1257 || !reader.Get(colorSpace) || !reader.Get(flags)
1263 *width, *height, *bytesPerRow, (color_space)*colorSpace,

Completed in 301 milliseconds

123