| /external/compiler-rt/lib/sanitizer_common/tests/ |
| sanitizer_allocator_test.cc | 85 static const uptr sizes[] = {1, 16, 30, 40, 100, 1000, 10000, local 93 for (uptr s = 0; s < ARRAY_SIZE(sizes); s++) { 94 uptr size = sizes[s]; 661 static const uptr sizes[] = {1, 16, 30, 40, 100, 1000, 10000, local 667 for (uptr s = 0; s < ARRAY_SIZE(sizes); s++) { 668 uptr size = sizes[s];
|
| /frameworks/av/media/libstagefright/ |
| CameraSource.cpp | 233 * of the supported sizes. 236 * @param suppportedSizes the vector of sizes that we check against 263 * Query the camera to retrieve the supported video frame sizes 269 * @param sizes returns the vector of Size objects for the 270 * supported video frame sizes advertised by the camera. 275 Vector<Size>& sizes) { 278 params.getSupportedVideoSizes(sizes); 279 if (sizes.size() == 0) { 281 params.getSupportedPreviewSizes(sizes); 321 Vector<Size> sizes; local 403 Vector<Size> sizes; local [all...] |
| /frameworks/av/media/libstagefright/webm/ |
| WebmWriter.cpp | 457 uint64_t sizes[nElems]; local 466 sizes[i] = e->mSize; 473 mInfoSize = sizes[3];
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
| vp9_dx_iface.c | 277 uint32_t sizes[8], int *count) { 299 sizes[i] = this_sz; 315 uint32_t sizes[8]; local 320 parse_superframe_index(data, data_sz, sizes, &frames_this_pts); 342 uint32_t this_sz = sizes[frame_count];
|
| /packages/apps/Camera2/src/com/android/camera/settings/ |
| ResolutionUtil.java | 78 * A resolution bucket holds a list of sizes that are of a given aspect 84 * This is a sorted list of sizes, going from largest to smallest. 86 public List<Size> sizes = new LinkedList<Size>(); field in class:ResolutionUtil.ResolutionBucket 88 * This is the head of the sizes array. 99 * into the sizes array and update appropriate members. 104 sizes.add(size); 105 Collections.sort(sizes, new Comparator<Size>() { 113 maxPixels = sizes.get(0).width() * sizes.get(0).height(); 118 * Given a list of camera sizes, this uses some heuristics to decide whic [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
| BaseLayoutRule.java | 628 Map<INode, Rect> sizes = mRulesEngine.measureChildren(parent, local 646 if (sizes != null) { 647 state.wrapBounds = sizes.get(child); [all...] |
| /system/core/logd/ |
| LogBuffer.cpp | 225 size_t sizes = stats.sizes(id); local 226 if (sizes > log_buffer_size(id)) { 227 size_t sizeOver90Percent = sizes - ((log_buffer_size(id) * 9) / 10); 229 unsigned long pruneRows = elements * sizeOver90Percent / sizes; 527 if (stats.sizes(id) > (2 * log_buffer_size(id))) { 558 if (stats.sizes(id) > (2 * log_buffer_size(id))) { 585 size_t retval = stats.sizes(id);
|
| /cts/tests/tests/hardware/src/android/hardware/cts/ |
| CameraTest.java | 443 // Test all preview sizes. 688 // Check if the sizes value contain invalid characters. 753 // that is among the supported preview sizes. 797 List<Size> sizes = p.getSupportedJpegThumbnailSizes(); local 1188 List<Size> sizes = parameters.getSupportedPreviewSizes(); local [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
| ItsSerializer.java | 141 Size sizes[] = map.getOutputSizes(fmts[fi]); local 142 if (sizes != null) { 143 for (int si = 0; si < Array.getLength(sizes); si++) { 146 obj.put("width",sizes[si].getWidth()); 147 obj.put("height", sizes[si].getHeight()); 150 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); 154 sizes = map.getHighResolutionOutputSizes(fmts[fi]); 155 if (sizes != null) { 156 for (int si = 0; si < Array.getLength(sizes); si++) { 159 obj.put("width",sizes[si].getWidth()) [all...] |
| /dalvik/tools/hprof-conv/ |
| HprofConv.c | 319 static const int sizes[] = { -1, -1, 4, -1, 1, 2, 4, 8, 1, 2, 4, 8 }; local 320 static const size_t maxSize = sizeof(sizes) / sizeof(sizes[0]); 325 return sizes[basicType];
|
| /external/skia/src/ports/ |
| SkFontConfigInterface_direct.cpp | 594 SkTDArray<size_t> sizes; local 600 *sizes.append() = strlen(famName) + 1; 605 sizes.begin(), names.count());
|
| /frameworks/base/core/java/android/hardware/camera2/legacy/ |
| LegacyRequestMapper.java | 422 List<Camera.Size> sizes = params.getSupportedJpegThumbnailSizes(); local 424 if (sizes != null && sizes.size() > 0) { 426 boolean invalidSize = (s == null) ? false : !ParameterUtils.containsSize(sizes,
|
| LegacyCameraDevice.java | 312 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); local 313 if (sizes == null) { 319 // IMPLEMENTATION_DEFINED output sizes, and is publicly visible in the 321 sizes = streamConfigurations.getOutputSizes(ImageFormat.YUV_420_888); 323 sizes = streamConfigurations.getOutputSizes(ImageFormat.JPEG); 327 if (!ArrayUtils.contains(sizes, s)) { 328 if (flexibleConsumer && (s = findClosestSize(s, sizes)) != null) { 331 String reason = (sizes == null) ? "format is invalid." : 332 ("size not in valid set: " + Arrays.toString(sizes));
|
| LegacyMetadataMapper.java | 258 * Implementation-defined (preview, recording, etc) -> use camera1 preview sizes 259 * YUV_420_888 cpu callbacks -> use camera1 preview sizes 260 * Other preview callbacks (CPU) -> use camera1 preview sizes 261 * JPEG still capture -> use camera1 still capture sizes 275 * - Work-around the HAL limitations by removing all of the largest preview sizes 292 // Now remove preview sizes from the end (largest->smallest) until aspect ratio matches 728 Size[] sizes = convertSizeListToArray(thumbnailSizes); local 729 Arrays.sort(sizes, new android.hardware.camera2.utils.SizeAreaComparator()); 730 m.set(JPEG_AVAILABLE_THUMBNAIL_SIZES, sizes); 1407 Size[] sizes = c.get(CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES); local [all...] |
| /frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
| CameraOps.java | 138 Size[] sizes = map.getOutputSizes(ImageFormat.JPEG); local 139 Size largest = Collections.max(Arrays.asList(sizes), new Comparator<Size>() {
|
| /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
| VideoChatTestActivity.java | 91 List<Camera.Size> sizes = params.getSupportedPreviewSizes(); local 94 logMessage("Sizes"); 95 for (Size size : sizes) {
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
| PhotoCaptureActivity.java | 131 // Stop camera until preview sizes have been obtained. 199 // Get the supported picture sizes and fill the spinner. 357 final List<Camera.Size> sizes = camera.getParameters() local 359 String[] choices = new String[sizes.size()]; 360 for (int i = 0; i < sizes.size(); ++i) { 361 Camera.Size size = sizes.get(i); 382 Camera.Size size = sizes.get(which);
|
| /cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
| CameraMetadataGetter.java | 311 Size sizes[] = map.getOutputSizes(fmts[fi]); local 312 if (sizes != null) { 313 for (int si = 0; si < Array.getLength(sizes); si++) { 316 obj.put("width", sizes[si].getWidth()); 317 obj.put("height", sizes[si].getHeight()); 320 map.getOutputMinFrameDuration(fmts[fi], sizes[si]));
|
| /external/compiler-rt/lib/asan/tests/ |
| asan_test.cc | 98 size_t sizes[] = {16, 1000, 10000, 100000, 2100000}; local 99 for (size_t s = 0; s < sizeof(sizes)/sizeof(sizes[0]); s++) { 100 size_t size = sizes[s]; [all...] |
| /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
| DDSLoader.java | 112 private int[] sizes; field in class:DDSLoader 135 return new Image(pixelFormat, width, height, depth, data, sizes); 147 return new Image(pixelFormat, width, height, depth, data, sizes); 388 * Computes the sizes of each mipmap level in bytes, and stores it in sizes_[]. 394 sizes = new int[mipMapCount]; 404 sizes[i] = ((size + 3) / 4) * 4; 450 byte[] data = new byte[sizes[mip]]; 548 byte[] data = new byte[sizes[mip]]; 555 byte[] data = new byte[sizes[mip]]; 590 byte[] data = new byte[sizes[mip]] [all...] |
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
| DefaultMp4Builder.java | 92 long[] sizes = new long[samples.size()]; local 93 for (int i = 0; i < sizes.length; i++) { 94 sizes[i] = samples.get(i).limit(); 96 putSampleSizes(track, sizes); 131 protected long[] putSampleSizes(Track track, long[] sizes) { 132 return track2SampleSizes.put(track, sizes); 493 * Gets the chunk sizes for the given track.
|
| /external/opencv/cv/src/ |
| cvhistogram.cpp | 45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform ) 55 if( !sizes ) 56 CV_ERROR( CV_HeaderIsNull, "Null <sizes> pointer" ); 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); 92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 429 CV_ERROR( CV_StsUnmatchedSizes, "The histograms have different sizes" ); 2385 int sizes[CV_MAX_DIM]; local 2462 int sizes[CV_MAX_DIM]; local [all...] |
| /external/opencv/cxcore/src/ |
| cxarray.cpp | 277 cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, 296 if( !sizes ) 297 CV_ERROR( CV_StsNullPtr, "NULL <sizes> pointer" ); 305 if( sizes[i] <= 0 ) 306 CV_ERROR( CV_StsBadSize, "one of dimesion sizes is non-positive" ); 307 mat->dim[i].size = sizes[i]; 311 step *= sizes[i]; 335 cvCreateMatND( int dims, const int* sizes, int type ) 343 CV_CALL( arr = cvCreateMatNDHeader( dims, sizes, type )); 357 cvCreateMatNDHeader( int dims, const int* sizes, int type 392 int i, *sizes; local [all...] |
| /external/opencv/ml/src/ |
| ml_inner_functions.cpp | 925 // check parameter types and sizes 1164 int d, sizes[CV_MAX_DIM]; local [all...] |
| /external/pdfium/core/src/fpdfapi/fpdf_page/ |
| fpdf_page_func.cpp | 438 int sizes; member in struct:__anon17438 491 m_pEncodeInfo[i].sizes = pSize ? pSize->GetInteger(i) : 0; 493 m_pEncodeInfo[i].sizes = pDict->GetInteger(FX_BSTRC("Size")); 495 if (nTotalSamples > 0 && (FX_UINT32)(m_pEncodeInfo[i].sizes) > UINT_MAX / nTotalSamples) { 498 nTotalSamples *= m_pEncodeInfo[i].sizes; 504 if (m_pEncodeInfo[i].sizes == 1) { 507 m_pEncodeInfo[i].encode_max = (FX_FLOAT)m_pEncodeInfo[i].sizes - 1; 546 blocksize[i] = blocksize[i - 1] * m_pEncodeInfo[i - 1].sizes; 553 } else if (index[i] > m_pEncodeInfo[i].sizes - 1) { 554 index[i] = m_pEncodeInfo[i].sizes - 1 [all...] |