/frameworks/base/media/java/android/media/ |
H A D | CameraProfile.java | 27 * capture (jpeg) quality levels (0-100) used for low, medium, and high 28 * quality settings in the Camera application. 34 * Define three quality levels for JPEG image encoding. 45 * Cache the Jpeg encoding quality parameters 50 * Returns a pre-defined still image capture (jpeg) quality level 51 * used for the given quality level in the Camera application for 55 * @param quality The target quality level 57 public static int getJpegEncodingQualityParameter(int quality) { argument 63 return getJpegEncodingQualityParameter(i, quality); 77 getJpegEncodingQualityParameter(int cameraId, int quality) argument [all...] |
H A D | CamcorderProfile.java | 98 // Start and end of quality list 103 * Time lapse quality level corresponding to the lowest available resolution. 108 * Time lapse quality level corresponding to the highest available resolution. 113 * Time lapse quality level corresponding to the qcif (176 x 144) resolution. 118 * Time lapse quality level corresponding to the cif (352 x 288) resolution. 123 * Time lapse quality level corresponding to the 480p (720 x 480) resolution. 128 * Time lapse quality level corresponding to the 720p (1280 x 720) resolution. 133 * Time lapse quality level corresponding to the 1080p (1920 x 1088) resolution. 138 * Time lapse quality level corresponding to the QVGA (320 x 240) resolution. 143 * Time lapse quality leve 199 public int quality; field in class:CamcorderProfile 261 get(int quality) argument 324 get(int cameraId, int quality) argument 360 hasProfile(int quality) argument 396 hasProfile(int cameraId, int quality) argument 406 CamcorderProfile(int duration, int quality, int fileFormat, int videoCodec, int videoBitRate, int videoFrameRate, int videoWidth, int videoHeight, int audioCodec, int audioBitRate, int audioSampleRate, int audioChannels) argument 435 native_get_camcorder_profile( int cameraId, int quality) argument 437 native_has_camcorder_profile( int cameraId, int quality) argument [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | TargetRegistry.cpp | 41 unsigned int quality = (*target)->getTripleQuality(triple); local 42 if (quality > 0) { 43 if (NULL == best || highest < quality) { 44 highest = quality; 48 else if (highest == quality) {
|
/frameworks/rs/ |
H A D | rsPath.h | 34 float quality; member in struct:android::renderscript::Path::__anon1526::State
|
H A D | rsPath.cpp | 28 Allocation *vtx, Allocation *loops, float quality) 32 mHal.state.quality = quality; 74 RsAllocation vtx, RsAllocation loops, float quality) { 75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality); 27 Path(Context *rsc, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loops, float quality) argument 73 rsi_PathCreate(Context *rsc, RsPathPrimitive pp, bool isStatic, RsAllocation vtx, RsAllocation loops, float quality) argument
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | mime_io.cpp | 533 uint8 quality, 680 if (quality) 691 if (quality) 529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State_wb *st) argument
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Path.java | 66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument 67 long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); 68 Path newPath = new Path(id, rs, p, null, null, quality); 72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument 76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument 80 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 108 public boolean takeScreenshot(File storePath, int quality) { argument 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
|
H A D | UiDevice.java | 824 * Default scale of 1.0f (original size) and 90% quality is used 843 * @param quality quality of the PNG compression; range: 0-100 847 public boolean takeScreenshot(File storePath, float scale, int quality) { argument 848 Tracer.trace(storePath, scale, quality); 849 return getAutomatorBridge().takeScreenshot(storePath, quality);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 116 * @param quality Hint to the compressor, 0-100. 0 meaning compress for 117 * small size, 100 meaning compress for max quality. 120 * @throws IllegalArgumentException if rectangle is invalid; quality is not within [0, 123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { argument 130 if (quality < 0 || quality > 100) { 131 throw new IllegalArgumentException("quality must be 0..100"); 142 rectangle.height(), offsets, mStrides, quality, stream, 239 int quality, OutputStream stream, byte[] tempStorage); 237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 242 public static byte[] compressToBytes(Bitmap bitmap, int quality) { argument 244 bitmap.compress(CompressFormat.JPEG, quality, baos);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 29 * "High" video quality. 34 * "Medium" video quality. 39 * "Low" video quality. 44 * Use default video quality. 65 * @param quality The video quality. 67 public VideoProfile(int videoState, int quality) { argument 69 mQuality = quality; 85 * The desired video quality for the call. 107 int quality [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.cpp | 85 bool AudioResampler::qualityIsSupported(src_quality quality) argument 87 switch (quality) { 110 if (property_get("af.resampler.quality", value, NULL) > 0) { 115 ALOGD("forcing AudioResampler quality to %d", defaultQuality); 123 uint32_t AudioResampler::qualityMHz(src_quality quality) argument 125 switch (quality) { 150 int32_t sampleRate, src_quality quality) { 153 if (quality == DEFAULT_QUALITY) { 154 // read the resampler default quality property the first time it is needed 159 quality 149 create(audio_format_t format, int inChannelCount, int32_t sampleRate, src_quality quality) argument 263 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality) argument [all...] |
H A D | test-resample.cpp | 49 fprintf(stderr," -q resampler quality\n"); 50 fprintf(stderr," dq : default quality\n"); 51 fprintf(stderr," lq : low quality\n"); 52 fprintf(stderr," mq : medium quality\n"); 53 fprintf(stderr," hq : high quality\n"); 54 fprintf(stderr," vhq : very high quality\n"); 55 fprintf(stderr," dlq : dynamic low quality\n"); 56 fprintf(stderr," dmq : dynamic medium quality\n"); 57 fprintf(stderr," dhq : dynamic high quality\n"); 112 AudioResampler::src_quality quality local [all...] |
H A D | AudioResamplerDyn.cpp | 167 int inChannelCount, int32_t sampleRate, src_quality quality) 168 : AudioResampler(inChannelCount, sampleRate, quality), 166 AudioResamplerDyn( int inChannelCount, int32_t sampleRate, src_quality quality) argument
|
H A D | AudioResamplerSinc.cpp | 340 // for high quality resampler, the parameters for coefficients are compile-time constants 349 // for very high quality resampler, the parameters are load-time constants 457 int inChannelCount, int32_t sampleRate, src_quality quality) 458 : AudioResampler(inChannelCount, sampleRate, quality), 485 mConstants = (quality == VERY_HIGH_QUALITY) ? 456 AudioResamplerSinc( int inChannelCount, int32_t sampleRate, src_quality quality) argument
|
/frameworks/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 71 enum android::AudioResampler::src_quality quality) 95 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); 113 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); 163 enum android::AudioResampler::src_quality quality) 183 channels, outputFreq, quality); 252 // all of these work except low quality 269 // only dynamic quality 282 // only dynamic quality 69 testBufferIncrement(size_t channels, bool useFloat, unsigned inputFreq, unsigned outputFreq, enum android::AudioResampler::src_quality quality) argument 160 testStopbandDownconversion(size_t channels, unsigned inputFreq, unsigned outputFreq, unsigned passband, unsigned stopband, enum android::AudioResampler::src_quality quality) argument
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 33 /** Very low, but still intelligible quality of speech synthesis */ 36 /** Low, not human-like quality of speech synthesis */ 39 /** Normal quality of speech synthesis */ 42 /** High, human-like quality of speech synthesis */ 45 /** Very high, almost human-indistinguishable quality of speech synthesis */ 72 int quality, 78 this.mQuality = quality; 130 * @return The voice's quality (higher is better) 190 .append(", quality: ").append(mQuality) 70 Voice(String name, Locale locale, int quality, int latency, boolean requiresNetworkConnection, Set<String> features) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 51 int width, int height, int quality) { 58 jpeg_set_quality(cinfo, quality, TRUE); 50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
|
H A D | Bitmap.cpp | 443 jint format, jint quality, 477 success = encoder->encodeStream(strm, *bitmap, quality); 442 Bitmap_compress(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint format, jint quality, jobject jstream, jbyteArray jstorage) argument
|
/frameworks/base/location/java/android/location/ |
H A D | LocationRequest.java | 28 * A data object that contains quality of service parameters for requests 31 * <p>LocationRequest objects are used to request a quality of service 67 * at least swap the request to a larger interval and lower quality. 177 int quality; 179 quality = POWER_NONE; 181 quality = ACCURACY_FINE; 183 quality = POWER_LOW; 188 .setQuality(quality) 203 int quality; 206 quality 268 setQuality(int quality) argument 561 checkQuality(int quality) argument 630 qualityToString(int quality) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 164 static bool isCamcorderQualityKnown(int quality) argument 166 return ((quality >= CAMCORDER_QUALITY_LIST_START && 167 quality <= CAMCORDER_QUALITY_LIST_END) || 168 (quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && 169 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END) || 170 (quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && 171 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END)); 175 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument 177 ALOGV("native_get_camcorder_profile: %d %d", id, quality); 178 if (!isCamcorderQualityKnown(quality)) { 224 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 323 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 302 * Sets the JPEG compression quality. 304 * @param quality The quality for JPEG. 306 public void setPhotoJpegCompressionQuality(int quality) { argument 307 if (quality < MIN_JPEG_COMPRESSION_QUALITY || quality > MAX_JPEG_COMPRESSION_QUALITY) { 308 Log.w(TAG, "Ignoring JPEG quality that falls outside the expected range"); 312 mJpegCompressQuality = (byte) quality;
|
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 329 CHECK(!strcmp("quality", atts[0]) && 334 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); local 335 CHECK(quality != -1); 347 profile->mQuality = static_cast<camcorder_quality>(quality); 367 CHECK(!strcmp("quality", atts[0])); 368 int quality = atoi(atts[1]); local 369 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); 378 levels->mLevels.add(quality); 474 static bool isCamcorderProfile(camcorder_quality quality) { argument 479 isTimelapseProfile(camcorder_quality quality) argument 484 isHighSpeedProfile(camcorder_quality quality) argument 527 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; local 688 createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) argument 705 createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) argument 738 createDefaultCamcorderQcifProfile(camcorder_quality quality) argument 757 createDefaultCamcorderCifProfile(camcorder_quality quality) argument [all...] |