opusfile
0.4
Stand-alone decoder library for .opus files.
|
The contents of a METADATA_BLOCK_PICTURE tag. More...
#include <opusfile.h>
Data Fields | |
opus_int32 | type |
The picture type according to the ID3v2 APIC frame: | |
char * | mime_type |
The MIME type of the picture, in printable ASCII characters 0x20-0x7E. | |
char * | description |
The description of the picture, in UTF-8. | |
opus_uint32 | width |
The width of the picture in pixels. | |
opus_uint32 | height |
The height of the picture in pixels. | |
opus_uint32 | depth |
The color depth of the picture in bits-per-pixel (not bits-per-channel). | |
opus_uint32 | colors |
For indexed-color pictures (e.g., GIF), the number of colors used, or 0 for non-indexed pictures. | |
opus_uint32 | data_length |
The length of the picture data in bytes. | |
unsigned char * | data |
The binary picture data. | |
int | format |
The format of the picture data, if known. |
The contents of a METADATA_BLOCK_PICTURE tag.
opus_int32 OpusPictureTag::type |
The picture type according to the ID3v2 APIC frame:
Others are reserved and should not be used. There may only be one each of picture type 1 and 2 in a file.
char* OpusPictureTag::mime_type |
The MIME type of the picture, in printable ASCII characters 0x20-0x7E.
The MIME type may also be "-->"
to signify that the data part is a URL pointing to the picture instead of the picture data itself. In this case, a terminating NUL is appended to the URL string in data, but data_length is set to the length of the string excluding that terminating NUL.
char* OpusPictureTag::description |
The description of the picture, in UTF-8.
opus_uint32 OpusPictureTag::width |
The width of the picture in pixels.
opus_uint32 OpusPictureTag::height |
The height of the picture in pixels.
opus_uint32 OpusPictureTag::depth |
The color depth of the picture in bits-per-pixel (not bits-per-channel).
opus_uint32 OpusPictureTag::colors |
For indexed-color pictures (e.g., GIF), the number of colors used, or 0 for non-indexed pictures.
opus_uint32 OpusPictureTag::data_length |
The length of the picture data in bytes.
unsigned char* OpusPictureTag::data |
The binary picture data.
int OpusPictureTag::format |
The format of the picture data, if known.
One of
.