First import.
This commit is contained in:
1 parent
4e61250dc6
commit
796e9691ce
114 files changed
+37004
-44
No files matched your search
@@ -0,0 +1,45 @@
|
||||
//
|
||||
// MP42H264FileImporter.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 07/12/10.
|
||||
// Copyright 2010 Damiano Galassi All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "MP42FileImporter.h"
|
||||
|
||||
typedef struct framerate_t {
|
||||
uint32_t code;
|
||||
uint32_t timescale;
|
||||
uint32_t duration;
|
||||
} framerate_t;
|
||||
typedef struct
|
||||
|
||||
{
|
||||
struct
|
||||
{
|
||||
int size_min;
|
||||
int next;
|
||||
int cnt;
|
||||
int idx[17];
|
||||
int poc[17];
|
||||
} dpb;
|
||||
|
||||
int cnt;
|
||||
int cnt_max;
|
||||
int *frame;
|
||||
} h264_dpb_t;
|
||||
|
||||
@interface MP42H264Importer : MP42FileImporter {
|
||||
FILE* inFile;
|
||||
int64_t _size;
|
||||
|
||||
NSData *avcC;
|
||||
uint32_t timescale;
|
||||
uint32_t mp4FrameDuration;
|
||||
MP4SampleId samplesWritten;
|
||||
h264_dpb_t h264_dpb;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user