Lynkeos
|
Protocol to conform for movie file writers. More...
#import <LynkeosFileWriter.h>
Instance Methods | |
(void) | - saveMovieAtURL:withDelegate:withPrecision:blackLevel:whiteLevel:withPlanes:width:height:metaData: |
Save the movie data in a file at the given URL. More... | |
![]() | |
(NSPanel *) | - configurationPanel |
Get a configuration panel for this writer. More... | |
Additional Inherited Members | |
![]() | |
(NSString *) | + writerName |
Get a string identifying this writer. More... | |
(NSString *) | + fileExtension |
Get the extension that should be appended to a file name, when written by this reader. More... | |
(BOOL) | + canSaveDataWithPlanes:width:height:metaData: |
Check if this writer is able to save that kind of data. More... | |
(id< LynkeosFileWriter >) | + writerForURL:planes:width:height:metaData: |
Constructor which creates a writer ready for writing some data with the given parameters. More... | |
Protocol to conform for movie file writers.
- (void) saveMovieAtURL: | (NSURL *) | url | |
withDelegate: | (id< LynkeosMovieFileWriterDelegate >) | delegate | |
withPrecision: | (floating_precision_t) | precision | |
blackLevel: | (double) | black | |
whiteLevel: | (double) | white | |
withPlanes: | (u_short) | nPlanes | |
width: | (u_short) | w | |
height: | (u_short) | h | |
metaData: | (NSDictionary *) | metaData | |
Save the movie data in a file at the given URL.
The pixels in the data are already scaled to 0.0 for black and 1.0 for white. The parameters
black | and |
white | give the value they had in the source image before scaling ; this can be used to save the original value. |
url | The URL of the file to save |
delegate | The delegate which provides each frame data |
precision | The floating point precision of the data returned by the delegate |
black | The value of the black level to apply to the source image |
white | The value of the white level to apply to the source image |
nPlanes | The number of color planes. |
w | Width of sample |
h | Height of sample |
metaData | The image meta data |