Home
last modified time | relevance | path

Searched refs:ImageFormat (Results 1 – 19 of 19) sorted by relevance

/external/deqp/modules/glshared/
DglsFboUtil.hpp92 struct ImageFormat struct
99 bool operator< (const ImageFormat& other) const in operator <() argument
105 static ImageFormat none (void) in none() argument
107 ImageFormat fmt = { GL_NONE, GL_NONE }; in none()
112 std::ostream& operator<< (std::ostream& stream, const ImageFormat& format);
114 static inline ImageFormat formatKeyInfo(FormatKey key) in formatKeyInfo()
116 ImageFormat fmt = { key & 0xffff, key >> 16 }; in formatKeyInfo()
138 typedef std::set<ImageFormat> Formats;
143 void addCoreFormat (ImageFormat format, FormatFlags flags);
144 …void addExtensionFormat (ImageFormat format, FormatFlags flags, const std::set<std::strin…
[all …]
DglsFboCompletenessTests.cpp429 static bool isFormatFeatureSupported (const FormatDB& db, const ImageFormat& format, FormatFlags fe… in isFormatFeatureSupported()
434 static void logAffectingExtensions (const char* prefix, const FormatDB& db, const ImageFormat& form… in logAffectingExtensions()
471 std::set<ImageFormat> formats; in logFormatInfo()
482 for (std::set<ImageFormat>::const_iterator it = formats.begin(); it != formats.end(); ++it) in logFormatInfo()
677 ImageFormat TestBase::getDefaultFormat (GLenum attPoint, GLenum bufType) const in getDefaultFormat()
681 return ImageFormat::none(); in getDefaultFormat()
701 Image* makeImage (GLenum bufType, ImageFormat format, in makeImage()
724 Attachment* makeAttachment (GLenum bufType, ImageFormat format, in makeAttachment()
752 void TestBase::attachTargetToNew (GLenum target, GLenum bufType, ImageFormat format, in attachTargetToNew()
755 ImageFormat imgFmt = format; in attachTargetToNew()
[all …]
DglsFboCompletenessTests.hpp102 ImageFormat getDefaultFormat (GLenum attPoint, GLenum bufType) const;
109 ImageFormat format,
116 Image* makeImage (GLenum bufType, ImageFormat format,
118 Attachment* makeAttachment (GLenum bufType, ImageFormat format,
DglsFboUtil.cpp79 std::ostream& operator<< (std::ostream& stream, const ImageFormat& format) in operator <<()
93 void FormatDB::addCoreFormat (ImageFormat format, FormatFlags newFlags) in addCoreFormat()
99 void FormatDB::addExtensionFormat (ImageFormat format, FormatFlags newFlags, const std::set<std::st… in addExtensionFormat()
132 bool FormatDB::isKnownFormat (ImageFormat format) const in isKnownFormat()
137 FormatFlags FormatDB::getFormatInfo (ImageFormat format) const in getFormatInfo()
143 std::set<std::set<std::string> > FormatDB::getFormatFeatureExtensions (ImageFormat format, FormatFl… in getFormatFeatureExtensions()
988 TransferFormat transferImageFormat (const ImageFormat& imgFormat) in transferImageFormat()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCameraParameters.java3 import android.graphics.ImageFormat;
22 private int previewFormat = ImageFormat.NV21;
71 formats.add(ImageFormat.NV21); in getSupportedPictureFormats()
72 formats.add(ImageFormat.JPEG); in getSupportedPictureFormats()
79 formats.add(ImageFormat.NV21); in getSupportedPreviewFormats()
80 formats.add(ImageFormat.JPEG); in getSupportedPreviewFormats()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCameraParametersTest.java4 import android.graphics.ImageFormat;
77 assertThat(shadowParameters.getPreviewFormat(), equalTo(ImageFormat.NV21)); in testPreviewFormat()
78 parameters.setPreviewFormat(ImageFormat.JPEG); in testPreviewFormat()
79 assertThat(shadowParameters.getPreviewFormat(), equalTo(ImageFormat.JPEG)); in testPreviewFormat()
87 assertThat(supportedFormats, hasItem(ImageFormat.NV21)); in testGetSupportedPreviewFormats()
95 assertThat(supportedFormats, hasItem(new Integer(ImageFormat.NV21))); in testGetSupportedPictureFormats()
DCameraTest.java5 import android.graphics.ImageFormat;
73 assertThat(parameters.getPreviewFormat(), equalTo(ImageFormat.NV21)); in testSetParameters()
74 parameters.setPreviewFormat(ImageFormat.JPEG); in testSetParameters()
76 assertThat(camera.getParameters().getPreviewFormat(), equalTo(ImageFormat.JPEG)); in testSetParameters()
/external/deqp/modules/gles2/functional/
Des2fFboCompletenessTests.cpp246 ImageFormat colorFmt;
248 ImageFormat depthFmt;
250 ImageFormat stencilFmt;
262 GLenum formatKind (ImageFormat fmt);
282 GLenum SupportedCombinationTest::formatKind (ImageFormat fmt) in formatKind()
298 const ImageFormat none = ImageFormat::none(); in iterate()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DPixmapPackerIO.java18 public static enum ImageFormat { enum in PixmapPackerIO
31 ImageFormat(String extension) { in ImageFormat() method in PixmapPackerIO.ImageFormat
38 public ImageFormat format = ImageFormat.PNG;
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java32 import android.graphics.ImageFormat;
74 public final int imageFormat = ImageFormat.NV21;
94 if (imageFormat != ImageFormat.NV21) { in frameSize()
98 return (width * height * ImageFormat.getBitsPerPixel(imageFormat)) / 8; in frameSize()
DCamera2Enumerator.java33 import android.graphics.ImageFormat;
97 final Size[] sizes = streamMap.getOutputSizes(ImageFormat.YUV_420_888); in getSupportedFormats()
106 minFrameDurationNs = streamMap.getOutputMinFrameDuration(ImageFormat.YUV_420_888, size); in getSupportedFormats()
/external/vboot_reference/firmware/include/
Dbmpblk_header.h125 typedef enum ImageFormat { enum
129 } ImageFormat; typedef
/external/sl4a/Common/src/com/googlecode/android_scripting/webcam/
DWebCamFacade.java34 import android.graphics.ImageFormat;
175 new YuvImage(yuvData, ImageFormat.NV21, mPreviewWidth, mPreviewHeight, null); in compressYuvToJpeg()
251 mParameters.setPictureFormat(ImageFormat.JPEG); in openCamera()
252 mParameters.setPreviewFormat(ImageFormat.JPEG); in openCamera()
/external/vboot_reference/utility/include/
Dimage_types.h17 ImageFormat identify_image_type(const void *buf, uint32_t bufsize,
/external/opencv3/modules/java/generator/src/java/
Dandroid+JavaCameraView.java6 import android.graphics.ImageFormat;
147 params.setPreviewFormat(ImageFormat.NV21); in initializeCamera()
176 size = size * ImageFormat.getBitsPerPixel(params.getPreviewFormat()) / 8; in initializeCamera()
/external/vboot_reference/utility/
Dimage_types.c35 ImageFormat identify_image_type(const void *buf, uint32_t bufsize, in identify_image_type()
/external/mesa3d/include/CL/
Dcl.hpp1160 struct ImageFormat : public cl_image_format struct
1162 ImageFormat(){} in ImageFormat() argument
1164 ImageFormat(cl_channel_order order, cl_channel_type type) in ImageFormat() function
1170 ImageFormat& operator = (const ImageFormat& rhs) in operator =() argument
1500 VECTOR_CLASS<ImageFormat>* formats) const in getSupportedImageFormats()
1514 ImageFormat* value = (ImageFormat*) in getSupportedImageFormats()
1515 alloca(numEntries * sizeof(ImageFormat)); in getSupportedImageFormats()
1985 ImageFormat format, in Image2D()
2066 ImageFormat format, in Image3D()
/external/deqp/modules/gles3/functional/
Des3fFboCompletenessTests.cpp404 const ImageFormat fmt = { s_formats[i], GL_NONE }; in build()
/external/opencv3/3rdparty/include/opencl/1.2/CL/
Dcl.hpp1876 struct ImageFormat : public cl_image_format struct
1879 ImageFormat(){} in ImageFormat() function
1882 ImageFormat(cl_channel_order order, cl_channel_type type) in ImageFormat() function
1889 ImageFormat& operator = (const ImageFormat& rhs) in operator =() argument
2582 VECTOR_CLASS<ImageFormat>* formats) const in getSupportedImageFormats()
2596 ImageFormat* value = (ImageFormat*) in getSupportedImageFormats()
2597 alloca(numEntries * sizeof(ImageFormat)); in getSupportedImageFormats()
3507 ImageFormat format, in Image1D()
3581 ImageFormat format, in Image1DBuffer()
3638 ImageFormat format, in Image1DArray()
[all …]