Capsim Block Documentation
Function has a single image input buffer, and outputs each input image sample to an arbitrary number of output buffers. For each output a duplicate image is created and outputed.
Port | Type | Name | |
---|---|---|---|
0 | image_t | x |
Num | Type | Name | Initial Value | Description |
---|---|---|---|---|
0 | int | obufs | ||
1 | image_t* | img_A |
int no_samples; int i; int width,height; int j,k; image_t imgIn; float **mat_PP; |
---|
/* note and store the number of output buffers */ if((obufs = NO_OUTPUT_BUFFERS() ) <= 0) { fprintf(stdout,"node: no output buffers\n"); return(1); /* no output buffers */ } for(i=0; i |
---|
for(no_samples=MIN_AVAIL();no_samples >0; --no_samples) { IT_IN(0); imgIn=x(0); width=imgIn.width; height=imgIn.height; for(i=0;i |
---|
/* Capsim (r) Text Mode Kernel (TMK) Star Library (Blocks) Copyright (C) 1989-2002 XCAD Corporation This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA http://www.xcad.com XCAD Corporation Raleigh, North Carolina */ |
---|
/* imgnode.s */ /********************************************************************** imgnode() *********************************************************************** Function has a single input buffer, and outputs each input sample to an arbitrary number of output buffers. |
---|