view loader/dshow/DS_VideoDec.h @ 2335:26fdd1a317ad

Again changed logic: -screenw, -screenh - force user video mode -x, -y - force userdefined prescaling -zoom - activates prescaling -fs - scales prescaling to fullscreen (meaningless with -zoom) So full command line should be: mplayer -vo vesa -screenw WWW -screenh HHH -bpp BPP -x XXX -y YYY -zoom -fs filename And you will be able to watch movies in 16:9 format with bold black border at top and bottom of screen.
author nick
date Sun, 21 Oct 2001 14:02:09 +0000
parents fb67a2aa61fe
children 61c392d6316e
line wrap: on
line source

/********************************************************

	DirectShow Video decoder implementation
	Copyright 2000 Eugene Kuznetsov  (divx@euro.ru)
        Converted  C++ --> C  :) by A'rpi/ESP-team

*********************************************************/

#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */

int DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER* format, int flip,char** d_ptr);

void DS_VideoDecoder_Start();

void DS_VideoDecoder_Stop();

void DS_VideoDecoder_Restart();

void DS_VideoDecoder_Close();

int DS_VideoDecoder_DecodeFrame(char* src, int size, int is_keyframe, int render);

int DS_VideoDecoder_SetDestFmt(int bits, int csp);

int DS_SetValue_DivX(char* name, int value);
int DS_SetAttr_DivX(char* attribute, int value);

#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */