Go to the documentation of this file.
40 "%02hhx%02hhx%02hhx%02hhx-%02hhx%02hhx-" \
41 "%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx"
43 #define AV_PRI_URN_UUID \
44 "urn:uuid:%02hhx%02hhx%02hhx%02hhx-%02hhx%02hhx-" \
45 "%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx"
51 #define AV_UUID_ARG(x) \
52 (x)[ 0], (x)[ 1], (x)[ 2], (x)[ 3], \
53 (x)[ 4], (x)[ 5], (x)[ 6], (x)[ 7], \
54 (x)[ 8], (x)[ 9], (x)[10], (x)[11], \
55 (x)[12], (x)[13], (x)[14], (x)[15]
57 #define AV_UUID_LEN 16
uint8_t AVUUID[AV_UUID_LEN]
int av_uuid_urn_parse(const char *in, AVUUID uu)
Parses a URN representation of a UUID, as specified at IETF RFC 4122, into an AVUUID.
static void av_uuid_nil(AVUUID uu)
Sets a UUID to the nil UUID, i.e.
static int av_uuid_equal(const AVUUID uu1, const AVUUID uu2)
Compares two UUIDs for equality.
int av_uuid_parse_range(const char *in_start, const char *in_end, AVUUID uu)
Parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.
int av_uuid_parse(const char *in, AVUUID uu)
Parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.
static void av_uuid_copy(AVUUID dest, const AVUUID src)
Copies the bytes of src into dest.
void av_uuid_unparse(const AVUUID uu, char *out)
Serializes a AVUUID into a string representation according to IETF RFC 4122.