www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,41 @@
|
|||
package org.jcodec.api;
|
||||
|
||||
import org.jcodec.common.DemuxerTrackMeta;
|
||||
import org.jcodec.common.model.Picture;
|
||||
|
||||
public class PictureWithMetadata {
|
||||
private Picture picture;
|
||||
|
||||
private double timestamp;
|
||||
|
||||
private double duration;
|
||||
|
||||
private DemuxerTrackMeta.Orientation orientation;
|
||||
|
||||
public static PictureWithMetadata createPictureWithMetadata(Picture picture, double timestamp, double duration) {
|
||||
return new PictureWithMetadata(picture, timestamp, duration, DemuxerTrackMeta.Orientation.D_0);
|
||||
}
|
||||
|
||||
public PictureWithMetadata(Picture picture, double timestamp, double duration, DemuxerTrackMeta.Orientation orientation) {
|
||||
this.picture = picture;
|
||||
this.timestamp = timestamp;
|
||||
this.duration = duration;
|
||||
this.orientation = orientation;
|
||||
}
|
||||
|
||||
public Picture getPicture() {
|
||||
return this.picture;
|
||||
}
|
||||
|
||||
public double getTimestamp() {
|
||||
return this.timestamp;
|
||||
}
|
||||
|
||||
public double getDuration() {
|
||||
return this.duration;
|
||||
}
|
||||
|
||||
public DemuxerTrackMeta.Orientation getOrientation() {
|
||||
return this.orientation;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue