25 lines
550 B
C
25 lines
550 B
C
//
|
|
// FFmpegUtils.h
|
|
// MP42Foundation
|
|
//
|
|
// Created by Damiano Galassi on 23/07/2016.
|
|
// Copyright © 2016 Damiano Galassi. All rights reserved.
|
|
//
|
|
|
|
#ifndef FFmpegUtils_h
|
|
#define FFmpegUtils_h
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include <CoreAudio/CoreAudio.h>
|
|
#include <avcodec.h>
|
|
|
|
void FFInitFFmpeg();
|
|
|
|
enum AVCodecID FourCCToCodecID(OSType formatID);
|
|
OSType CodecIDToFourCC(enum AVCodecID codecID);
|
|
|
|
int remap_layout(AudioChannelLayout *layout, uint64_t in_layout, int count);
|
|
int get_aac_tag(uint64_t in_layout);
|
|
|
|
#endif /* FFmpegUtils_h */
|