Moved some magic cookies utility to a new file.

This commit is contained in:
Damiano Galassi committed 2015-11-18 09:35:20 +01:00
1 parent 4e0d573c5b
commit 78a5867492
12 files changed
+276 -176

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
//
// MP42FormatUtilites.h
// MP42Foundation
//
// Created by Damiano Galassi on 10/11/15.
// Copyright © 2015 Damiano Galassi. All rights reserved.
//
#ifndef MP42FormatUtilites_h
#define MP42FormatUtilites_h
#ifdef __cplusplus
extern "C" {
#endif
int readAC3Config(uint64_t acmod, uint64_t lfeon, UInt32 *channelsCount, UInt32 *channelLayoutTag);
int readEAC3Config(const uint8_t *cookie, uint32_t cookieLen, UInt32 *channelsCount, UInt32 *channelLayoutTag);
CFDataRef createCookie_EAC3(uint8_t *frame, uint32_t size);
#ifdef __cplusplus
}
#endif
#endif /* MP42FormatUtilites_h */