Searched defs:format (Results 226 - 246 of 246) sorted by path

12345678910

/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp865 void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data) { argument
907 // copy argument format
911 arg_format->add_intvalue((int)format);
928 glContext->hooks->gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
3575 void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) { argument
3605 // copy argument format
3609 arg_format->add_intvalue((int)format);
3626 glContext->hooks->gl.glReadPixels(x, y, width, height, format, type, pixels);
4124 void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { argument
4166 // copy argument format
4363 GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) argument
6021 GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) argument
6104 GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) argument
6346 GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) argument
8040 GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) argument
10791 GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) argument
[all...]
H A Dgltrace_fixup.cpp32 unsigned getBytesPerTexel(const GLenum format, const GLenum type) { argument
41 format. Color components are treated as groups of one, two, three, or four values,
42 again based on format. Groups of components are referred to as texels.
62 switch (format) {
74 ALOGE("GetBytesPerPixel: unknown format %x", format);
169 GLenum format = arg_format.intvalue(0); local
173 int bytesPerTexel = getBytesPerTexel(format, type);
195 GLenum format,
212 GLenum format,
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp70 * made and reported for each of the known graphic format.
171 uint32_t format; member in class:Rectangle
242 uint32_t format; member in struct:meas
278 uint32_t maxOverlays(uint32_t format, bool allowOverlap);
279 list<uint32_t> supportedTransforms(uint32_t format);
280 list<uint32_t> supportedBlends(uint32_t format);
281 uint32_t dfMinWidth(uint32_t format);
282 uint32_t dfMinHeight(uint32_t format);
283 uint32_t dfMaxWidth(uint32_t format);
284 uint32_t dfMaxHeight(uint32_t format);
435 const struct hwcTestGraphicFormat *format; local
638 maxOverlays(uint32_t format, bool allowOverlap) argument
674 supportedTransforms(uint32_t format) argument
699 supportedBlends(uint32_t format) argument
724 dfMinWidth(uint32_t format) argument
748 dfMinHeight(uint32_t format) argument
772 dfMaxWidth(uint32_t format) argument
796 dfMaxHeight(uint32_t format) argument
821 dfMinDim(uint32_t format) argument
862 dfMaxDim(uint32_t format) argument
911 scMinWidth(uint32_t format, const HwcTestDim& dfDim) argument
931 scMinHeight(uint32_t format, const HwcTestDim& dfDim) argument
950 scMaxWidth(uint32_t format, const HwcTestDim& dfDim) argument
969 scMaxHeight(uint32_t format, const HwcTestDim& dfDim) argument
993 scMinDim(uint32_t format, const HwcTestDim& dfDim) argument
1034 scMaxDim(uint32_t format, const HwcTestDim& dfDim) argument
1099 scHScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
1198 scVScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
[all...]
H A DhwcRects.cpp68 * of the graphic format and then the display frame rectangle where
80 * a list of attributes and the format of their expected value.
146 Rectangle() : format(defaultFormat), transform(defaultTransform),
152 uint32_t format; member in class:Rectangle
369 const struct hwcTestGraphicFormat *format; local
376 testPrintE("Error parsing format from: %s", rectStr.c_str());
379 format = hwcTestGraphicFormatLookup(str.c_str());
380 if (format == NULL) {
381 testPrintE("Unknown graphic format in: %s", rectStr.c_str());
384 rect.format
[all...]
H A DhwcStress.cpp42 * row point to graphic buffers which use the same pixel format and
48 * in a particular row have the same pixel format and dimension,
547 * format and dimension. Each graphic buffer is uniformly filled with a
566 // All frames within a row have to have the same format and
571 int format = formatPtr->format; local
586 testPrintI(" frame %u width: %u height: %u format: %u %s",
587 row, w, h, format, hwcTestGraphicFormat2str(format));
596 frames[row][col] = new GraphicBuffer(w, h, format, texUsag
[all...]
H A DhwcTestLib.cpp354 // of the graphic format named by the desc parameter. Search failure
368 // of the graphic format specified by the id parameter. Search failure
373 if (id == hwcTestGraphicFormat[n1].format) {
382 // Given the integer ID of a graphic format, return a pointer to
383 // a string that describes the format.
384 const char *hwcTestGraphicFormat2str(uint32_t format) argument
389 if (format == hwcTestGraphicFormat[n1].format) {
541 // Returns a uint32_t that contains a format specific representation of a
543 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFrac argument
546 uint32_t format; member in struct:attrib
609 int format; member in struct:attrib
799 uint32_t format; member in struct:attrib
[all...]
H A DhwcTestLib.h40 uint32_t format; member in struct:hwcTestGraphicFormat
113 const char *hwcTestGraphicFormat2str(uint32_t format);
122 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h42 int32_t format,
79 int32_t format,
105 if (nativeVisualId>0 && format == nativeVisualId) {
128 int format; local
133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument
/frameworks/native/services/surfaceflinger/
H A DClient.cpp114 uint32_t w, uint32_t h, PixelFormat format,
129 PixelFormat format; member in class:android::MessageCreateLayer
135 uint32_t w, uint32_t h, PixelFormat format,
138 w(w), h(h), format(format), flags(flags)
144 w, h, format, flags);
150 params, name, this, w, h, format, flags);
111 createSurface( ISurfaceComposerClient::surface_data_t* params, const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
132 MessageCreateLayer(SurfaceFlinger* flinger, ISurfaceComposerClient::surface_data_t* params, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
H A DDisplayDevice.cpp128 int format; local
129 window->query(window, NATIVE_WINDOW_FORMAT, &format);
144 mFormat = format;
H A DLayer.cpp165 PixelFormat format, uint32_t flags)
167 // this surfaces pixel format
169 status_t err = getPixelFormatInfo(format, &info);
171 ALOGE("unsupported pixelformat %d", format);
185 mFormat = format;
190 mCurrentOpacity = getOpacityForFormat(format);
193 mSurfaceTexture->setDefaultBufferFormat(format);
395 bool Layer::getOpacityForFormat(uint32_t format) argument
397 if (HARDWARE_IS_DEVICE_FORMAT(format)) {
401 status_t err = getPixelFormatInfo(PixelFormat(format),
164 setBuffers( uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
[all...]
H A DSurfaceFlinger.cpp475 EGLint format = mHwc->getVisualID(); local
476 mEGLConfig = selectEGLConfig(mEGLDisplay, format);
1860 uint32_t w, uint32_t h, PixelFormat format,
1875 layer = createNormalLayer(client, w, h, flags, format);
1904 PixelFormat& format)
1907 switch (format) {
1910 format = PIXEL_FORMAT_RGBA_8888;
1914 format = PIXEL_FORMAT_RGB_565;
1916 format = PIXEL_FORMAT_RGBX_8888;
1922 if (format
1856 createLayer( ISurfaceComposerClient::surface_data_t* params, const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
1901 createNormalLayer( const sp<Client>& client, uint32_t w, uint32_t h, uint32_t flags, PixelFormat& format) argument
2732 captureScreen(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DGraphicBufferAlloc.cpp35 PixelFormat format, uint32_t usage, status_t* error) {
36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage));
34 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
H A DHWComposer.cpp178 disp.format = mFbDev->format;
372 // FIXME: what should we set the format to?
373 mDisplayData[disp].format = HAL_PIXEL_FORMAT_RGBA_8888;
431 return mDisplayData[disp].format;
718 return mFbDev->format;
934 " type | handle | hints | flags | tr | blend | format | source crop | frame name \n"
939 int32_t format = -1; local
948 format = buffer->getPixelFormat();
957 format
[all...]
H A DHWComposer.h297 uint32_t format; // pixel format from FB hal, for pre-hwc-1.1 member in struct:android::HWComposer::DisplayData
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java82 * Indicates a 3GPP format SMS message.
88 * Indicates a 3GPP2 format SMS message.
130 * intent <b>must</b> now pass the new {@code format} String extra from the intent
132 * extra format parameter. This is required in order to correctly decode the PDU on
138 String format = (PHONE_TYPE_CDMA == activePhone) ?
140 return createFromPdu(pdu, format);
144 * Create an SmsMessage from a raw PDU with the specified message format. The
145 * message format is passed in the {@code SMS_RECEIVED_ACTION} as the {@code format}
146 * String extra, and will be either "3gpp" for GSM/UMTS/LTE messages in 3GPP format
153 createFromPdu(byte[] pdu, String format) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResponseData.java36 public abstract void format(ByteArrayOutputStream buf); method in class:ResponseData
59 public void format(ByteArrayOutputStream buf) { method in class:SelectItemResponseData
98 public void format(ByteArrayOutputStream buf) { method in class:GetInkeyInputResponseData
114 // ETSI TS 102 223 8.15, should use the same format as in SMS messages
171 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData
209 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsCbHeader.java42 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1
47 * UMTS pdu format, as defined in 3gpp TS 23.041, section 9.4.2
52 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1.3
85 private final int format; field in class:SmsCbHeader
99 // can be ETWS or GSM format.
100 // Per TS23.041 9.4.1.2 and 9.4.1.3.2, GSM and ETWS format both
107 format = FORMAT_ETWS_PRIMARY;
127 format = FORMAT_GSM;
145 format = FORMAT_UMTS;
240 return format
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java253 return String.format("family: %s, given: %s, middle: %s, prefix: %s, suffix: %s",
369 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mNumber,
459 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mAddress,
678 return String.format("type: %d, label: %s, isPrimary: %s, pobox: %s, "
835 return String.format(
938 return String.format(
984 public PhotoData(String format, byte[] photoBytes, boolean isPrimary) { argument
985 mFormat = format;
1044 return String.format("format
[all...]
/frameworks/support/volley/src/com/android/volley/
H A DVolleyLog.java32 public static void v(String format, Object... args) { argument
34 Log.v(TAG, buildMessage(format, args));
38 public static void d(String format, Object... args) { argument
39 Log.d(TAG, buildMessage(format, args));
42 public static void e(String format, Object... args) { argument
43 Log.e(TAG, buildMessage(format, args));
46 public static void wtf(String format, Object... args) { argument
47 Log.wtf(TAG, buildMessage(format, args));
50 public static void wtf(Throwable tr, String format, Object... args) { argument
51 Log.wtf(TAG, buildMessage(format, arg
58 buildMessage(String format, Object... args) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c95 PCM *format; local
98 for (format = formats; format->numChannels; ++format) {
100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels,
101 format->milliHz / 1000, format->bitsPerSample);
109 format_pcm.numChannels = format->numChannels;
110 format_pcm.samplesPerSec = format->milliHz;
111 format_pcm.bitsPerSample = format
[all...]

Completed in 265 milliseconds

12345678910