Home
last modified time | relevance | path

Searched refs:imageSize (Results 1 – 25 of 52) sorted by relevance

123

/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp685 …er& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textur… in setTextureStorage() argument
694 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage()
699 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1); in setTextureStorage()
707 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y()); in setTextureStorage()
708 DE_ASSERT(imageSize.z() == 1); in setTextureStorage()
713 …glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z()… in setTextureStorage()
725 const IVec3& imageSize = src.getSize(); in uploadTexture() local
727 setTextureStorage(glLog, src.getImageType(), internalFormat, imageSize, textureBufGL); in uploadTexture()
744 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture()
747 …glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format,… in uploadTexture()
[all …]
Des31fTextureSpecificationTests.cpp594 int imageSize, in TexImageCubeArrayDepthCase() argument
596 …name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, maxLevelCount(imageSiz… in TexImageCubeArrayDepthCase()
639 int imageSize, in TexSubImageCubeArrayDepthCase() argument
641 …name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, maxLevelCount(imageSiz… in TexSubImageCubeArrayDepthCase()
708 int imageSize, in TexImageCubeArrayDepthBufferCase() argument
710 …raySpecCase(context, name, desc, glu::mapGLInternalFormat(internalFormat), imageSize, numLayers, 1) in TexImageCubeArrayDepthBufferCase()
/external/opencv/cvaux/src/
Dcvepilines.cpp667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *p… in icvGetAngleLine() argument
678 pb.x = imageSize.width-1; in icvGetAngleLine()
681 pd.x = imageSize.width-1; in icvGetAngleLine()
682 pd.y = imageSize.height-1; in icvGetAngleLine()
685 pc.y = imageSize.height-1; in icvGetAngleLine()
697 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine()
708 else if ( startPoint.x > imageSize.width-1 ) in icvGetAngleLine()
715 else if ( startPoint.y > imageSize.height-1 ) in icvGetAngleLine()
730 if( startPoint.x < imageSize.width/2 ) in icvGetAngleLine()
741 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine()
[all …]
/external/mesa3d/src/glx/
Dpixel.c177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local
209 imageSize = rowSize * rowsPerImage; in __glFillImage()
210 start = ((const GLubyte *) userdata) + skipImages * imageSize + in __glFillImage()
230 itera += imageSize; in __glFillImage()
250 itera += imageSize; in __glFillImage()
404 GLint imageSize, rowsPerImage; in __glEmptyImage() local
436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
437 start = ((GLubyte *) userdata) + skipImages * imageSize + in __glEmptyImage()
458 itera += imageSize; in __glEmptyImage()
/external/opencv/
Dcvjni.cpp151 int imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_getSourceImage() local
152 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_getSourceImage()
157 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_getSourceImage()
257 int imageSize; in Java_org_siprop_opencv_OpenCV_findContours() local
270 imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_findContours()
271 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_findContours()
276 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_findContours()
701 int imageSize;
765 imageSize = m_strm->GetSize();
766 res_array = env->NewBooleanArray(imageSize);
[all …]
/external/mesa3d/src/mesa/main/
Dteximage.h259 GLint border, GLsizei imageSize,
265 GLsizei height, GLint border, GLsizei imageSize,
272 GLsizei imageSize, const GLvoid *data);
282 GLsizei imageSize, const GLvoid *data);
287 GLenum format, GLsizei imageSize,
294 GLsizei imageSize, const GLvoid *data);
Dtexstore.h112 GLsizei imageSize, const GLvoid *data);
121 GLsizei imageSize, const GLvoid *data);
Dteximage.c1973 GLsizei imageSize) in compressed_texture_error_check() argument
2098 if (expectedSize != imageSize) { in compressed_texture_error_check()
2921 GLsizei imageSize, const GLvoid *pixels) in teximage() argument
2963 border, imageSize); in teximage()
2988 width, height, imageSize, pixels); in teximage()
3079 imageSize, pixels); in teximage()
3598 GLenum format, GLsizei imageSize) in compressed_subtexture_error_check() argument
3665 if (expectedSize != imageSize) in compressed_subtexture_error_check()
3736 GLint border, GLsizei imageSize, in _mesa_CompressedTexImage1DARB() argument
3741 width, 1, 1, border, GL_NONE, GL_NONE, imageSize, data); in _mesa_CompressedTexImage1DARB()
[all …]
Dtexcompress_cpal.h35 GLsizei imageSize, const void *palette);
Dpbo.c371 GLsizei imageSize, const GLvoid *pixels, in _mesa_validate_pbo_compressed_teximage() argument
381 if ((const GLubyte *) pixels + imageSize > in _mesa_validate_pbo_compressed_teximage()
Dpbo.h84 GLsizei imageSize, const GLvoid *pixels,
Dtexcompress_cpal.c169 GLsizei imageSize, const void *palette) in _mesa_cpal_compressed_teximage2d() argument
/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_L_C_.py491 writer.simpletag('imageSize', value=self.imageSize)
501 self.imageSize = safeEval(attrs['value'])
510 …assert len(data) <= self.imageSize, "Data in indexSubTable format %d must be less than the fixed s…
512 pad = (self.imageSize - len(data)) * b'\0'
521 (self.imageSize,) = struct.unpack(">L", self.data[:4])
525 offsets = [self.imageSize * i + self.imageDataOffset for i in range(len(glyphIds)+1)]
536 dataList.append(struct.pack(">L", self.imageSize))
587 (self.imageSize,) = struct.unpack(">L", self.data[:4])
594 offsets = [self.imageSize * i + self.imageDataOffset for i in range(len(glyphIds)+1)]
601 dataList.append(struct.pack(">L", self.imageSize))
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c485 GLsizei imageSize, in nouveau_teximage() argument
504 imageSize, in nouveau_teximage()
557 GLsizei imageSize, const GLvoid *data) in nouveau_compressed_teximage() argument
559 nouveau_teximage(ctx, 2, ti, imageSize, 0, 0, data, in nouveau_compressed_teximage()
568 GLsizei imageSize, in nouveau_texsubimage() argument
579 imageSize, in nouveau_texsubimage()
626 GLint imageSize, const void *data) in nouveau_compressed_texsubimage() argument
629 width, height, depth, imageSize, format, 0, data, in nouveau_compressed_texsubimage()
/external/deqp/modules/internal/
DditImageIOTests.cpp63 const int imageSize = texture.getAccess().getSlicePitch()*texture.getDepth(); in iterate() local
64 const deUint32 hash = deMemoryHash(texture.getAccess().getDataPtr(), imageSize); in iterate()
/external/skia/src/sfnt/
DSkOTTable_EBLC.h109 SK_OT_ULONG imageSize; // all glyphs are of the same size member
133 SK_OT_ULONG imageSize; //all glyphs have the same data size member
/external/deqp/framework/common/
DtcuTestLog.cpp144 static Vector<int, Size> computeScaledSize (const Vector<int, Size>& imageSize, int maxSize) in computeScaledSize() argument
148 allInRange = allInRange && (imageSize[i] <= maxSize); in computeScaledSize()
151 return imageSize; in computeScaledSize()
156 d = de::max(d, (float)imageSize[i] / (float)maxSize); in computeScaledSize()
160 res[i] = deRoundFloatToInt32((float)imageSize[i] / d); in computeScaledSize()
/external/opencv/cvaux/include/
Dcvaux.h589 CvSize imageSize,
638 CVAPI(int) icvGetAngleLine( CvPoint2D64f startPoint, CvSize imageSize,CvPoint2D64f *point1,CvPoint2…
677 CVAPI(void) icvGetCrossRectDirect( CvSize imageSize,
686 CVAPI(void) icvGetQuadsTransform( CvSize imageSize,
707 CvSize imageSize,
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.hpp69 … level, deUint32 internalformat, int width, int height, int border, int imageSize, const void* dat…
70 …, int xoffset, int yoffset, int width, int height, deUint32 format, int imageSize, const void* dat…
199 …int32 internalformat, int width, int height, int depth, int border, int imageSize, const void* dat…
200 …et, int zoffset, int width, int height, int depth, deUint32 format, int imageSize, const void* dat…
/external/mesa3d/include/GL/
Dgl.h1857 …Lint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *d…
1859 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *d…
1861 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *d…
1863 …rget, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *d…
1865 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *d…
1867 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *d…
1949 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *d…
1950 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *d…
1951 …Lint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *d…
1952 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *d…
[all …]
/external/opencv/cv/src/
Dcvcalibration.cpp1339 CvSize imageSize, in cvInitIntrinsicParams2D() argument
1371 a[2] = (imageSize.width - 1)*0.5; in cvInitIntrinsicParams2D()
1372 a[5] = (imageSize.height - 1)*0.5; in cvInitIntrinsicParams2D()
1446 CvSize imageSize, in cvCalibrateCamera2() argument
1469 if( imageSize.width <= 0 || imageSize.height <= 0 ) in cvCalibrateCamera2()
1551 if( A[2] < 0 || A[2] >= imageSize.width || in cvCalibrateCamera2()
1552 A[5] < 0 || A[5] >= imageSize.height ) in cvCalibrateCamera2()
1585 cvInitIntrinsicParams2D( _M, _m, npoints, imageSize, &_A, aspectRatio ); in cvCalibrateCamera2()
1832 CvSize imageSize, CvMat* _R, CvMat* _T, in cvStereoCalibrate() argument
1918 npoints, imageSize, &K[k], &Dist[k], 0, 0, flags ); in cvStereoCalibrate()
[all …]
/external/skia/src/gpu/gl/
DGrGLNoOpInterface.h57 GrGLsizei imageSize,
67 GrGLsizei imageSize,
DGrGLNoOpInterface.cpp101 GrGLsizei imageSize, in noOpGLCompressedTexImage2D() argument
112 GrGLsizei imageSize, in noOpGLCompressedTexSubImage2D() argument
/external/deqp/doc/
DGLES3 Negative API Functions.txt274 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* d…
275 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* d…
291 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* d…
292 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* d…
/external/deqp/doc/testspecs/GLES31/
Dfunctional.image_load_store.txt36 + imageSize()
118 The imageSize() cases read the size of an image in the shader, and store a

123