/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 25 struct Size { struct in namespace:android 29 Size() { function in struct:android::Size 34 Size(int w, int h) { function in struct:android::Size 61 void getSupportedPreviewSizes(Vector<Size> &sizes) const; 67 // getSupportedVideoSizes() returns an empty Vector of Size. 73 // empty Vector of Size. 81 void getSupportedVideoSizes(Vector<Size> &sizes) const; 86 // Vector of Size. If getSupportedVideoSizes() returns an empty 87 // Vector of Size, the width and height returned from this method 98 void getSupportedPictureSizes(Vector<Size> [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 20 import android.annotation.Size; 146 public static int parseColor(@Size(min=1) String colorString) { 176 public static void RGBToHSV(int red, int green, int blue, @Size(3) float hsv[]) { 191 public static void colorToHSV(@ColorInt int color, @Size(3) float hsv[]) { 204 public static int HSVToColor(@Size(3) float hsv[]) { 219 public static int HSVToColor(int alpha, @Size(3) float hsv[]) {
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
H A D | LVM_Init.c | 152 /* Maximum Internal Black Size should not be more than MAX_INTERNAL_BLOCKSIZE*/ 217 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); 219 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); 220 if (CS_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = CS_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size; 250 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); 252 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); 253 if (DBE_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = DBE_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size; 284 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_frame.cpp | 78 if (!data || size > frame->Size()) 93 return ToJBool(AttachDataToJBuffer(env, buffer, data, frame->Size())); 122 if (!data || size > frame->Size() || (size % sizeof(jint)) != 0) 156 if (!data || size > frame->Size() || (size % sizeof(jfloat)) != 0) 174 if ((size / 4) != (frame->Size() / bytes_per_sample)) { 175 ALOGE("Size mismatch in native setBitmap()!"); 184 const uint8_t* end_ptr = dst_ptr + frame->Size(); 203 memcpy(dst_ptr, src_ptr, frame->Size()); 227 if ((size / 4) != (frame->Size() / bytes_per_sample)) { 228 ALOGE("Size mismatc [all...] |
H A D | jni_gl_frame.cpp | 131 if (frame && frame->Size() > 0) { 132 jbyteArray result = env->NewByteArray(frame->Size()); 134 frame->CopyDataTo(reinterpret_cast<uint8_t*>(data), frame->Size()); 160 if (frame && frame->Size() > 0 && (frame->Size() % sizeof(jint) == 0)) { 161 jintArray result = env->NewIntArray(frame->Size() / sizeof(jint)); 163 frame->CopyDataTo(reinterpret_cast<uint8_t*>(data), frame->Size()); 196 if (frame && frame->Size() > 0) { 198 jfloatArray result = env->NewFloatArray(frame->Size()); 202 uint8_t* pixels = new uint8_t[frame->Size()]; [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | Relocator.h | 30 typedef Relocation::Size Size; typedef in class:mcld::Relocator 101 virtual Size getSize(Type pType) const = 0;
|
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ReaderWriter_2_9.h | 107 /// uint32_t BitcodeSize; // Size of traditional bitcode file. 117 KnownHeaderSize = 4*4, // Size of header we read. 119 SizeField = 3*4 // Offset in bytes to Size field. 129 unsigned Size = ( BufPtr[SizeField ] | local 134 // Verify that Offset+Size fits in the file. 135 if (Offset+Size > unsigned(BufEnd-BufPtr)) 138 BufEnd = BufPtr+Size;
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ReaderWriter_2_9_func.h | 107 /// uint32_t BitcodeSize; // Size of traditional bitcode file. 117 KnownHeaderSize = 4*4, // Size of header we read. 119 SizeField = 3*4 // Offset in bytes to Size field. 129 unsigned Size = ( BufPtr[SizeField ] | local 134 // Verify that Offset+Size fits in the file. 135 if (Offset+Size > unsigned(BufEnd-BufPtr)) 138 BufEnd = BufPtr+Size;
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | ReaderWriter_3_2.h | 107 /// uint32_t BitcodeSize; // Size of traditional bitcode file. 117 KnownHeaderSize = 4*4, // Size of header we read. 119 SizeField = 3*4 // Offset in bytes to Size field. 129 unsigned Size = ( BufPtr[SizeField ] | local 134 // Verify that Offset+Size fits in the file. 135 if (Offset+Size > unsigned(BufEnd-BufPtr)) 138 BufEnd = BufPtr+Size;
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
H A D | LVCS_Init.c | 80 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_Instance_t); 87 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_Data_t); 94 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_Coefficient_t); 102 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAST].Size = ScratchSize;
|
/frameworks/base/core/java/android/annotation/ |
H A D | Size.java | 34 * public void getLocationInWindow(@Size(2) int[] location) { 43 public @interface Size { interface
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MeteringRectangle.java | 19 import android.util.Size; 106 * @param dimensions a non-{@code null} {@link android.util.Size Size} with width, height >= 0 112 public MeteringRectangle(Point xy, Size dimensions, int meteringWeight) { 203 * @return a new {@link Size} with non-negative width and height 205 public Size getSize() { 206 return new Size(mWidth, mHeight);
|
H A D | StreamConfigurationMap.java | 31 import android.util.Size; 178 // For each Size/FPS range, track how many FPS range/Size there are available 180 Size size = config.getSize(); 266 public Size[] getInputSizes(final int format) { 404 Size surfaceSize = SurfaceUtils.getSurfaceSize(surface); 461 public <T> Size[] getOutputSizes(Class<T> klass) { 493 public Size[] getOutputSizes(int format) { 526 * @see #getHighSpeedVideoFpsRangesFor(Size) 531 public Size[] getHighSpeedVideoSize [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 24 import android.util.Size; 37 * Create a {@link Rect} from a {@code Size} by creating a new rectangle with 46 public static Rect createRect(Size size) { 96 * Create a {@link Size} from a {@code Rect} by creating a new size whose width 105 public static Size createSize(Rect rect) { 108 return new Size(rect.width(), rect.height());
|
H A D | SurfaceUtils.java | 24 import android.util.Size; 62 * @return Size of the surface. 66 public static Size getSurfaceSize(Surface surface) { 152 List<Size> highSpeedSizes = null; 170 Size surfaceSize = SurfaceUtils.getSurfaceSize(surface);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.h | 57 int Size() { function in class:android::filterfw::NativeFrame 73 // Size of data buffer in bytes.
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | in_memory_wrapper_input.cpp | 49 off_t InMemoryWrapperInput::Size() { function in class:InMemoryWrapperInput
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 34 import android.util.Size; 97 private Size mIntermediateBufferSize; 119 public final Collection<Pair<Surface, Size>> surfaces; 122 Size>> surfaces) { 331 private void configureOutputs(Collection<Pair<Surface, Size>> outputs) { 381 List<Size> previewOutputSizes = new ArrayList<>(); 382 List<Size> callbackOutputSizes = new ArrayList<>(); 387 for (Pair<Surface, Size> outPair : outputs) { 389 Size outSize = outPair.second; 439 Size smallestSupportedJpegSiz [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2ReprocessCaptureTest.java | 35 import android.util.Size; 226 int reprocessOutputFormat, Size previewSize, CaptureTestCase captureTestCase) 228 Size maxInputSize = getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); 229 Size maxReprocessOutputSize = 260 private void testReprocessingAllCombinations(String cameraId, Size previewSize, 266 Size[] supportedInputSizes = 270 for (Size inputSize : supportedInputSizes) { 275 Size[] supportedReprocessOutputSizes = 279 for (Size reprocessOutputSize : supportedReprocessOutputSizes) { 308 private void testReprocessMixedBurst(String cameraId, Size inputSiz [all...] |
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooActivity.java | 37 import android.util.Size; 83 * Given {@code choices} of {@code Size}s supported by a camera, chooses the smallest one whose 88 * @return The optimal {@code Size}, or an arbitrary one if none were big enough 90 static Size chooseBigEnoughSize(Size[] choices, int width, int height) { 92 List<Size> bigEnough = new ArrayList<Size>(); 93 for (Size option : choices) { 109 * Compares two {@code Size}s based on their areas. 111 static class CompareSizesByArea implements Comparator<Size> { [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | Camera2SurfaceViewTestCase.java | 52 import android.util.Size; 124 protected Size mPreviewSize; 125 protected List<Size> mOrderedPreviewSizes; // In descending order. 126 protected List<Size> mOrderedVideoSizes; // In descending order. 127 protected List<Size> mOrderedStillSizes; // In descending order. 128 protected List<Size> mOrderedRAW10Sizes; // In descending order. 129 protected List<Size> mOrderedYUV420888Sizes; // In descending order. 130 protected HashMap<Size, Long> mMinPreviewFrameDurationMap; 214 protected void startPreview(CaptureRequest.Builder request, Size previewSz, 283 CaptureRequest.Builder stillRequest, Size previewS [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 49 MemInfo.Size = size + 1; 64 MemInfo.Size = size + alignment;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 49 MemInfo.Size = size + 1; 64 MemInfo.Size = size + alignment;
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
H A D | voMem.h | 34 VO_S32 Size; /*!< Buffer stride */ member in struct:__anon469 55 voMemInfo.Size=nSize; \
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
H A D | LVDBE_Init.c | 75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Size = sizeof(LVDBE_Instance_t); 83 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Size = sizeof(LVDBE_Data_t); 91 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Size = sizeof(LVDBE_Coef_t); 100 pMemoryTable->Region[LVDBE_MEMREGION_SCRATCH].Size = ScratchSize; 175 if (pMemoryTable->Region[i].Size!=0)
|