61 lines
1.8 KiB
Objective-C
61 lines
1.8 KiB
Objective-C
//
|
|
// MP42VideoTrack.h
|
|
// Subler
|
|
//
|
|
// Created by Damiano Galassi on 31/01/09.
|
|
// Copyright 2009 Damiano Galassi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "MP42Track.h"
|
|
|
|
@interface MP42VideoTrack : MP42Track <NSCoding> {
|
|
@protected
|
|
uint64_t width, height;
|
|
float trackWidth, trackHeight;
|
|
|
|
// Pixel Aspect Ratio
|
|
uint64_t hSpacing, vSpacing;
|
|
|
|
// Clean Aperture
|
|
uint64_t cleanApertureWidthN, cleanApertureWidthD;
|
|
uint64_t cleanApertureHeightN, cleanApertureHeightD;
|
|
uint64_t horizOffN, horizOffD;
|
|
uint64_t vertOffN, vertOffD;
|
|
|
|
// Matrix
|
|
uint32_t offsetX, offsetY;
|
|
|
|
// H.264 profile
|
|
uint8_t _origProfile, _origLevel;
|
|
uint8_t _newProfile, _newLevel;
|
|
}
|
|
|
|
@property(nonatomic, readwrite) uint64_t width;
|
|
@property(nonatomic, readwrite) uint64_t height;
|
|
|
|
@property(nonatomic, readwrite) float trackWidth;
|
|
@property(nonatomic, readwrite) float trackHeight;
|
|
|
|
@property(nonatomic, readwrite) uint64_t hSpacing;
|
|
@property(nonatomic, readwrite) uint64_t vSpacing;
|
|
|
|
@property(nonatomic, readwrite) uint64_t cleanApertureWidthN;
|
|
@property(nonatomic, readwrite) uint64_t cleanApertureWidthD;
|
|
@property(nonatomic, readwrite) uint64_t cleanApertureHeightN;
|
|
@property(nonatomic, readwrite) uint64_t cleanApertureHeightD;
|
|
@property(nonatomic, readwrite) uint64_t horizOffN;
|
|
@property(nonatomic, readwrite) uint64_t horizOffD;
|
|
@property(nonatomic, readwrite) uint64_t vertOffN;
|
|
@property(nonatomic, readwrite) uint64_t vertOffD;
|
|
|
|
@property(nonatomic, readwrite) uint32_t offsetX;
|
|
@property(nonatomic, readwrite) uint32_t offsetY;
|
|
|
|
@property(nonatomic, readwrite) uint8_t origProfile;
|
|
@property(nonatomic, readwrite) uint8_t origLevel;
|
|
@property(nonatomic, readwrite) uint8_t newProfile;
|
|
@property(nonatomic, readwrite) uint8_t newLevel;
|
|
|
|
@end
|