#include "mmsmedia/mmsav.h"
#include <directfb_version.h>
#include <string.h>
#include <stdlib.h>
#include "mmsmedia/mmsgst.h"
Go to the source code of this file.
Classes | |
struct | internalStreamData |
Defines | |
#define | THROW_DFB_ERROR(dfbres, msg) {if (dfbres) { string s1 = msg; string s2 = DirectFBErrorString((DFBResult)dfbres); throw MMSAVError(dfbres,s1 + " [" + s2 + "]"); }else{ throw MMSAVError(0,msg); }} |
Functions | |
MMS_CREATEERROR (MMSAVError) | |
static void * | gstPlayRoutine (GST_DISKOVIDEOSINK_DATA *gst_diskovideosink_data) |
static void | dfb_output_cb (void *cdata, int width, int height, double ratio, DFBSurfacePixelFormat format, DFBRectangle *dest_rect) |
Callback, that will be called before a frame is drawn. | |
void | raw_frame_cb (void *user_data, int frame_format, int frame_width, int frame_height, double frame_aspect, void *data0, void *data1, void *data2) |
void | raw_overlay_cb (void *user_data, int num_ovl, raw_overlay_t *overlays_array) |
Callback, that will be called each time an overlay state changes. | |
static int | dfb_frame_cb (void *cdata) |
Callback, that will be called after a frame is drawn. | |
static void * | xinePlayRoutine (void *data) |
static void * | stopRoutine (void *data) |
Variables | |
DFBResult | dfbres |
static int dfb_frame_cb | ( | void * | cdata | ) | [static] |
static void dfb_output_cb | ( | void * | cdata, | |
int | width, | |||
int | height, | |||
double | ratio, | |||
DFBSurfacePixelFormat | format, | |||
DFBRectangle * | dest_rect | |||
) | [static] |
Callback, that will be called before a frame is drawn.
It checks if the ratio has changed and sets some variables if so.
cdata | [in/out] pointer to VODESC structure | |
width | [in] width of dvd stream | |
height | [in] height of dvd stream | |
ratio | [in] ratio of dvd stream | |
format | [in] pixel format of dvd stream | |
dest_rect | [out] the current rectangle will be returned |
static void* gstPlayRoutine | ( | GST_DISKOVIDEOSINK_DATA * | gst_diskovideosink_data | ) | [static] |
MMS_CREATEERROR | ( | MMSAVError | ) |
void raw_frame_cb | ( | void * | user_data, | |
int | frame_format, | |||
int | frame_width, | |||
int | frame_height, | |||
double | frame_aspect, | |||
void * | data0, | |||
void * | data1, | |||
void * | data2 | |||
) |
void raw_overlay_cb | ( | void * | user_data, | |
int | num_ovl, | |||
raw_overlay_t * | overlays_array | |||
) |