#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libavutil/common.h"
#include "libvo/fastmemcpy.h"
Go to the source code of this file.
|
enum | stereo_code {
ANAGLYPH_RC_GRAY,
ANAGLYPH_RC_HALF,
ANAGLYPH_RC_COLOR,
ANAGLYPH_RC_DUBOIS,
ANAGLYPH_GM_GRAY,
ANAGLYPH_GM_HALF,
ANAGLYPH_GM_COLOR,
ANAGLYPH_YB_GRAY,
ANAGLYPH_YB_HALF,
ANAGLYPH_YB_COLOR,
MONO_L,
MONO_R,
SIDE_BY_SIDE_LR,
SIDE_BY_SIDE_RL,
SIDE_BY_SIDE_2_LR,
SIDE_BY_SIDE_2_RL,
ABOVE_BELOW_LR,
ABOVE_BELOW_RL,
ABOVE_BELOW_2_LR,
ABOVE_BELOW_2_RL,
INTERLEAVE_ROWS_LR,
INTERLEAVE_ROWS_RL,
STEREO_CODE_COUNT
} |
|
|
static uint8_t | ana_convert (int coeff[6], uint8_t left[3], uint8_t right[3]) |
|
static int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
|
static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
|
static int | query_format (struct vf_instance *vf, unsigned int fmt) |
|
static void | uninit (vf_instance_t *vf) |
|
static int | vf_open (vf_instance_t *vf, char *args) |
|
- Enumerator:
ANAGLYPH_RC_GRAY |
|
ANAGLYPH_RC_HALF |
|
ANAGLYPH_RC_COLOR |
|
ANAGLYPH_RC_DUBOIS |
|
ANAGLYPH_GM_GRAY |
|
ANAGLYPH_GM_HALF |
|
ANAGLYPH_GM_COLOR |
|
ANAGLYPH_YB_GRAY |
|
ANAGLYPH_YB_HALF |
|
ANAGLYPH_YB_COLOR |
|
MONO_L |
|
MONO_R |
|
SIDE_BY_SIDE_LR |
|
SIDE_BY_SIDE_RL |
|
SIDE_BY_SIDE_2_LR |
|
SIDE_BY_SIDE_2_RL |
|
ABOVE_BELOW_LR |
|
ABOVE_BELOW_RL |
|
ABOVE_BELOW_2_LR |
|
ABOVE_BELOW_2_RL |
|
INTERLEAVE_ROWS_LR |
|
INTERLEAVE_ROWS_RL |
|
STEREO_CODE_COUNT |
|
Definition at line 38 of file vf_stereo3d.c.
static int config |
( |
struct vf_instance * |
vf, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
d_width, |
|
|
int |
d_height, |
|
|
unsigned int |
flags, |
|
|
unsigned int |
outfmt |
|
) |
| |
|
static |
static int put_image |
( |
struct vf_instance * |
vf, |
|
|
mp_image_t * |
mpi, |
|
|
double |
pts |
|
) |
| |
|
static |
static int query_format |
( |
struct vf_instance * |
vf, |
|
|
unsigned int |
fmt |
|
) |
| |
|
static |
const int ana_coeff[10][3][6] |
|
static |
Initial value:= {
"stereoscopic 3d view",
"stereo3d",
"Gordon Schmidt",
"view stereoscopic videos",
}
Definition at line 505 of file vf_stereo3d.c.