Searched defs:width (Results 401 - 425 of 1072) sorted by relevance

<<11121314151617181920>>

/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
H A DAwtPanelsContext.java32 public void reshape(int width, int height) { argument
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
H A DLwjglCanvas.java65 private int width; field in class:LwjglCanvas
212 if (width != newWidth || height != newHeight){
213 width = newWidth;
216 listener.reshape(width, height);
/external/jmonkeyengine/engine/src/test/jme3test/post/
H A DTestRenderToMemory.java83 private static final int width = 800, height = 600; field in class:TestRenderToMemory
85 private final ByteBuffer cpuBuf = BufferUtils.createByteBuffer(width * height * 4);
86 private final byte[] cpuArray = new byte[width * height * 4];
87 private final BufferedImage image = new BufferedImage(width, height,
106 // g2d.clearRect(0,0,width,height);
143 display.setPreferredSize(new Dimension(width, height));
172 offCamera = new Camera(width, height);
184 offBuffer = new FrameBuffer(width, height, 1);
192 // offTex = new Texture2D(width, height, Format.RGBA8);
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DTextureAtlas.java130 public TextureAtlas(int width, int height) { argument
131 this.atlasWidth = width;
133 root = new Node(0, 0, width, height);
261 } else if (location.width != image.getWidth() || location.height != image.getHeight()) {
283 int width = source.getWidth();
286 for (int xPos = 0; xPos < width; xPos++) {
289 int j = (xPos + yPos * width) * 4;
295 int j = (xPos + yPos * width) * 3;
301 int j = (xPos + yPos * width) * 3;
307 int j = (xPos + yPos * width) *
564 Node(int x, int y, int width, int height) argument
620 private int width; field in class:TextureAtlas.TextureAtlasTile
623 TextureAtlasTile(int x, int y, int width, int height) argument
[all...]
/external/jpeg/
H A Drdtarga.c224 /* We expand 5 bit data to 8 bit sample width.
338 unsigned int width, height, maplen; local
355 width = GET_2B(12);
389 TRACEMS2(cinfo, 1, JTRC_TGA_MAPPED, width, height);
406 TRACEMS2(cinfo, 1, JTRC_TGA, width, height);
415 TRACEMS2(cinfo, 1, JTRC_TGA_GRAY, width, height);
426 (JDIMENSION) width * components, (JDIMENSION) height, (JDIMENSION) 1);
439 (JDIMENSION) width * components, (JDIMENSION) 1);
463 cinfo->image_width = width;
/external/kernel-headers/original/linux/
H A Dmsm_mdp.h66 uint32_t width; member in struct:mdp_img
/external/libpcap/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
166 width -= len;
168 width--;
169 while(width-- > 0){
204 width -= len;
205 while(width-- > 0){
224 int width,
229 width -= prec;
231 width -= strlen((char *)arg);
233 while(width
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
253 append_char(struct state *state, unsigned char arg, int width, int flags) argument
296 int width = 0; local
[all...]
/external/libpng/contrib/gregbook/
H A Dwritepng.h92 long width; member in struct:_mainprog_info
/external/libpng/contrib/pngminus/
H A Dpnm2png.c200 png_uint_32 width, alpha_width; local
230 sscanf (width_token, "%lu", &width);
251 sscanf (width_token, "%lu", &width);
291 if (alpha_width != width)
332 /* row_bytes is the width x number of channels x (bit-depth / 8) */
333 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2);
343 for (col = 0; col < width; col++)
404 png_set_IHDR (png_ptr, info_ptr, width, height, bit_depth, color_type,
/external/libvpx/vp8/decoder/
H A Dthreading.c544 void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows) argument
555 if ((width & 0xf) != 0)
556 width += 16 - (width & 0xf);
558 if (width < 640) pbi->sync_range = 1;
559 else if (width <= 1280) pbi->sync_range = 8;
560 else if (width <= 2560) pbi->sync_range =16;
563 uv_width = width >>1;
571 CHECK_MEM_ERROR(pbi->mt_yabove_row[i], vpx_calloc(sizeof(unsigned char) * (width + (VP8BORDERINPIXELS<<1)), 1));
/external/libyuv/files/source/
H A Dformat_conversion.cc103 int width, int height) {
113 (width % 4 == 0) &&
153 ARGBToBayerRow(src_rgb, dst_bayer, index_map[y & 1], width);
282 int width, int height) {
315 BayerRow0(src_bayer, src_stride_bayer, dst_rgb, width);
317 dst_rgb + dst_stride_rgb, width);
322 BayerRow0(src_bayer, -src_stride_bayer, dst_rgb, width);
333 int width, int height) {
334 if (width * 4 > kMaxStride) {
354 uint8* dst_u, uint8* dst_v, int width);
100 ARGBToBayerRGB(const uint8* src_rgb, int src_stride_rgb, uint8* dst_bayer, int dst_stride_bayer, uint32 dst_fourcc_bayer, int width, int height) argument
279 BayerRGBToARGB(const uint8* src_bayer, int src_stride_bayer, uint32 src_fourcc_bayer, uint8* dst_rgb, int dst_stride_rgb, int width, int height) argument
328 BayerRGBToI420(const uint8* src_bayer, int src_stride_bayer, uint32 src_fourcc_bayer, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument
[all...]
H A Dgeneral.cc26 int width, int height) {
37 const int halfWidth = (width + 1) >> 1;
43 indS = hind * dst_ystride + (width - wind - 1);
52 const int halfuvWidth = (width + 1) >> 2;
138 int width = src_width; local
140 // pad width
143 // cut width
145 width = dst_width;
157 memcpy(dst_frame,src_frame ,width);
159 dst_frame += width;
20 I420Mirror(const uint8* src_yplane, int src_ystride, const uint8* src_uplane, int src_ustride, const uint8* src_vplane, int src_vstride, uint8* dst_yplane, int dst_ystride, uint8* dst_uplane, int dst_ustride, uint8* dst_vplane, int dst_vstride, int width, int height) argument
217 int width = src_width; local
[all...]
H A Drow_win.cc179 uint8* dst_u, uint8* dst_v, int width) {
243 uint8* dst_u, uint8* dst_v, int width) {
307 uint8* dst_u, uint8* dst_v, int width) {
451 int width) {
492 int width) {
533 int width) {
574 int width) {
581 mov ecx, [esp + 32 + 20] // width
608 int width) {
613 mov ecx, [esp + 4 + 12] // width
178 ARGBToUVRow_SSSE3(const uint8* src_argb0, int src_stride_argb, uint8* dst_u, uint8* dst_v, int width) argument
242 BGRAToUVRow_SSSE3(const uint8* src_argb0, int src_stride_argb, uint8* dst_u, uint8* dst_v, int width) argument
306 ABGRToUVRow_SSSE3(const uint8* src_argb0, int src_stride_argb, uint8* dst_u, uint8* dst_v, int width) argument
447 FastConvertYUVToRGB32Row(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument
488 FastConvertYUVToBGRARow(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument
529 FastConvertYUVToABGRRow(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument
570 FastConvertYUV444ToRGB32Row(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int width) argument
606 FastConvertYToRGB32Row(const uint8* y_buf, uint8* rgb_buf, int width) argument
[all...]
/external/linux-tools-perf/util/ui/browsers/
H A Dannotate.c41 int width = self->width; local
55 slsmg_write_nstring(" ", width - 18);
57 slsmg_write_nstring(ol->line, width - 18);
288 if (browser.b.width < line_len)
289 browser.b.width = line_len;
295 browser.b.width += 18; /* Percentage */
/external/opencv/cv/src/
H A Dcvcamshift.cpp52 // windowOut - Location, height and width of converged CAMSHIFT window
54 // width - If != NULL, return equivalent width
84 if( windowIn.height <= 0 || windowIn.width <= 0 )
87 if( windowIn.x < 0 || windowIn.x + windowIn.width > mat->cols ||
108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 );
116 else if( nx + cur_rect.width > mat->cols )
117 nx = mat->cols - cur_rect.width;
154 // windowOut - Location, height and width of converged CAMSHIFT window
157 // width
177 double length = 0, width = 0; local
[all...]
/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp75 width = 0;
96 int width; // the width of the images received over the socket member in class:CVCapture_Socket
115 width = _width;
117 if (width <= 0 || height <= 0)
119 LOGV("Invalid width or height!");
141 readBufSize = width * height * sizeof(int);
158 width = 0;
187 static IplImage* loadPixels(char* pixels, int width, int height) { argument
190 IplImage *img = cvCreateImage(cvSize(width, heigh
294 cvCreateCameraCapture_Socket( const char *address, const char *port, int width, int height ) argument
[all...]
H A Dgrfmt_bmp.cpp494 int width, int height, int /*depth*/, int channels )
497 int fileStep = (width*channels + 3) & -4;
500 assert( data && width > 0 && height > 0 && step >= fileStep );
519 m_strm.PutDWord( width );
536 width *= channels;
540 m_strm.PutBytes( data, width );
541 if( fileStep > width )
542 m_strm.PutBytes( zeropad, fileStep - width );
493 WriteImage( const uchar* data, int step, int width, int height, int , int channels ) argument
H A Dgrfmt_exr.cpp590 int width, int height, int depth, int channels )
594 Header header( width, height );
636 buffer = (char *)new uint[width * channels];
642 buffer = (char *)new half[width * channels];
686 for(int i = 0; i < width * channels; i++)
692 for(int i = 0; i < width * channels; i++)
698 for(int i = 0; i < width * channels; i++)
708 for(int i = 0; i < width * channels; i++)
714 for(int i = 0; i < width * channels; i++)
589 WriteImage( const uchar* data, int step, int width, int height, int depth, int channels ) argument
H A Dgrfmt_jpeg2000.cpp403 int width, int height, int depth, int channels )
415 component_info[i].width = width;
435 result = WriteComponent8u( img, data, step, channels, width, height );
437 result = WriteComponent16u( img, (const unsigned short *)data, step / 2, channels, width, height );
402 WriteImage( const uchar* data, int step, int width, int height, int depth, int channels ) argument
H A Dgrfmt_pxm.cpp376 int width, int height, int depth, int _channels )
382 int fileStep = width*channels*(depth/8);
385 assert( data && width > 0 && height > 0 && step >= fileStep );
394 lineLength = channels * width * depth / 8;
396 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32;
411 width, height, (1 << depth) - 1 );
423 (uchar*)buffer, 0, cvSize(width,1) );
426 (ushort*)buffer, 0, cvSize(width,1) );
434 for( x = 0; x < width*channels*2; x += 2 )
451 for( x = 0; x < width*channel
375 WriteImage( const uchar* data, int step, int width, int height, int depth, int _channels ) argument
[all...]
H A Dgrfmt_sunras.cpp415 int width, int height, int /*depth*/, int channels )
418 int fileStep = (width*channels + 1) & -2;
421 assert( data && width > 0 && height > 0 && step >= fileStep);
426 m_strm.PutDWord( width );
414 WriteImage( const uchar* data, int step, int width, int height, int , int channels ) argument
/external/openfst/src/include/fst/script/
H A Ddraw-impl.h49 float width,
60 title_(title), width_(width), height_(height), portrait_(portrait),
43 FstDrawer(const Fst<A> &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, string title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one) argument
/external/openssl/apps/
H A Ds_time.c570 int width, i; local
602 width=i+1;
611 select(width,(void *)&readfds,NULL,NULL,NULL);
/external/openssl/crypto/bn/
H A Dbn_exp.c537 static int MOD_EXP_CTIME_COPY_TO_PREBUF(const BIGNUM *b, int top, unsigned char *buf, int idx, int width) argument
543 for (i = 0, j=idx; i < top * sizeof b->d[0]; i++, j+=width)
551 static int MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx, int width) argument
558 for (i=0, j=idx; i < top * sizeof b->d[0]; i++, j+=width)
/external/oprofile/libpp/
H A Dformat_output.h125 : width(w), header_name(h), formatter(f) {}
127 std::size_t width; member in struct:format_output::formatter::field_description

Completed in 427 milliseconds

<<11121314151617181920>>