Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DInstAlloc.c49 LVM_UINT32 Size ) in InstAlloc_AddMember() argument
54 Size = ((Size + 3) & 0xFFFFFFFC); /* Ceil the size to a multiple of four */ in InstAlloc_AddMember()
56 pms->TotalSize += Size; in InstAlloc_AddMember()
57 pms->pNextMember += Size; in InstAlloc_AddMember()
142 LVM_UINT32 Size[], in InstAlloc_AddMemberAll() argument
148 …NewMemberAddress = InstAlloc_AddMember(&pms[LVM_PERSISTENT_SLOW_DATA], Size[LVM_PERSISTENT_SLOW_DA… in InstAlloc_AddMemberAll()
150 …pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTE… in InstAlloc_AddMemberAll()
154 …NewMemberAddress = InstAlloc_AddMember(&pms[LVM_PERSISTENT_FAST_DATA], Size[LVM_PERSISTENT_FAST_DA… in InstAlloc_AddMemberAll()
156 …pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTE… in InstAlloc_AddMemberAll()
160 …NewMemberAddress = InstAlloc_AddMember(&pms[LVM_PERSISTENT_FAST_COEF], Size[LVM_PERSISTENT_FAST_CO… in InstAlloc_AddMemberAll()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DMetadataMarshalSize.java18 import android.hardware.camera2.Size;
22 public class MetadataMarshalSize implements MetadataMarshalClass<Size> {
27 public int marshal(Size value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { in marshal()
39 public Size unmarshal(ByteBuffer buffer, int nativeType) { in unmarshal()
43 return new Size(width, height); in unmarshal()
47 public Class<Size> getMarshalingClass() { in getMarshalingClass()
48 return Size.class; in getMarshalingClass()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java235 public static final Key<android.hardware.camera2.Size[]> JPEG_AVAILABLE_THUMBNAIL_SIZES =
236 …new Key<android.hardware.camera2.Size[]>("android.jpeg.availableThumbnailSizes", android.hardware.…
321 public static final Key<android.hardware.camera2.Size> LENS_INFO_SHADING_MAP_SIZE =
322 …new Key<android.hardware.camera2.Size>("android.lens.info.shadingMapSize", android.hardware.camera…
401 public static final Key<android.hardware.camera2.Size[]> SCALER_AVAILABLE_JPEG_SIZES =
402 …new Key<android.hardware.camera2.Size[]>("android.scaler.availableJpegSizes", android.hardware.cam…
448 public static final Key<android.hardware.camera2.Size[]> SCALER_AVAILABLE_PROCESSED_SIZES =
449 …new Key<android.hardware.camera2.Size[]>("android.scaler.availableProcessedSizes", android.hardwar…
DSize.java23 public final class Size { class
30 public Size(int width, int height) { in Size() method in Size
51 if (obj instanceof Size) { in equals()
52 Size other = (Size) obj; in equals()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.c217 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable()
219 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable()
220 …[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = CS_MemTab.Region[LVM_MEMREG… in LVM_GetMemoryTable()
250 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable()
252 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable()
253 …LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = DBE_MemTab.Region[LVM_MEMREG… in LVM_GetMemoryTable()
284 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable()
286 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable()
287 …LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = EQNB_MemTab.Region[LVM_MEMRE… in LVM_GetMemoryTable()
341 PSA_MemTab.Region[LVM_PERSISTENT_SLOW_DATA].Size); in LVM_GetMemoryTable()
[all …]
/frameworks/base/media/mca/filterfw/jni/
Djni_native_frame.cpp78 if (!data || size > frame->Size()) in Java_android_filterfw_core_NativeFrame_getNativeData()
93 return ToJBool(AttachDataToJBuffer(env, buffer, data, frame->Size())); in Java_android_filterfw_core_NativeFrame_getNativeBuffer()
122 if (!data || size > frame->Size() || (size % sizeof(jint)) != 0) in Java_android_filterfw_core_NativeFrame_getNativeInts()
156 if (!data || size > frame->Size() || (size % sizeof(jfloat)) != 0) in Java_android_filterfw_core_NativeFrame_getNativeFloats()
174 if ((size / 4) != (frame->Size() / bytes_per_sample)) { in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
184 const uint8_t* end_ptr = dst_ptr + frame->Size(); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
203 memcpy(dst_ptr, src_ptr, frame->Size()); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
227 if ((size / 4) != (frame->Size() / bytes_per_sample)) { in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
233 const uint8_t* end_ptr = src_ptr + frame->Size(); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
255 memcpy(dst_ptr, src_ptr, frame->Size()); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
[all …]
Djni_gl_frame.cpp131 if (frame && frame->Size() > 0) { in Java_android_filterfw_core_GLFrame_getNativeData()
132 jbyteArray result = env->NewByteArray(frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeData()
134 frame->CopyDataTo(reinterpret_cast<uint8_t*>(data), frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeData()
160 if (frame && frame->Size() > 0 && (frame->Size() % sizeof(jint) == 0)) { in Java_android_filterfw_core_GLFrame_getNativeInts()
161 jintArray result = env->NewIntArray(frame->Size() / sizeof(jint)); in Java_android_filterfw_core_GLFrame_getNativeInts()
163 frame->CopyDataTo(reinterpret_cast<uint8_t*>(data), frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeInts()
196 if (frame && frame->Size() > 0) { in Java_android_filterfw_core_GLFrame_getNativeFloats()
198 jfloatArray result = env->NewFloatArray(frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeFloats()
202 uint8_t* pixels = new uint8_t[frame->Size()]; in Java_android_filterfw_core_GLFrame_getNativeFloats()
203 frame->CopyDataTo(pixels, frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeFloats()
[all …]
/frameworks/av/include/camera/
DCameraParameters.h25 struct Size { struct
29 Size() { in Size() argument
34 Size(int w, int h) { in Size() argument
61 void getSupportedPreviewSizes(Vector<Size> &sizes) const;
81 void getSupportedVideoSizes(Vector<Size> &sizes) const;
98 void getSupportedPictureSizes(Vector<Size> &sizes) const;
DCameraParameters2.h68 void getSupportedPreviewSizes(Vector<Size> &sizes) const;
88 void getSupportedVideoSizes(Vector<Size> &sizes) const;
106 void getSupportedPictureSizes(Vector<Size> &sizes) const;
/frameworks/compile/libbcc/lib/ExecutionEngine/
DGDBJITRegistrar.cpp95 void registerObject(const ObjectBuffer* Object, std::size_t Size);
155 void GDBJITRegistrar::registerObject(const ObjectBuffer* Object, std::size_t Size) { in registerObject() argument
168 JITCodeEntry->symfile_size = Size; in registerObject()
170 ObjectBufferMap[Object] = std::make_pair(Size, JITCodeEntry); in registerObject()
233 void registerObjectWithGDB(const ObjectBuffer* Object, std::size_t Size) { in registerObjectWithGDB() argument
236 Registrar->registerObject(Object, Size); in registerObjectWithGDB()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DInstAlloc.h63 void* InstAlloc_AddMember( INST_ALLOC *pms, LVM_UINT32 Size );
76 LVM_UINT32 Size[],
80 LVM_UINT32 Size[],
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java76 private List<Camera.Size> mPreviewSizes;
77 private Camera.Size mNextPreviewSize;
78 private Camera.Size mPreviewSize;
201 List<Camera.Size> unsortedSizes = p.getSupportedPreviewSizes(); in setUpCamera()
203 class SizeCompare implements Comparator<Camera.Size> { in setUpCamera()
204 public int compare(Camera.Size lhs, Camera.Size rhs) { in setUpCamera()
214 TreeSet<Camera.Size> sortedResolutions = new TreeSet<Camera.Size>(s); in setUpCamera()
217 mPreviewSizes = new ArrayList<Camera.Size>(sortedResolutions); in setUpCamera()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Init.c80 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_I… in LVCS_Memory()
87 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_D… in LVCS_Memory()
94 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_C… in LVCS_Memory()
102 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAST].Size = ScratchSize; in LVCS_Memory()
/frameworks/compile/mclinker/include/mcld/LD/
DRelocator.h36 typedef Relocation::Size Size; typedef
108 virtual Size getSize(Type pType) const = 0;
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetMemoryTable.c153 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&SlowData); in LVREV_GetMemoryTable()
181 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&FastData); in LVREV_GetMemoryTable()
190 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Size = InstAlloc_GetTotal(&FastCoef); in LVREV_GetMemoryTable()
225 pMemoryTable->Region[LVM_TEMPORARY_FAST].Size = InstAlloc_GetTotal(&Temporary); in LVREV_GetMemoryTable()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Init.c75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Size = sizeof(LVDBE_Instance_t); in LVDBE_Memory()
83 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Size = sizeof(LVDBE_Data_t); in LVDBE_Memory()
91 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Size = sizeof(LVDBE_Coef_t); in LVDBE_Memory()
100 pMemoryTable->Region[LVDBE_MEMREGION_SCRATCH].Size = ScratchSize; in LVDBE_Memory()
175 if (pMemoryTable->Region[i].Size!=0) in LVDBE_Init()
/frameworks/av/include/media/stagefright/
DCameraSource.h83 Size videoSize,
148 Size mVideoSize;
171 Size videoSize, int32_t frameRate,
211 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
216 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h129 unsigned Size = ( BufPtr[SizeField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
138 BufEnd = BufPtr+Size; in SkipBitcodeWrapperHeader()
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h129 unsigned Size = ( BufPtr[SizeField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
138 BufEnd = BufPtr+Size; in SkipBitcodeWrapperHeader()
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h129 unsigned Size = ( BufPtr[SizeField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
138 BufEnd = BufPtr+Size; in SkipBitcodeWrapperHeader()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Memory.c130 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&Instance); in LVPSA_Memory()
138 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Size = InstAlloc_GetTotal(&Scratch); in LVPSA_Memory()
147 … pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&Coef); in LVPSA_Memory()
156 … pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&Data); in LVPSA_Memory()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Init.c88 … pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem); in LVEQNB_Memory()
109 …pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&AllocMem… in LVEQNB_Memory()
125 …pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&AllocMem… in LVEQNB_Memory()
137 … pMemoryTable->Region[LVEQNB_MEMREGION_SCRATCH].Size = InstAlloc_GetTotal(&AllocMem); in LVEQNB_Memory()
209 if (pMemoryTable->Region[i].Size!=0) in LVEQNB_Init()
/frameworks/base/core/java/android/hardware/
DCamera.java792 Size previewSize = p.getPreviewSize(); in createPreviewAllocation()
860 Size previewSize = p.getPreviewSize(); in setPreviewCallbackAllocation()
1642 Size newPreviewSize = params.getPreviewSize(); in setParameters()
1643 Size currentPreviewSize = getParameters().getPreviewSize(); in setParameters()
1683 public class Size { class in Camera
1690 public Size(int w, int h) { in Size() method in Camera.Size
1703 if (!(obj instanceof Size)) { in equals()
1706 Size s = (Size) obj; in equals()
2350 public Size getPreviewSize() { in getPreviewSize()
2361 public List<Size> getSupportedPreviewSizes() { in getSupportedPreviewSizes()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h108 struct Size { struct
336 Vector<Size> availablePreviewSizes;
338 status_t getFilteredPreviewSizes(Size limit, Vector<Size> *sizes);
340 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dmemalign.c49 MemInfo.Size = size + 1; in mem_malloc()
64 MemInfo.Size = size + alignment; in mem_malloc()

12345