HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 651 - 675 of 4595) sorted by null

<<21222324252627282930>>

  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
SoftMPEG4Encoder.cpp 253 def.format.video.cMIMEType = const_cast<char *>("video/raw");
255 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
256 def.format.video.eColorFormat = OMX_COLOR_FormatYUV420Planar;
257 def.format.video.xFramerate = (mVideoFrameRate << 16); // Q16 format
258 def.format.video.nBitrate = mVideoBitRate;
259 def.format.video.nFrameWidth = mVideoWidth;
260 def.format.video.nFrameHeight = mVideoHeight;
261 def.format.video.nStride = mVideoWidth;
262 def.format.video.nSliceHeight = mVideoHeight
    [all...]
  /device/generic/goldfish/opengl/system/egl/
eglDisplay.cpp 195 PixelFormat format; local
196 if (getConfigNativePixelFormat(config, &format)) {
197 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format);
451 EGLBoolean eglDisplay::getConfigNativePixelFormat(EGLConfig config, PixelFormat * format)
460 ALOGE("Couldn't find value for one of the pixel format attributes");
464 //calculate the GL internal format
465 if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888; //XXX: BGR?
466 else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_8888; //XXX or PIXEL_FORMAT_RGB_888
467 else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_565;
468 else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_5551
    [all...]
  /external/icu4c/test/cintltst/
cdtdptst.c 15 /* INDEPTH TEST FOR DATE FORMAT */
62 log_data_err("FAIL: Error in creating a date format using udat_openPattern %s - (Are you missing data?)\n",
121 /* this is supposed to open default date format, but later on it treats it like it is "en_US"
141 log_data_err("FAIL: could not format \n");
155 void tryPat994(UDateFormat* format, const char* pattern, const char* s, UDate expected)
168 udat_applyPattern(format, FALSE, pat, u_strlen(pat));
170 date = udat_parse(format, str, u_strlen(str), &pos, &status);
174 log_err("FAIL: Expected: %s\n", austrdup(myDateFormat(format, expected)) );
177 f=myDateFormat(format, date);
198 UDateFormat *format; local
303 UDateFormat *format; local
    [all...]
  /cts/hostsidetests/aadb/src/com/android/cts/aadb/
TestDeviceFuncTest.java 63 assertTrue(String.format("Expected at least %d characters; only saw %d", mMinBugreportBytes,
102 deviceFilePath = String.format("%s/%s", externalStorePath, "tmp_testPushPull.txt");
104 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
105 assertFalse(String.format("%s exists", deviceFilePath),
118 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
140 deviceFilePath = String.format("%s/%s", externalStorePath, filename);
142 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
143 assertFalse(String.format("%s exists", deviceFilePath),
163 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
179 String deviceFilePath = String.format("%s/%s", externalStorePath, "thisfiledoesntexist")
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 92 private String format; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
98 this.format = format;
107 return format;
  /external/bison/lib/
printf-parse.h 1 /* Parse printf format string.
47 xxx_directives: A parsed format string. */
69 /* A parsed format string. */
99 /* A parsed format string. */
127 /* A parsed format string. */
155 /* A parsed format string. */
169 /* Parses the format string. Fills in the number N of directives, and fills
171 to the end of the format string. Also fills in the arg_type fields of the
175 ulc_printf_parse (const char *format, char_directives *d, arguments *a);
177 u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a)
    [all...]
  /external/dropbear/
dbutil.c 59 static void generic_dropbear_exit(int exitcode, const char* format,
61 static void generic_dropbear_log(int priority, const char* format,
64 void (*_dropbear_exit)(int exitcode, const char* format, va_list param)
66 void (*_dropbear_log)(int priority, const char* format, va_list param)
81 /* the "format" string must be <= 100 characters */
82 void dropbear_close(const char* format, ...) {
86 va_start(param, format);
87 _dropbear_exit(EXIT_SUCCESS, format, param);
92 void dropbear_exit(const char* format, ...) {
96 va_start(param, format);
    [all...]
  /external/elfutils/backends/
i386_corenote.c 83 .name = "orig_eax", .type = ELF_T_SWORD, .format = 'd', \
111 { .type = ELF_T_WORD, .offset = 0x0, .format = 'd', .name = "index" },
112 { .type = ELF_T_WORD, .offset = 0x4, .format = 'x', .name = "base" },
113 { .type = ELF_T_WORD, .offset = 0x8, .format = 'x', .name = "limit" },
114 { .type = ELF_T_WORD, .offset = 0xc, .format = 'x', .name = "flags" },
  /external/libxml2/include/libxml/
HTMLtree.h 82 int format);
102 int format);
111 int format);
118 int format);
127 int format);
  /external/llvm/unittests/Support/
