/packages/apps/Messaging/jni/ |
GifTranscoder.cpp | 120 if (gifIn->SWidth < 0 || gifIn->SHeight < 0) { 121 LOGE("Input GIF has invalid size: %d x %d", gifIn->SWidth, gifIn->SHeight); 127 gifIn->SWidth / 2, 144 std::vector<GifByteType> srcBuffer(gifIn->SWidth * gifIn->SHeight); 147 std::unique_ptr<ColorARGB> renderBuffer(new ColorARGB[gifIn->SWidth * gifIn->SHeight]); 150 std::unique_ptr<GifByteType> dstRowBuffer(new GifByteType[gifOut->SWidth]); 179 gifIn->Image.Left + gifIn->Image.Width > gifIn->SWidth || 189 gifOut->SWidth, 222 for (int x = 0; x < gifOut->SWidth; x++) { 227 if (EGifPutLine(gifOut, dstRowBuffer.get(), gifOut->SWidth) == GIF_ERROR) [all...] |
/packages/apps/Gallery2/jni/filters/ |
kmeans.cc | 35 jint swidth, jint sheight, jint p, jint seed) 49 int len = swidth * sheight * 4;
|
/frameworks/ex/framesequence/jni/ |
FrameSequence_gif.h | 33 return mGif ? mGif->SWidth : 0;
|
FrameSequence_gif.cpp | 115 mGif->SWidth, mGif->SHeight, mGif->ImageCount, durationMs);
|
/hardware/intel/img/psb_video/src/x11/ |
psb_coverlay.c | 660 local_rect->sWidth = (unsigned short)(local_rect->dWidth * xScaleFactor); 662 extend_rect->sWidth = (unsigned short)(extend_rect->dWidth * xScaleFactor); 665 local_rect->srcx = srcx + extend_rect->sWidth; 707 local_rect->sWidth = (unsigned short)(local_rect->dWidth * xScaleFactor); 709 extend_rect->sWidth = (unsigned short)(extend_rect->dWidth * xScaleFactor); 713 extend_rect->srcx = srcx + local_rect->sWidth; 755 local_rect->sWidth = (unsigned short)(local_rect->dWidth * xScaleFactor); 757 extend_rect->sWidth = (unsigned short)(extend_rect->dWidth * xScaleFactor); 803 local_rect->sWidth = (unsigned short)(local_rect->dWidth * xScaleFactor); 805 extend_rect->sWidth = (unsigned short)(extend_rect->dWidth * xScaleFactor) [all...] |
psb_x11.h | 53 unsigned short sWidth;
|
/cts/tests/tests/media/src/android/media/cts/ |
EncodeVirtualDisplayTest.java | 80 private static int sWidth = ENCODER_PARAM_TABLE[ENCODER_PARAM_TABLE.length-1][0]; 188 sWidth = ENCODER_PARAM_TABLE[i][0]; 193 Log.d(TAG, "encoder parameters changed: width = " + sWidth + ", height = " + sHeight 211 MediaFormat encoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight); 233 sWidth, sHeight, DENSITY, inputSurface, 0); 237 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight); 238 outputSurface = new OutputSurface(sWidth, sHeight); 286 String fileName = DEBUG_FILE_NAME_BASE + sWidth + "x" + sHeight + ".mp4"; 480 int x = sWidth / 2;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterKMeans.java | 54 int swidth, int sheight, int p, int seed);
|
/external/libpng/ |
pngset.c | 363 int unit, png_const_charp swidth, png_const_charp sheight) 378 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 || 379 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw)) 401 memcpy(info_ptr->scal_s_width, swidth, lengthw); 442 char swidth[PNG_sCAL_MAX_DIGITS+1]; local 445 png_ascii_from_fp(png_ptr, swidth, (sizeof swidth), width, 450 png_set_sCAL_s(png_ptr, info_ptr, unit, swidth, sheight) 472 char swidth[PNG_sCAL_MAX_DIGITS+1]; local [all...] |
/external/pdfium/samples/fx_lpng/lpng_v163/ |
fx_pngset.c | 362 int unit, png_const_charp swidth, png_const_charp sheight)
377 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 ||
378 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw))
400 memcpy(info_ptr->scal_s_width, swidth, lengthw);
441 char swidth[PNG_sCAL_MAX_DIGITS+1];
local 444 png_ascii_from_fp(png_ptr, swidth, (sizeof swidth), width,
449 png_set_sCAL_s(png_ptr, info_ptr, unit, swidth, sheight); 471 char swidth[PNG_sCAL_MAX_DIGITS+1]; local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_overlay.c | 280 int swidth = ((offset + width + mask) >> shift) - (offset >> shift); local 281 swidth <<= 1; 282 swidth -= 1; 283 return swidth << 2; 420 unsigned int swidth, swidthy, swidthuv; local 541 overlay->SWIDTH = width | ((width / 2 & 0x7ff) << 16); 549 overlay->SWIDTH = width | ((width / 2 & 0x7ff) << 16); 558 overlay->SWIDTH = width; 559 swidth = ((offsety + (width << 1) + mask) >> shift) - 562 swidth <<= 1 [all...] |
psb_overlay.h | 205 uint32_t SWIDTH;
|
/frameworks/av/media/libstagefright/ |
MediaCodecListOverrides.cpp | 62 AString sWidth; 64 if (!splitString(minSize, "x", &sWidth, &sHeight)) { 65 if (!splitString(minSize, "*", &sWidth, &sHeight)) { 70 *width = strtol(sWidth.c_str(), NULL, 10);
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
OverlayHardware.h | 108 uint32_t SWIDTH;
|
OverlayPlaneBase.cpp | 801 uint32_t swidth = ((offset + width + 0x3F) >> 6) - (offset >> 6); local 803 swidth <<= 1; 804 swidth -= 1; 806 return swidth; 855 backBuffer->SWIDTH = width | ((width / 2) << 16); [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
OverlayHardware.h | 108 uint32_t SWIDTH;
|
OverlayPlaneBase.cpp | 773 uint32_t swidth = ((offset + width + 0x3F) >> 6) - (offset >> 6); local 775 swidth <<= 1; 776 swidth -= 1; 778 return swidth; 827 backBuffer->SWIDTH = width | ((width / 2) << 16); [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
mask.c | 54 VGint swidth, VGint sheight, 74 location[2] = MIN2(tx + swidth, MIN2(dwidth, tx + twidth)); 77 offsets[2] = MIN2(twidth, MIN2(dwidth - tx, swidth ));
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
findhalfpel.cpp | 200 Int swidth; local 236 swidth = lx; 249 d = (*SAD_Blk_HalfPel)(cand, cur8, dmin, lx, swidth, xh, yh, extra_info);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 192 public static final float sinValue(final float s, final float minFreq, final float maxFreq, final float swidth) {
194 float cutoff = ShaderUtils.clamp(0.5f / swidth, 0, maxFreq);
|
/external/skia/src/images/ |
SkMovie_gif.cpp | 94 info->fWidth = fGIF->SWidth; 353 const int width = gif->SWidth;
|
SkImageDecoder_libgif.cpp | 284 width = gif->SWidth;
|
/external/giflib/ |
gif_lib.h | 71 GifWord SWidth, SHeight; /* Size of virtual canvas */
|
egif_lib.c | 292 GifFile->SWidth = Width; [all...] |
/external/skia/src/codec/ |
SkCodec_libgif.cpp | 165 const int32_t width = gif->SWidth;
|