haiku/headers/os
Jérôme Duval bb187c91d8 interface: add colorspaces support for RGB48 and RGBA64
these colorspaces are packed as RGB or RGBA, not BGR or BGRA.
RGB48_BIG and RGBA64 only differ in the endianess of the channel the 2-byte value.

this is a big difference with RGB24_BIG and RGBA32_BIG, in which case _BIG
means the order is RGB (BGR) and not BGR (BGRA).
BGR48, BGRA64 could indeed be added, if needed.

I chose 0x11 and 0x12 arbitrarily, but given the order of channels 0x1011
and 0x1012 might make more sense. This would mean using another bit for "real"
bigendian colorspaces.

Only the color conversion to 32-bits is implemented.

Tested with the RAWTranslator modified to output 16bpp with success.

Found some references in enum AVPixelFormat in libavutil/pixfmt.h.

Change-Id: I4b023dec85d01f1e63e1b053139e5bb5d263a0e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4468
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-09-27 07:21:27 +00:00
..
add-ons GraphicsCard.h: remove declarations for dprintf and set_dprintf_enabled 2020-10-03 11:52:37 +00:00
app BCursor: add a constructor with bitmap and point 2020-10-08 08:23:31 +00:00
arch kernel/arch/user_debugger: implement for risv64 2021-08-06 15:42:49 +00:00
be_apps be_apps/ServicesDaemon: Remove. 2016-07-29 18:41:30 -04:00
bluetooth bluetooth: ioctls always pass size on Haiku. 2018-11-18 14:42:09 -05:00
device USB: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
drivers USB: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
game More build fixes. 2020-01-25 21:35:34 +01:00
interface interface: add colorspaces support for RGB48 and RGBA64 2021-09-27 07:21:27 +00:00
kernel headers: Fix B_CURRENT_IMAGE_SYMBOL for GCC2. 2021-09-15 11:38:20 -04:00
locale BCountry: add a GetPreferredLanguage method. 2021-07-21 07:20:39 +00:00
mail Migrate the BMailComponent docs to the Haiku Book. 2017-12-25 19:43:51 -05:00
media media: Declare wildcard fields const. 2021-09-14 20:43:29 +00:00
midi Fix clang warning "mismatched-tags" 2020-03-23 01:30:23 +00:00
midi2
net libnetapi.so: make headers of deprecated classes private 2021-01-27 19:53:11 +00:00
package package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
storage Remove Spurious B_BEOS_DATA_DIRECTORY 2017-05-08 22:17:53 +02:00
support BString: rewrite cleanup methods 2021-09-10 05:34:06 +00:00
translation Tracker: Add thumbnail support 2021-08-27 11:39:13 +00:00
AppKit.h
Be.h Patch by Jorma Karvonen: Add LocaleKit.h header and also add it to Be.h. Thanks! 2010-05-16 16:07:55 +00:00
BeBuild.h version: add BETA_3 and PRE_BETA_4 constraints. 2021-06-21 11:38:54 -05:00
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
LocaleKit.h Remove even more Locale Kit cruft. 2017-07-30 14:46:41 -04:00
MailKit.h
MediaKit.h Make BMediaRecorder public 2017-01-10 21:34:20 +01:00
MidiKit.h
NetKit.h
NetworkKit.h Added the new headers to the NetworkKit.h all-in-one header. 2010-10-27 14:16:19 +00:00
StorageKit.h
SupportKit.h
TranslationKit.h