raw_ostream_test.cpp 12 #include "llvm/Support/Format.h"
113 EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 1));
114 EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 2));
115 EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 3));
116 EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 4));
117 EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 10));
  /external/qemu/distrib/sdl-1.2.15/src/audio/
SDL_audio.c 257 Uint16 format = 0; local
262 format |= 0x0000;
266 format |= 0x8000;
274 format |= 8;
278 format |= 16;
284 format |= 0x0000;
291 format |= 0x1000;
297 return format;
427 if ( desired->format == 0 ) {
430 desired->format = SDL_ParseAudioFormat(env)
    [all...]
SDL_audiocvt.c 24 /* Functions for audio drivers to perform runtime conversion of audio format */
30 void SDLCALL SDL_ConvertMono(SDL_AudioCVT *cvt, Uint16 format)
38 switch (format&0x8018) {
73 if ( (format & 0x1000) == 0x1000 ) {
104 if ( (format & 0x1000) == 0x1000 ) {
132 cvt->filters[cvt->filter_index](cvt, format);
137 void SDLCALL SDL_ConvertStrip(SDL_AudioCVT *cvt, Uint16 format)
145 switch (format&0x8018) {
180 if ( (format & 0x1000) == 0x1000 ) {
215 if ( (format & 0x1000) == 0x1000 )
    [all...]
  /external/skia/src/core/
SkGlyph.h 17 // needs to be != to any valid SkMask::Format
43 * Compute the rowbytes for the specified width and mask-format.
45 static unsigned ComputeRowBytes(unsigned width, SkMask::Format format) {
47 if (SkMask::kBW_Format == format) {
49 } else if (SkMask::kARGB32_Format == format ||
50 SkMask::kLCD32_Format == format)
53 } else if (SkMask::kLCD16_Format == format) {
62 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
  /external/svox/pico/lib/
picodbg.h 83 * Tracing messages can use the well-known printf format specification.
86 * which requires the format string and its arguments to be enclosed
96 * format can be customized by a call to PICODBG_SET_OUTPUT_FORMAT().
186 /* Output format flags */
217 #define PICODBG_SET_OUTPUT_FORMAT(format) \
218 picodbg_setOutputFormat(format)
267 void picodbg_setOutputFormat(unsigned int format);
269 const char *picodbg_varargs(const char *format, ...);
287 #define PICODBG_SET_OUTPUT_FORMAT(format)
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp 41 void NuPlayer::Decoder::configure(const sp<AMessage> &format) {
45 CHECK(format->findString("mime", &mime));
53 if (!format->findBuffer(StringPrintf("csd-%d", i).c_str(), &csd)) {
61 format->setObject("native-window", mNativeWindow);
81 mCodec->initiateSetup(format);
  /frameworks/av/media/libstagefright/rtsp/
ARawAudioAssembler.cpp 125 const char *desc, const sp<MetaData> &format) {
127 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW);
129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW);
138 format->setInt32(kKeySampleRate, sampleRate);
139 format->setInt32(kKeyChannelCount, numChannels);
  /frameworks/base/libs/hwui/
RenderBufferCache.cpp 110 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) {
113 RenderBufferEntry entry(format, width, height);
124 RenderBuffer::formatName(format), width, height);
126 buffer = new RenderBuffer(format, width, height);
129 RenderBuffer::formatName(format), width, height);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
ResizeFilter.java 32 import android.filterfw.format.ImageFormat;
71 protected void createProgram(FilterContext context, FrameFormat format) {
72 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
73 mLastFormat = format;
74 switch (format.getTarget()) {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 92 private String format; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
98 this.format = format;
107 return format;
  /sdk/emulator/opengl/host/libs/Translator/GLES_V2/
GLESv2Validate.cpp 112 bool GLESv2Validate::readPixelFrmt(GLenum format){
113 switch(format) {
151 bool GLESv2Validate::pixelFrmt(GLEScontext* ctx,GLenum format) {
152 if(format == GL_DEPTH_COMPONENT)
155 return GLESvalidate::pixelFrmt(ctx, format);
  /external/hyphenation/
substrings.c 177 char format[132]; // 64+65+newline+zero+spare local
183 while(fgets(format,132,in)) {
184 int l = strlen(format);
185 if (format[l-1]=='\n') { l--; format[l]=0; } // Chomp
186 if (format[0]=='%' || format[0]==0) {
189 if (format[l-1]=='%') {
191 format[l] = 0; // remove '%'
196 expand(org,format,l);
    [all...]
  /external/icu4c/i18n/unicode/
datefmt.h 29 #include "unicode/format.h"
51 * DateFormat helps you to format and parse dates for any locale. Your code can
53 * week, or even the calendar format: lunar vs. solar.
55 * To format a date for the current Locale, use one of the static factory
62 * myString = dfmt->format( myDate, myString );
66 * format and use it multiple times so that the system doesn't have to fetch the
75 * cout << df->format( myDateArr[i], myString ) << endl;
86 * myString = dfmt->format( myDate, myString );
91 * To format a date for a different Locale, specify it in the call to
106 * Use createDateInstance() to produce the normal date format for that country
785 DateFormat::format(const Formattable& obj, function in class:DateFormat
    [all...]
  /external/v8/src/
v8utils.cc 40 void PrintF(const char* format, ...) {
42 va_start(arguments, format);
43 OS::VPrint(format, arguments);
48 void PrintF(FILE* out, const char* format, ...) {
50 va_start(arguments, format);
51 OS::VFPrint(out, format, arguments);
249 void StringBuilder::AddFormatted(const char* format, ...) {
251 va_start(arguments, format);
252 AddFormattedList(format, arguments);
257 void StringBuilder::AddFormattedList(const char* format, va_list list)
    [all...]
  /frameworks/av/services/camera/libcameraservice/camera3/
Camera3OutputStream.cpp 36 uint32_t width, uint32_t height, int format) :
38 /*maxSize*/0, format),
50 uint32_t width, uint32_t height, size_t maxSize, int format) :
52 format),
56 if (format != HAL_PIXEL_FORMAT_BLOB) {
57 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
58 format);
70 int format) :
73 format),
280 camera3_stream::format);
    [all...]
  /system/media/audio_utils/
tinysndfile.c 79 unsigned format = little2u(&wav[20]); local
80 if (format != 1) // PCM
106 handle->info.format = SF_FORMAT_WAV;
108 handle->info.format |= SF_FORMAT_PCM_U8;
110 handle->info.format |= SF_FORMAT_PCM_16;
130 ((info->format & SF_FORMAT_TYPEMASK) == SF_FORMAT_WAV) &&
131 ((info->format & SF_FORMAT_SUBMASK) == SF_FORMAT_PCM_16 ||
132 (info->format & SF_FORMAT_SUBMASK) == SF_FORMAT_PCM_U8)
143 wav[20] = 1; // format = PCM
146 unsigned bitsPerSample = (info->format & SF_FORMAT_SUBMASK) == SF_FORMAT_PCM_16 ? 16 : 8
    [all...]

Completed in 483 milliseconds

<<21222324252627282930>>