11966N/A Uint32 rmask, gmask, bmask, amask = 0;
10430N/A video_frame_rwidth = video_frame_width;
11966N/A video_frame_rheight = video_frame_height;
10468N/A+ if (video_frame_rwidth == 1 && display_type == BOTH_SIDE) {
11966N/A /* Update the display selection in the main and in the video popup menus */
11966N/A gtk_radio_menu_select_with_id (mw->main_menu, "local_video", display_type);
11966N/A+ if (!display_both_incrusted && !display_both_side)
11966N/A /* scale the local image to the full available space, or,
11966N/A * if BOTH_SIDE: full_space/2 on X axis */
10430N/A bilinear_filtering?GDK_INTERP_BILINEAR:GDK_INTERP_NEAREST);
11966N/A /* scale the local image to the requested small size
11966N/A (int) (video_frame_rheight * incr_lratio),
11966N/A bilinear_filtering?GDK_INTERP_BILINEAR:GDK_INTERP_NEAREST);
11966N/A+ /* scale the local image to the right part of video frame for BOTH_SIDE */
11966N/A+ gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
11966N/A+ gdk_pixbuf_new_subpixbuf (tmp_pixbuf,
11966N/A+ gdk_pixbuf_new_subpixbuf (tmp_pixbuf,
11966N/A+ gdk_pixbuf_scale (lsrc_pic, zlsrc_pic,
11966N/A+ bilinear_filtering?GDK_INTERP_BILINEAR:GDK_INTERP_NEAREST);
11966N/A /* scale the remote image to the full available space, or,
11966N/A * if BOTH_SIDE: full_space/2 on X axis */
11966N/A gdk_pixbuf_scale_simple (rsrc_pic,
11966N/A display_both_side?video_frame_rwidth / 2:video_frame_rwidth,
11966N/A bilinear_filtering?GDK_INTERP_BILINEAR:GDK_INTERP_NEAREST);
10430N/A+ gdk_pixbuf_scale (rsrc_pic, zrsrc_pic,
11966N/A+ bilinear_filtering?GDK_INTERP_BILINEAR:GDK_INTERP_NEAREST);
10430N/A- gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
10430N/A- gdk_pixbuf_copy_area (zrsrc_pic,
10430N/A- gdk_pixbuf_copy_area (zlsrc_pic,
10430N/A gtk_image_set_from_pixbuf (GTK_IMAGE (mw->main_video_image),
10430N/A- <default>[SpeexWide-20.6k=1,iLBC-13k3=1,GSM-06.10=1,MS-GSM=1,SpeexNarrow-8k=1,G.711-uLaw-64k=1,G.711-ALaw-64k=1]</default>
10430N/A+ <default>[G.711-ulaw-64k=1,SpeexWide-20.6k=0,iLBC-13k3=1,GSM-06.10=1,MS-GSM=1,SpeexNarrow-8k=1,G.711-ALaw-64k=1]</default>
10430N/A <short>The Audio Codecs List</short>
10430N/A <long>The Audio Codecs List</long>
10430N/A <short>Enable echo cancelation</short>
10430N/A <long>If enabled, use echo cancelation</long>