[haiku-commits] haiku: hrev52689 - headers/os/codec

  • From: Barrett17 <b.vitruvio@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 26 Dec 2018 07:06:13 -0500 (EST)

hrev52689 adds 1 changeset to branch 'master'
old head: 3b5e6232de6c54eddf6d9f07d27d7f63380e3a13
new head: 30d69e3f5e273ec95ab4e8715bf6316b00965a38
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=30d69e3f5e27+%5E3b5e6232de6c

----------------------------------------------------------------------------

30d69e3f5e27: BMetaData: Add missing stuff to describe a media format
  
  * We will need those for BMediaFormatBuilder.

                                        [ Barrett17 <b.vitruvio@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52689
Commit:      30d69e3f5e273ec95ab4e8715bf6316b00965a38
URL:         https://git.haiku-os.org/haiku/commit/?id=30d69e3f5e27
Author:      Barrett17 <b.vitruvio@xxxxxxxxx>
Date:        Wed Dec 26 11:31:07 2018 UTC

----------------------------------------------------------------------------

1 file changed, 17 insertions(+)
headers/os/codec/MetaData.h | 17 +++++++++++++++++

----------------------------------------------------------------------------

diff --git a/headers/os/codec/MetaData.h b/headers/os/codec/MetaData.h
index 4242200977..6afa0b263d 100644
--- a/headers/os/codec/MetaData.h
+++ b/headers/os/codec/MetaData.h
@@ -33,6 +33,23 @@ extern const char* kVideoWidth;                      // int32
 extern const char* kNumTracks;                 // int32
 extern const char* kDrmCrippled;               // bool
 
+// Stuff needed to fully describe the BMediaFormat
+extern const char* kMediaType;                 // media_type
+// Audio stuff
+extern const char* kChannelCount;              // int32
+extern const char* kAudioFormat;               // int32
+extern const char* kByteOrder;                 // int32
+extern const char* kBufferSize;                        // size_t
+// This is also BMediaFormat stuff, but mostly video
+// NOTE: video width/height are defined as per RFC mentioned above
+extern const char* kLineWidth;                 // int32
+extern const char* kLineCount;                 // int32
+extern const char* kBytesPerRow;               // int32
+extern const char* kPixelOffset;               // int32
+extern const char* kLineOffset;                        // int32
+extern const char* kColorSpace;                        // color_space
+extern const char* kOrientation;               // int32
+
 // General use attributes
 extern const char* kTitle;                             // BString
 extern const char* kComment;                   // BString


Other related posts:

  • » [haiku-commits] haiku: hrev52689 - headers/os/codec - Barrett17