added video wall feature (issue #16)

backported obsolete resampler from ffmpeg (issue #12)
added lvdshared plugins to facilite #16 on local machine via shared memory
fixes to reloaded ui (maximize screen and others)
added -b and -a to reloaded commandline to resp. enable beta feature (SRT) and to connect to all (local running veejays)
fixes to built-in FX
solve issue #23 in reloaded (samplelist load image)
add VIMS_GET_SHM_EXT to query remote veejay properties
add VIMS_GET_SAMPLE_IMAGE to grab any frame (issue #23)
add VIMS_SPLIT_CONNECT_SHM to request part of frame via shm
fixes to general error messages and warnings
replaced env VEEJAY_SCREEN_SIZE with VEEJAY_DESKTOP_GEOMETRY
added env VEEJAY_VIDEO_POSITION
bump version to 1.5.58
This commit is contained in:
niels
2015-10-21 20:53:22 +02:00
parent 05d6c07cbb
commit 83c2464c89
69 changed files with 4667 additions and 564 deletions

View File

@@ -81,13 +81,20 @@ static void net_delay(long ms, long sec )
clock_nanosleep( CLOCK_REALTIME,0, &ts, NULL );
}
static int my_screen_id = -1;
void net_set_screen_id(int id)
{
my_screen_id = id;
veejay_msg(VEEJAY_MSG_DEBUG,"Network stream bound to screen %d", id );
}
void *reader_thread(void *data)
{
vj_tag *tag = (vj_tag*) data;
threaded_t *t = tag->priv;
char buf[16];
snprintf(buf,sizeof(buf)-1, "%03d:;", VIMS_GET_FRAME);
snprintf(buf,sizeof(buf)-1, "%03d:%d;", VIMS_GET_FRAME, my_screen_id);
int retrieve = 0;
int success = 0;
@@ -299,9 +306,13 @@ int net_thread_get_frame( vj_tag *tag, uint8_t *buffer[3] )
if( PIX_FMT_YUV420P == t->in_fmt || PIX_FMT_YUVJ420P == t->in_fmt )
buvlen = b_len/4;
else
else if ( PIX_FMT_YUV444P == t->in_fmt || PIX_FMT_YUVJ444P == t->in_fmt ) {
buvlen = b_len;
}
else {
buvlen = b_len/2;
}
if( t->a == NULL )
t->a = yuv_yuv_template( t->buf, t->buf + b_len, t->buf+ b_len+ buvlen,t->in_w,t->in_h, t->in_fmt);