HomeSort by relevance Sort by last modified time
    Searched full:srcheight (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /packages/apps/Gallery2/jni/filters/
geometry.c 20 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){
24 int length = srcHeight;
34 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){
38 int length = srcHeight;
51 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){
57 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight);
63 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
67 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight);
73 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){
76 int length = srcHeight;
    [all...]
  /hardware/qcom/display/msm8226/libqdutils/
qd_utils.cpp 98 int srcHeight, hwc_rect_t& rect) {
101 if (srcWidth * destHeight > destWidth * srcHeight) {
102 srcHeight = destWidth * srcHeight / srcWidth;
104 } else if (srcWidth * destHeight < destWidth * srcHeight) {
105 srcWidth = destHeight * srcWidth / srcHeight;
106 srcHeight = destHeight;
109 srcHeight = destHeight;
112 if (srcHeight > destHeight) srcHeight = destHeight
    [all...]
qd_utils.h 52 int srcHeight, hwc_rect_t& rect);
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texstore.c 310 * \param srcHeight source image height
322 GLint srcWidth, GLint srcHeight, GLint srcDepth,
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
366 srcWidth, srcHeight,
369 for (row = 0; row < srcHeight; row++) {
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
404 n = srcWidth * srcHeight * srcDepth;
434 GLint srcWidth, GLint srcHeight, GLint srcDepth,
466 tempImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth
475 srcWidth, srcHeight,
    [all...]
texcompress_rgtc.c 108 srcWidth, srcHeight, srcDepth,
118 for (j = 0; j < srcHeight; j+=4) {
119 if (srcHeight > j + 3) numypixels = 4;
120 else numypixels = srcHeight - j;
155 srcWidth, srcHeight, srcDepth,
165 for (j = 0; j < srcHeight; j+=4) {
166 if (srcHeight > j + 3) numypixels = 4;
167 else numypixels = srcHeight - j;
203 srcWidth, srcHeight, srcDepth,
213 for (j = 0; j < srcHeight; j+=4)
    [all...]
texcompress_s3tc.c 182 srcWidth, srcHeight, srcDepth,
191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels,
235 srcWidth, srcHeight, srcDepth,
244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels,
288 srcWidth, srcHeight, srcDepth,
296 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
303 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels,
340 srcWidth, srcHeight, srcDepth
    [all...]
texstore.h 63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
77 GLint srcWidth, GLint srcHeight, GLint srcDepth,
86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
mipmap.h 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
mipmap.c     [all...]
  /external/mesa3d/src/mesa/main/
texstore.c 310 * \param srcHeight source image height
322 GLint srcWidth, GLint srcHeight, GLint srcDepth,
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
366 srcWidth, srcHeight,
369 for (row = 0; row < srcHeight; row++) {
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
404 n = srcWidth * srcHeight * srcDepth;
434 GLint srcWidth, GLint srcHeight, GLint srcDepth,
466 tempImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth
475 srcWidth, srcHeight,
    [all...]
texcompress_rgtc.c 108 srcWidth, srcHeight, srcDepth,
118 for (j = 0; j < srcHeight; j+=4) {
119 if (srcHeight > j + 3) numypixels = 4;
120 else numypixels = srcHeight - j;
155 srcWidth, srcHeight, srcDepth,
165 for (j = 0; j < srcHeight; j+=4) {
166 if (srcHeight > j + 3) numypixels = 4;
167 else numypixels = srcHeight - j;
203 srcWidth, srcHeight, srcDepth,
213 for (j = 0; j < srcHeight; j+=4)
    [all...]
texcompress_s3tc.c 182 srcWidth, srcHeight, srcDepth,
191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels,
235 srcWidth, srcHeight, srcDepth,
244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels,
288 srcWidth, srcHeight, srcDepth,
296 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
303 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels,
340 srcWidth, srcHeight, srcDepth
    [all...]
texstore.h 63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
77 GLint srcWidth, GLint srcHeight, GLint srcDepth,
86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
mipmap.h 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
mipmap.c     [all...]
  /hardware/ti/omap4-aah/libI420colorconvert/
ColorConvert.cpp 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
31 srcWidth * (srcHeight - srcRect.top / 2);
66 void* srcBits, int srcWidth, int srcHeight,
71 for(int i=0; i < srcHeight; i++) {
76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight);
77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2);
80 for(int i=0; i < srcHeight / 2; i++) {
  /hardware/ti/omap4xxx/libI420colorconvert/
ColorConvert.cpp 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
31 srcWidth * (srcHeight - srcRect.top / 2);
66 void* srcBits, int srcWidth, int srcHeight,
71 for(int i=0; i < srcHeight; i++) {
76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight);
77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2);
80 for(int i=0; i < srcHeight / 2; i++) {
  /frameworks/native/include/media/editor/
II420ColorConverter.h 71 * @param srcHeight (IN) Height of the I420 frame
86 void* srcBits, int srcWidth, int srcHeight,
100 * @param srcHeight (IN) Height of the I420 frame
112 int srcWidth, int srcHeight,
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
BitmapUtil.java 140 final int srcHeight = src.getHeight();
143 if (w == srcWidth && h == srcHeight) {
150 (float) h / srcHeight);
159 srcY = (int) (srcHeight * verticalCenterPercent - srcCroppedH / 2);
163 srcY = Math.max(Math.min(srcY, srcHeight - srcCroppedH), 0);
171 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale,
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
SkiaUtils.cpp 202 float srcHeight,
225 float diffHeight = fabs(destHeight - srcHeight);
233 || srcHeight <= kSmallImageSizeThreshold
242 || (!nearlyIntegral(destHeight) && srcHeight > 1 + std::numeric_limits<float>::epsilon()))
250 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) {
266 && (diffHeight / srcHeight < kFractionalChangeThreshold)) {
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicResize.cpp 188 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
195 int maxy = srcHeight - 1;
228 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
235 int maxy = srcHeight - 1;
268 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
275 int maxy = srcHeight - 1;
315 const uint32_t srcHeight = mAlloc->mHal.drvState.lod[0].dimY;
333 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY;
  /frameworks/av/include/media/stagefright/
ColorConverter.h 38 size_t srcWidth, size_t srcHeight,
  /external/deqp/framework/delibs/deimage/
deImage.c 120 int srcHeight = srcImage->height;
141 int y1 = deClamp32(y0+1, 0, srcHeight-1);
143 DE_ASSERT(deInBounds32(y0, 0, srcHeight));
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_blit.c 117 const GLint srcHeight = ABS(srcY1 - srcY0);
250 srcWidth, srcHeight,
281 GLint srcRow = (dstRow * srcHeight) / dstHeight;
285 ASSERT(srcRow < srcHeight);
288 srcRow = srcHeight - 1 - srcRow;
497 const GLint srcHeight = ABS(srcY1 - srcY0);
609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF;
615 ASSERT(srcRow < srcHeight);
617 if (srcRow1 == srcHeight) {
624 srcRow0 = srcHeight - 1 - srcRow0
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_blit.c 117 const GLint srcHeight = ABS(srcY1 - srcY0);
250 srcWidth, srcHeight,
281 GLint srcRow = (dstRow * srcHeight) / dstHeight;
285 ASSERT(srcRow < srcHeight);
288 srcRow = srcHeight - 1 - srcRow;
497 const GLint srcHeight = ABS(srcY1 - srcY0);
609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF;
615 ASSERT(srcRow < srcHeight);
617 if (srcRow1 == srcHeight) {
624 srcRow0 = srcHeight - 1 - srcRow0
    [all...]

Completed in 5018 milliseconds

1 2 3 4 5