mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/ffmpeg git-subtree-mainline: 8f5a4f7dc119599d326c72d9a6115973e825491b git-subtree-split: 53fc3dcb6022f35015afd2605ead32bfd7417144
33 lines
1.1 KiB
Objective-C
33 lines
1.1 KiB
Objective-C
//
|
|
// FFMpegAVSampleFormat.h
|
|
// FFMpeg
|
|
//
|
|
// Created by Peter Iakovlev on 11/12/2018.
|
|
// Copyright © 2018 Telegram Messenger LLP. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef enum FFMpegAVSampleFormat {
|
|
FFMPEG_AV_SAMPLE_FMT_NONE = -1,
|
|
FFMPEG_AV_SAMPLE_FMT_U8, ///< unsigned 8 bits
|
|
FFMPEG_AV_SAMPLE_FMT_S16, ///< signed 16 bits
|
|
FFMPEG_AV_SAMPLE_FMT_S32, ///< signed 32 bits
|
|
FFMPEG_AV_SAMPLE_FMT_FLT, ///< float
|
|
FFMPEG_AV_SAMPLE_FMT_DBL, ///< double
|
|
|
|
FFMPEG_AV_SAMPLE_FMT_U8P, ///< unsigned 8 bits, planar
|
|
FFMPEG_AV_SAMPLE_FMT_S16P, ///< signed 16 bits, planar
|
|
FFMPEG_AV_SAMPLE_FMT_S32P, ///< signed 32 bits, planar
|
|
FFMPEG_AV_SAMPLE_FMT_FLTP, ///< float, planar
|
|
FFMPEG_AV_SAMPLE_FMT_DBLP, ///< double, planar
|
|
FFMPEG_AV_SAMPLE_FMT_S64, ///< signed 64 bits
|
|
FFMPEG_AV_SAMPLE_FMT_S64P, ///< signed 64 bits, planar
|
|
|
|
FFMPEG_AV_SAMPLE_FMT_NB ///< Number of sample formats. DO NOT USE if linking dynamically
|
|
} FFMpegAVSampleFormat;
|
|
|
|
NS_ASSUME_NONNULL_END
|