/*
* CINELERRA
* Copyright (C) 2010 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include "pluginserver.inc"
-// Time code formats
-#define TC_DROPFRAME 0
-#define TC_NONDROPFRAME 1
-#define TC_PAL 2
-#define TC_FILM 3
-
class Asset : public Indexable, public ListItem<Asset>
{
public:
int actual_width, actual_height;
int width, height;
-// scale factor or 0 if not proxy
- int proxy_scale;
+// scale factor or 0 if not proxy, proxy_edl if proxyed from nested_edl
+ int proxy_scale, proxy_edl;
// String or FourCC describing compression
char vcodec[BCTEXTLEN];
// Length in frames
// -1 means a still photo
int64_t video_length;
-
-
+// timecode, unknown=-2, no timecode=-1, timecode>=0
+ double timecode;
// mp3 compression
int mp3_bitrate;
// for jpeg compression
int jpeg_quality;
+
// for mpeg video compression
int vmpeg_iframe_distance;
int vmpeg_progressive;
// PNG video compression
int png_use_alpha;
-
+ int png_depth;
+ int png_compression;
// EXR video compression
int exr_use_alpha;
int exr_compression;
// TIFF video compression. An enumeration from filetiff.h
int tiff_cmodel;
int tiff_compression;
-
+// AC3 bitrate
int ac3_bitrate;
-
+// FLAC compression
+ int flac_compression;
// Insert tag for spherical playback
int mov_sphere, jpeg_sphere;