mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 07:10:14 +01:00
removed an effect (map b to a, texture map)
This commit is contained in:
@@ -116,10 +116,9 @@ enum {
|
|||||||
VJ_VIDEO_EFFECT_PICINPIC = 241,
|
VJ_VIDEO_EFFECT_PICINPIC = 241,
|
||||||
VJ_VIDEO_EFFECT_CHAMBLEND = 242,
|
VJ_VIDEO_EFFECT_CHAMBLEND = 242,
|
||||||
VJ_VIDEO_EFFECT_RADIOACTIVE = 243,
|
VJ_VIDEO_EFFECT_RADIOACTIVE = 243,
|
||||||
VJ_VIDEO_EFFECT_TEXMAP = 244,
|
|
||||||
VJ_VIDEO_EFFECT_RIPPLETV = 245,
|
VJ_VIDEO_EFFECT_RIPPLETV = 245,
|
||||||
VJ_VIDEO_EFFECT_SLICER = 246,
|
VJ_VIDEO_EFFECT_SLICER = 246,
|
||||||
VJ_VIDEO_EFFECT_IRIS = 247,
|
VJ_VIDEO_EFFECT_IRIS = 244,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@@ -222,7 +221,7 @@ enum {
|
|||||||
#define VJ_IMAGE_EFFECT_MAX 192
|
#define VJ_IMAGE_EFFECT_MAX 192
|
||||||
|
|
||||||
#define VJ_VIDEO_EFFECT_MIN 200
|
#define VJ_VIDEO_EFFECT_MIN 200
|
||||||
#define VJ_VIDEO_EFFECT_MAX 248
|
#define VJ_VIDEO_EFFECT_MAX 247
|
||||||
|
|
||||||
#define VJ_VIDEO_COUNT (VJ_VIDEO_EFFECT_MAX - VJ_VIDEO_EFFECT_MIN)
|
#define VJ_VIDEO_COUNT (VJ_VIDEO_EFFECT_MAX - VJ_VIDEO_EFFECT_MIN)
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
#include "transitions/vbar.h"
|
#include "transitions/vbar.h"
|
||||||
#include "effects/diff.h"
|
#include "effects/diff.h"
|
||||||
#include "effects/bgsubtract.h"
|
#include "effects/bgsubtract.h"
|
||||||
#include "effects/texmap.h"
|
//#include "effects/texmap.h"
|
||||||
#include "effects/contourextract.h"
|
#include "effects/contourextract.h"
|
||||||
#include "effects/autoeq.h"
|
#include "effects/autoeq.h"
|
||||||
#include "effects/colorhis.h"
|
#include "effects/colorhis.h"
|
||||||
@@ -270,7 +270,7 @@ static struct
|
|||||||
} complex_effect_index[] =
|
} complex_effect_index[] =
|
||||||
{
|
{
|
||||||
{ diff_malloc, diff_free, VJ_VIDEO_EFFECT_DIFF },
|
{ diff_malloc, diff_free, VJ_VIDEO_EFFECT_DIFF },
|
||||||
{ texmap_malloc, texmap_free, VJ_VIDEO_EFFECT_TEXMAP },
|
// { texmap_malloc, texmap_free, VJ_VIDEO_EFFECT_TEXMAP },
|
||||||
{ contourextract_malloc, contourextract_free, VJ_IMAGE_EFFECT_CONTOUR },
|
{ contourextract_malloc, contourextract_free, VJ_IMAGE_EFFECT_CONTOUR },
|
||||||
{ cali_malloc, cali_free, VJ_IMAGE_EFFECT_CALI },
|
{ cali_malloc, cali_free, VJ_IMAGE_EFFECT_CALI },
|
||||||
{ picinpic_malloc, picinpic_free, VJ_VIDEO_EFFECT_PICINPIC },
|
{ picinpic_malloc, picinpic_free, VJ_VIDEO_EFFECT_PICINPIC },
|
||||||
@@ -579,10 +579,10 @@ void vj_effect_initialize(int width, int height, int full_range)
|
|||||||
vj_effects[41] = picinpic_init(width,height);
|
vj_effects[41] = picinpic_init(width,height);
|
||||||
vj_effects[42] = chameleonblend_init(width,height);
|
vj_effects[42] = chameleonblend_init(width,height);
|
||||||
vj_effects[43] = radioactivetv_init(width,height);
|
vj_effects[43] = radioactivetv_init(width,height);
|
||||||
vj_effects[44] = texmap_init( width,height);
|
// vj_effects[44] = texmap_init( width,height);
|
||||||
vj_effects[45] = water_init(width,height);
|
vj_effects[45] = water_init(width,height);
|
||||||
vj_effects[46] = slicer_init(width,height);
|
vj_effects[46] = slicer_init(width,height);
|
||||||
vj_effects[47] = iris_init(width,height);
|
vj_effects[44] = iris_init(width,height);
|
||||||
vj_effects[48] = dummy_init(width,height);
|
vj_effects[48] = dummy_init(width,height);
|
||||||
vj_effects[i + 1] = mirrors2_init(width,height);
|
vj_effects[i + 1] = mirrors2_init(width,height);
|
||||||
vj_effects[i + 2] = mirrors_init(width,height);
|
vj_effects[i + 2] = mirrors_init(width,height);
|
||||||
@@ -731,7 +731,7 @@ void vj_effect_shutdown() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff_destroy();
|
diff_destroy();
|
||||||
texmap_destroy();
|
//texmap_destroy();
|
||||||
contourextract_destroy();
|
contourextract_destroy();
|
||||||
rotozoom_destroy();
|
rotozoom_destroy();
|
||||||
distortion_destroy();
|
distortion_destroy();
|
||||||
|
|||||||
@@ -505,10 +505,10 @@ void vj_effman_apply_video_effect( VJFrame **frames, vjp_kf *todo_info,int *arg,
|
|||||||
diff_apply( vj_effects[entry]->user_data, frames[0], frames[1],
|
diff_apply( vj_effects[entry]->user_data, frames[0], frames[1],
|
||||||
frames[0]->width, frames[0]->height, arg[0], arg[1],arg[2],arg[3]);
|
frames[0]->width, frames[0]->height, arg[0], arg[1],arg[2],arg[3]);
|
||||||
break;
|
break;
|
||||||
case VJ_VIDEO_EFFECT_TEXMAP:
|
/*case VJ_VIDEO_EFFECT_TEXMAP:
|
||||||
texmap_apply( vj_effects[entry]->user_data, frames[0],frames[1],
|
texmap_apply( vj_effects[entry]->user_data, frames[0],frames[1],
|
||||||
frames[0]->width,frames[0]->height,arg[0],arg[1],arg[2],arg[3],arg[4] );
|
frames[0]->width,frames[0]->height,arg[0],arg[1],arg[2],arg[3],arg[4] );
|
||||||
break;
|
break;*/
|
||||||
case VJ_VIDEO_EFFECT_WHITEFRAME:
|
case VJ_VIDEO_EFFECT_WHITEFRAME:
|
||||||
whiteframe_apply(frames[0], frames[1], frames[0]->width, frames[0]->height);
|
whiteframe_apply(frames[0], frames[1], frames[0]->width, frames[0]->height);
|
||||||
break;
|
break;
|
||||||
@@ -675,13 +675,13 @@ int vj_effect_prepare( VJFrame *frame, int selector)
|
|||||||
return motionmap_prepare( frame->data, frame->width, frame->height );
|
return motionmap_prepare( frame->data, frame->width, frame->height );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case VJ_VIDEO_EFFECT_TEXMAP:
|
/* case VJ_VIDEO_EFFECT_TEXMAP:
|
||||||
fx_id = vj_effect_real_to_sequence( selector );
|
fx_id = vj_effect_real_to_sequence( selector );
|
||||||
if( fx_id >= 0 && vj_effects[fx_id] )
|
if( fx_id >= 0 && vj_effects[fx_id] )
|
||||||
{
|
{
|
||||||
return texmap_prepare( frame->data, frame->width, frame->height );
|
return texmap_prepare( frame->data, frame->width, frame->height );
|
||||||
}
|
}
|
||||||
break;
|
break;*/
|
||||||
case VJ_VIDEO_EFFECT_CHAMBLEND:
|
case VJ_VIDEO_EFFECT_CHAMBLEND:
|
||||||
fx_id = vj_effect_real_to_sequence( selector );
|
fx_id = vj_effect_real_to_sequence( selector );
|
||||||
if( fx_id >= 0 && vj_effects[fx_id])
|
if( fx_id >= 0 && vj_effects[fx_id])
|
||||||
|
|||||||
@@ -239,7 +239,6 @@ int vj_perform_take_bg(veejay_t *info, VJFrame *frame, int pass)
|
|||||||
n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_DIFF );
|
n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_DIFF );
|
||||||
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_MOTIONMAP );
|
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_MOTIONMAP );
|
||||||
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_CONTOUR );
|
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_CONTOUR );
|
||||||
n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_TEXMAP);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( frame->ssm == 0 )
|
if( frame->ssm == 0 )
|
||||||
@@ -258,7 +257,7 @@ int vj_perform_take_bg(veejay_t *info, VJFrame *frame, int pass)
|
|||||||
n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_DIFF );
|
n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_DIFF );
|
||||||
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_MOTIONMAP );
|
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_MOTIONMAP );
|
||||||
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_CONTOUR );
|
n += vj_effect_prepare( frame, VJ_IMAGE_EFFECT_CONTOUR );
|
||||||
n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_TEXMAP);
|
// n += vj_effect_prepare( frame, VJ_VIDEO_EFFECT_TEXMAP);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user