/hardware/qcom/msm8998/kernel-headers/linux/ |
msm_ion.h | 140 size_t * sizes; member in struct:ion_prefetch_regions
|
/hardware/qcom/msm8998/original-kernel-headers/linux/ |
msm_ion.h | 176 size_t *sizes; member in struct:ion_prefetch_regions
|
/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) {
|
/system/core/logd/ |
LogBuffer.cpp | 452 size_t sizes = stats.sizes(id); local 454 if (sizes > maxSize) { 455 size_t sizeOver = sizes - ((maxSize * 9) / 10); 461 unsigned long pruneRows = elements * sizeOver / sizes; 642 if (stats.sizes(id) > (2 * log_buffer_size(id))) { // +100% [all...] |
LogStatistics.cpp | 350 size_t sizes = stat.sizes(id); local 354 (float)sizes + (float)totalDropped * totalSize / totalElements; 357 int realPermille = virtualEntrySize * 1000.0 / sizes; 670 size_t szs = sizes(id); 761 size_t szs = sizes(id) + els * overhead;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
PhotoCaptureActivity.java | 142 // Stop camera until preview sizes have been obtained. 229 // Get the supported picture sizes and fill the spinner. 388 final List<Camera.Size> sizes = camera.getParameters() local 390 String[] choices = new String[sizes.size()]; 391 for (int i = 0; i < sizes.size(); ++i) { 392 Camera.Size size = sizes.get(i); 413 Camera.Size size = sizes.get(which);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsSerializer.java | 142 Size sizes[] = map.getOutputSizes(fmts[fi]); local 143 if (sizes != null) { 144 for (int si = 0; si < Array.getLength(sizes); si++) { 147 obj.put("width",sizes[si].getWidth()); 148 obj.put("height", sizes[si].getHeight()); 151 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); 155 sizes = map.getHighResolutionOutputSizes(fmts[fi]); 156 if (sizes != null) { 157 for (int si = 0; si < Array.getLength(sizes); si++) { 160 obj.put("width",sizes[si].getWidth()) [all...] |
/cts/tests/camera/utils/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]));
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
CrossAppDragAndDropTests.java | 311 final String[] sizes = output.split(" ")[2].split("x"); local 312 return new Point(Integer.valueOf(sizes[0].trim()), Integer.valueOf(sizes[1].trim()));
|
/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/libvpx/libvpx/examples/ |
vp9_spatial_svc_encoder.c | 512 uint64_t sizes[8], int *count) { 551 sizes[i] = this_sz; 773 uint64_t sizes[8]; local 784 cx_pkt->data.frame.sz, sizes, &count); 786 sizes[0] = cx_pkt->data.frame.sz; 810 rc.layer_encoding_bitrate[layer] += 8.0 * sizes[sl]; [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/skia/src/sksl/ |
SkSLParser.cpp | 568 std::vector<int> sizes; local 574 sizes.push_back(SkSL::stoi(this->text(sizeToken))); 580 this->text(name), std::move(sizes))); 985 std::vector<int> sizes; local 1026 std::vector<std::unique_ptr<ASTExpression>> sizes; local [all...] |
/external/skia/tests/ |
SurfaceTest.cpp | 1111 const int32_t sizes[] = { 0, 1, 1 << 15, 1 << 16, 1 << 18, 1 << 28, 1 << 29, 1 << 30, -1 }; local [all...] |
/external/skqp/src/sksl/ |
SkSLParser.cpp | 568 std::vector<int> sizes; local 574 sizes.push_back(SkSL::stoi(this->text(sizeToken))); 580 this->text(name), std::move(sizes))); 985 std::vector<int> sizes; local 1026 std::vector<std::unique_ptr<ASTExpression>> sizes; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
shape_inference.cc | 572 // *) Same batch dimension numbers (and sizes) on both lhs and rhs. 702 // Check that contracting dimension sizes match. 709 return fail("contracting dimension sizes do not match."); 718 // Check that batch dimension numbers and sizes match. 724 return fail("batch dimension numbers and sizes must match for lhs/rhs."); 807 // sizes are equal or in one of the shapes the dimension size is 1976 std::vector<int64> sizes; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
batch_kernels.cc | 96 // The Split*() functions split 'input' with element type T into 'sizes.size()' 98 // dimension size 'sizes[i]'. They allocate the output tensors using 'context', 105 const gtl::ArraySlice<int64>& sizes, 110 for (const int64 size : sizes) { 115 "Sum of split sizes must not exceed dim0-size of input tensor"); 119 if (sizes.size() == 1 && sizes.at(0) == input.shape().dim_size(0)) { 128 for (const int64 size : sizes) { 142 const gtl::ArraySlice<int64>& sizes, 152 for (const int64 size : sizes) { 630 std::vector<int64> sizes; local [all...] |
/external/tensorflow/tensorflow/tools/benchmark/ |
benchmark_model.cc | 389 Flag("show_sizes", &show_sizes, "whether to show sizes"), 455 LOG(INFO) << "Show sizes: [" << show_sizes << "]"; 496 std::vector<int32> sizes; local 497 CHECK(str_util::SplitAndParseAsInts(input_layer_shapes[n], ',', &sizes)) 499 for (int i = 0; i < sizes.size(); ++i) { 500 int32 size = sizes[i]; 502 LOG(ERROR) << "Any unknown sizes in the shapes (-1's) must be replaced" 506 input.shape.AddDim(sizes[i]);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyCameraDevice.java | 372 Size[] sizes = streamConfigurations.getOutputSizes(surfaceType); local 373 if (sizes == null) { 377 // IMPLEMENTATION_DEFINED output sizes, and is publicly visible in the 379 sizes = streamConfigurations.getOutputSizes(ImageFormat.YUV_420_888); 381 sizes = streamConfigurations.getOutputSizes(ImageFormat.JPEG); 385 if (!ArrayUtils.contains(sizes, s)) { 386 if (flexibleConsumer && (s = findClosestSize(s, sizes)) != null) { 389 String reason = (sizes == null) ? "format is invalid." : 390 ("size not in valid set: " + Arrays.toString(sizes)); [all...] |
LegacyMetadataMapper.java | 260 * Implementation-defined (preview, recording, etc) -> use camera1 preview sizes 261 * YUV_420_888 cpu callbacks -> use camera1 preview sizes 262 * Other preview callbacks (CPU) -> use camera1 preview sizes 263 * JPEG still capture -> use camera1 still capture sizes 277 * - Work-around the HAL limitations by removing all of the largest preview sizes 294 // Now remove preview sizes from the end (largest->smallest) until aspect ratio matches 730 Size[] sizes = convertSizeListToArray(thumbnailSizes); local 731 Arrays.sort(sizes, new android.hardware.camera2.utils.SizeAreaComparator()); 732 m.set(JPEG_AVAILABLE_THUMBNAIL_SIZES, sizes); 1424 Size[] sizes = c.get(CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES); local [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
StreamConfigurationMap.java | 49 * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively 85 * and thus needs a separate list of slow high-resolution output sizes 136 // For each format, track how many sizes there are available to configure 161 // For each depth format, track how many sizes there are available to configure 258 * Get the supported input sizes for this input format. 264 * @return a non-empty array of sizes, or {@code null} if the format was not available. 429 * Get a list of sizes compatible with {@code klass} to use as an output. 433 * sizes for {@link ImageFormat#PRIVATE}. For example, {@link android.media.ImageReader} 435 * only return the sizes for {@link ImageFormat#PRIVATE} for {@link android.media.ImageReader} 447 * an array of supported sizes for {@link ImageFormat#PRIVATE} format 640 Size[] sizes = new Size[sizeCount]; local 1289 Size[] sizes = new Size[sizesCount]; local 1488 Size[] sizes = getOutputSizes(format); local 1508 Size[] sizes = getHighResolutionOutputSizes(format); local 1529 Size[] sizes = getInputSizes(format); local 1566 Size[] sizes = getHighSpeedVideoSizes(); local [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ScriptGroup.java | 128 int[] sizes = new int[numValues]; local 136 values, sizes, depClosures, depFieldIDs); 143 values, sizes, depClosures, depFieldIDs); 148 fieldIDs, values, sizes, depClosures, depFieldIDs); 168 int[] sizes = new int[numValues]; local 178 sizes, depClosures, depFieldIDs); 183 values, sizes); 209 long[] values, int[] sizes, 232 sizes[index] = 0; 236 sizes[index] = vs.size [all...] |