diff options
author | handbrake <[email protected]> | 2006-01-14 13:40:38 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 13:40:38 +0000 |
commit | 56bb6ce496b475944bb9577c7586e84be1cb831e (patch) | |
tree | 7720c135a160a34f22ce8f1f911f350e18207eaa /core/HandBrake.h | |
parent | d35a2a23fe450c88925128b9db7c63a5f1ed395d (diff) |
HandBrake 0.7.0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@16 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'core/HandBrake.h')
-rw-r--r-- | core/HandBrake.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/core/HandBrake.h b/core/HandBrake.h deleted file mode 100644 index 9d84d39dc..000000000 --- a/core/HandBrake.h +++ /dev/null @@ -1,75 +0,0 @@ -/* $Id: HandBrake.h,v 1.10 2004/01/21 18:40:36 titer Exp $ - - This file is part of the HandBrake source code. - Homepage: <http://handbrake.m0k.org/>. - It may be used under the terms of the GNU General Public License. */ - -#ifndef HB_HANDBRAKE_H -#define HB_HANDBRAKE_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include "Utils.h" - -/* Interface callbacks */ -typedef struct HBCallbacks -{ - void * data; - - void (*scanning) ( void * data, int title, int titleCount ); - void (*scanDone) ( void * data, HBList * titleList ); - void (*encoding) ( void * data, float position, int pass, - int passCount, float curFrameRate, - float avgFrameRate, int remainingTime ); - void (*ripDone) ( void * data, int result ); - -} HBCallbacks; - -/* Init libhb. Set debug to 0 to see no output, 1 to see all libhb logs. - Set cpuCount to 0 if you want libhb to autodetect */ -HBHandle * HBInit( int debug, int cpuCount ); - -/* Tell libhb what functions should be called when a GUI should be - updated. */ -void HBSetCallbacks( HBHandle *, HBCallbacks callbacks ); - -/* Launch a thread which scans the specified DVD and title. Use - title = 0 to scan all titles. Returns immediately */ -void HBScanDVD( HBHandle *, const char * dvd, int title ); - -/* Calculate bitrate so the output file fits in X MB */ -int HBGetBitrateForSize( HBTitle * title, int size, int muxer, - int audioCount, int audioBitrate ); - -/* Start ripping the specified title. Returns immediatly */ -void HBStartRip( HBHandle *, HBTitle * ); - -/* Suspend rip */ -void HBPauseRip( HBHandle * ); - -/* Resume rip */ -void HBResumeRip( HBHandle * ); - -/* Cancel rip. Returns immediatly - you'll be noticed by the ripDone - callback when it's really stopped. - If the rip was paused, you _must_ call HBResumeRip() first. */ -void HBStopRip( HBHandle * ); - -/* Calculate preview for the specified picture of the specified title, - taking care of the current cropping & scaling settings. Returns a - pointer to raw RGBA data that _has_ to be freed by the calling - function. The picture includes the white border around the picture, - so its size is ( maxWidth + 2 ) x ( maxHeight + 2 ). - The data belongs to the caller, who must free it. */ -uint8_t * HBGetPreview( HBHandle *, HBTitle *, int picture ); - -/* Clean up things */ -void HBClose( HBHandle ** ); - -#ifdef __cplusplus -} -#endif - -#endif |