Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

image quality



Here is some pseudo code for an old but still-used function:

OpenMovieFile(...&movieRefNum,fsRdPerm);
NewMovieFromFile(&movie,movieRefNum,...newMovieActive,...);
CloseMovieFile(movieRefNum);

gworld = ... (allocate a gworld 1920x1080);

SetMovieGWorld(movie,gworld,NULL);
SetMovieBox(movie,&a1920x1080Rect);

for (frame = 0; frame < numFrames; ++frame)
{
	movieTime = ConvertFrameToMovieTime(frame);

	SetMovieTimeValue(movie,movieTime);
	MoviesTask(movie,0);

	// save the gworld contents somewhere
}

Now here's my issue: with certain source movies, for example one encoded with the Apple XDCAM HD 1080i60 codec, the encoded frame is 1440x1080 and QuickTime is using a not-particularly-great scaler to give the full 1920 width. The resulting gworld therefore is not as well-defined as it could be. Is there a way to tell QuickTime that I'm more interested in quality than speed for this piece of code?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.