Searched refs:Size (Results 1 - 25 of 92) sorted by relevance

1234

/frameworks/base/core/java/android/hardware/camera2/
H A DSize.java23 public final class Size { class
25 * Create a new immutable Size instance
27 * @param width The width to store in the Size instance
28 * @param height The height to store in the Size instance
30 public Size(int width, int height) { method in class:Size
51 if (obj instanceof Size) {
52 Size other = (Size) obj;
H A 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.camera2.Size[].class);
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.camera2.Size.class);
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.camera2.Size[].class);
448 public static final Key<android.hardware.camera2.Size[]> SCALER_AVAILABLE_PROCESSED_SIZE
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A 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) {
39 public Size unmarshal(ByteBuffer buffer, int nativeType) {
43 return new Size(width, height);
47 public Class<Size> getMarshalingClass() {
48 return Size.class;
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
H A DGDBJITRegistrar.h41 void registerObjectWithGDB(const ObjectBuffer* Object, std::size_t Size);
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DInstAlloc.c40 Size - The size in bytes of the new added member
49 LVM_UINT32 Size )
54 Size = ((Size + 3) & 0xFFFFFFFC); /* Ceil the size to a multiple of four */
56 pms->TotalSize += Size;
57 pms->pNextMember += Size;
118 * Description : This function reserves Size of 3 bytes for all memory regions and
142 LVM_UINT32 Size[],
148 NewMemberAddress = InstAlloc_AddMember(&pms[LVM_PERSISTENT_SLOW_DATA], Size[LVM_PERSISTENT_SLOW_DATA]);
150 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size
141 InstAlloc_AddMemberAll( INST_ALLOC *pms, LVM_UINT32 Size[], LVM_MemoryTable_st *pMemoryTable) argument
176 InstAlloc_AddMemberAllRet( INST_ALLOC *pms, LVM_UINT32 Size[], void **ptr) argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
H A DInstAlloc.h55 Size - The size in bytes of the new added member
63 void* InstAlloc_AddMember( INST_ALLOC *pms, LVM_UINT32 Size );
76 LVM_UINT32 Size[],
80 LVM_UINT32 Size[],
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dwrapper_input.h41 virtual off_t Size() = 0;
H A Dfile_wrapper_input.h39 virtual off_t Size();
H A Din_memory_wrapper_input.h39 virtual off_t Size();
/frameworks/base/media/mca/filterfw/native/core/
H A Dvertex_frame.h44 int Size() const;
H A Dnative_frame.h57 int Size() { function in class:android::filterfw::NativeFrame
73 // Size of data buffer in bytes.
/frameworks/compile/mclinker/include/mcld/LD/
H A DRelocator.h36 typedef Relocation::Size Size; typedef in class:mcld::Relocator
108 virtual Size getSize(Type pType) const = 0;
/frameworks/av/include/camera/
H A DCameraParameters.h25 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/compile/libbcc/lib/ExecutionEngine/
H A DGDBJITRegistrar.cpp95 void registerObject(const ObjectBuffer* Object, std::size_t Size);
155 void GDBJITRegistrar::registerObject(const ObjectBuffer* Object, std::size_t Size) { argument
168 JITCodeEntry->symfile_size = Size;
170 ObjectBufferMap[Object] = std::make_pair(Size, JITCodeEntry);
233 void registerObjectWithGDB(const ObjectBuffer* Object, std::size_t Size) { argument
236 Registrar->registerObject(Object, Size);
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
H A DLVM_Init.c152 /* 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 Djni_native_frame.cpp78 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 Djni_gl_frame.cpp131 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/slang/BitWriter_2_9/
H A DReaderWriter_2_9.h107 /// 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 DReaderWriter_2_9_func.h107 /// 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 DReaderWriter_3_2.h107 /// 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 DLVCS_Init.c80 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/compile/libbcc/bcinfo/Wrap/
H A Din_memory_wrapper_input.cpp49 off_t InMemoryWrapperInput::Size() { function in class:InMemoryWrapperInput
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c49 MemInfo.Size = size + 1;
64 MemInfo.Size = size + alignment;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c49 MemInfo.Size = size + 1;
64 MemInfo.Size = size + alignment;
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoMem.h34 VO_S32 Size; /*!< Buffer stride */ member in struct:__anon665
55 voMemInfo.Size=nSize; \

Completed in 1242 milliseconds

1234