Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvmuxerutil.cpp32 int32 GetCodedUIntSize(uint64 value) { in GetCodedUIntSize() argument
33 if (value < 0x000000000000007FULL) in GetCodedUIntSize()
35 else if (value < 0x0000000000003FFFULL) in GetCodedUIntSize()
37 else if (value < 0x00000000001FFFFFULL) in GetCodedUIntSize()
39 else if (value < 0x000000000FFFFFFFULL) in GetCodedUIntSize()
41 else if (value < 0x00000007FFFFFFFFULL) in GetCodedUIntSize()
43 else if (value < 0x000003FFFFFFFFFFULL) in GetCodedUIntSize()
45 else if (value < 0x0001FFFFFFFFFFFFULL) in GetCodedUIntSize()
50 int32 GetUIntSize(uint64 value) { in GetUIntSize() argument
51 if (value < 0x0000000000000100ULL) in GetUIntSize()
[all …]
Dmkvmuxerutil.hpp22 int32 SerializeInt(IMkvWriter* writer, int64 value, int32 size);
25 int32 GetUIntSize(uint64 value);
26 int32 GetCodedUIntSize(uint64 value);
27 uint64 EbmlMasterElementSize(uint64 type, uint64 value);
28 uint64 EbmlElementSize(uint64 type, int64 value);
29 uint64 EbmlElementSize(uint64 type, uint64 value);
30 uint64 EbmlElementSize(uint64 type, float value);
31 uint64 EbmlElementSize(uint64 type, const char* value);
32 uint64 EbmlElementSize(uint64 type, const uint8* value, uint64 size);
37 int32 WriteUInt(IMkvWriter* writer, uint64 value);
[all …]
/hardware/intel/common/libva/test/basic/
Dtest_vaSurfaceAttrib.c76 if ((attrib[0].value & VA_RT_FORMAT_YUV420) == 0) { in test()
81 if ((attrib[1].value & VA_RC_VBR) == 0) { in test()
87 attrib[0].value = VA_RT_FORMAT_YUV420; /* set to desired RT format */ in test()
88 attrib[1].value = VA_RC_VBR; /* set to desired RC mode */ in test()
100 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_VA) in test()
102 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_V4L2) in test()
104 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_USER_PTR) in test()
106 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC) in test()
108 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_ION) in test()
110 if (attrib_list[0].value.value.i & VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM) in test()
[all …]
Dtest_04.c40 { type: VAConfigAttribRTFormat, value: DEADVALUE }, in test()
41 { type: VAConfigAttribSpatialResidual, value: DEADVALUE }, in test()
42 { type: VAConfigAttribSpatialClipping, value: DEADVALUE }, in test()
43 { type: VAConfigAttribIntraResidual, value: DEADVALUE }, in test()
44 { type: VAConfigAttribEncryption, value: DEADVALUE } in test()
71 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value); in test()
72 ASSERT(attrib_list[k].value != DEADVALUE); in test()
/hardware/invensense/6515/libsensors_iio/
DSensorBase.cpp57 char value[PROPERTY_VALUE_MAX]; in SensorBase() local
58 property_get("invn.hal.verbose.basic", value, "0"); in SensorBase()
59 if (atoi(value)) { in SensorBase()
62 property_get("invn.hal.verbose.extra", value, "0"); in SensorBase()
63 if (atoi(value)) { in SensorBase()
66 property_get("invn.hal.verbose.sysfs", value, "0"); in SensorBase()
67 if (atoi(value)) { in SensorBase()
70 property_get("invn.hal.verbose.engineering", value, "0"); in SensorBase()
71 if (atoi(value)) { in SensorBase()
74 property_get("invn.hal.entry.function", value, "0"); in SensorBase()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c137 unsigned max = mixer->ctl[n].info->value.enumerated.items; in mixer_close()
201 char **enames = calloc(ei->value.enumerated.items, sizeof(char*)); in mixer_open()
205 for (m = 0; m < ei->value.enumerated.items; m++) { in mixer_open()
208 tmp.value.enumerated.item = m; in mixer_open()
211 enames[m] = strdup(tmp.value.enumerated.name); in mixer_open()
258 ALOGV(ei->value.integer.step ? in mixer_dump()
260 ei->value.integer.min, in mixer_dump()
261 ei->value.integer.max, in mixer_dump()
262 ei->value.integer.step); in mixer_dump()
265 ALOGV(ei->value.integer64.step ? in mixer_dump()
[all …]
/hardware/invensense/65xx/libsensors_iio/
DSensorBase.cpp56 char value[PROPERTY_VALUE_MAX]; in SensorBase() local
57 property_get("invn.hal.verbose.basic", value, "0"); in SensorBase()
58 if (atoi(value)) { in SensorBase()
61 property_get("invn.hal.verbose.extra", value, "0"); in SensorBase()
62 if (atoi(value)) { in SensorBase()
65 property_get("invn.hal.verbose.sysfs", value, "0"); in SensorBase()
66 if (atoi(value)) { in SensorBase()
69 property_get("invn.hal.verbose.engineering", value, "0"); in SensorBase()
70 if (atoi(value)) { in SensorBase()
73 property_get("invn.hal.entry.function", value, "0"); in SensorBase()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dhfp.c70 static int32_t hfp_set_volume(struct audio_device *adev, float value) in hfp_set_volume() argument
77 ALOGD("%s: (%f)\n", __func__, value); in hfp_set_volume()
79 if (value < 0.0) { in hfp_set_volume()
80 ALOGW("%s: (%f) Under 0.0, assuming 0.0\n", __func__, value); in hfp_set_volume()
81 value = 0.0; in hfp_set_volume()
83 value = ((value > 15.000000) ? 1.0 : (value / 15)); in hfp_set_volume()
84 ALOGW("%s: Volume brought with in range (%f)\n", __func__, value); in hfp_set_volume()
86 vol = lrint((value * 0x2000) + 0.5); in hfp_set_volume()
87 hfpmod.hfp_volume = value; in hfp_set_volume()
270 char value[32]={0}; in audio_extn_hfp_set_parameters() local
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_common.h30 #define ROUND_POWER_OF_TWO(value, n) \ argument
31 (((value) + (1 << ((n) - 1))) >> (n))
33 #define ALIGN_POWER_OF_TWO(value, n) \ argument
34 (((value) + ((1 << (n)) - 1)) & ~((1 << (n)) - 1))
55 static INLINE int clamp(int value, int low, int high) { in clamp() argument
56 return value < low ? low : (value > high ? high : value); in clamp()
59 static INLINE double fclamp(double value, double low, double high) { in fclamp() argument
60 return value < low ? low : (value > high ? high : value); in fclamp()
/hardware/intel/img/libdrm/libdrm/nouveau/
Dnouveau_device.c39 uint64_t value; in nouveau_device_open_existing() local
64 NOUVEAU_GETPARAM_VM_VRAM_BASE, &value); in nouveau_device_open_existing()
69 nvdev->base.vm_vram_base = value; in nouveau_device_open_existing()
72 NOUVEAU_GETPARAM_FB_SIZE, &value); in nouveau_device_open_existing()
77 nvdev->base.vm_vram_size = value; in nouveau_device_open_existing()
80 NOUVEAU_GETPARAM_AGP_SIZE, &value); in nouveau_device_open_existing()
85 nvdev->base.vm_gart_size = value; in nouveau_device_open_existing()
94 NOUVEAU_GETPARAM_CHIPSET_ID, &value); in nouveau_device_open_existing()
99 nvdev->base.chipset = value; in nouveau_device_open_existing()
155 uint64_t param, uint64_t *value) in nouveau_device_get_param() argument
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcpp_bindings.h196 int put_u8(int attribute, uint8_t value) { in put_u8() argument
197 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u8()
199 int put_u16(int attribute, uint16_t value) { in put_u16() argument
200 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u16()
202 int put_u32(int attribute, uint32_t value) { in put_u32() argument
203 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u32()
206 int put_s32(int attribute, int32_t value) { in put_s32() argument
207 return nla_put(mMsg, attribute, sizeof(int32_t), &value); in put_s32()
210 int put_u64(int attribute, uint64_t value) { in put_u64() argument
211 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u64()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddboolhuff.h45 VP8_BD_VALUE value; member
65 VP8_BD_VALUE value; in vp8dx_decode_bool() local
76 value = br->value; in vp8dx_decode_bool()
83 if (value >= bigsplit) in vp8dx_decode_bool()
86 value = value - bigsplit; in vp8dx_decode_bool()
93 value <<= shift; in vp8dx_decode_bool()
96 br->value = value; in vp8dx_decode_bool()
/hardware/intel/img/libdrm/libdrm/
Dxf86drmSL.c77 void *value; member
93 extern int drmSLLookup(void *l, unsigned long key, void **value);
94 extern int drmSLInsert(void *l, unsigned long key, void *value);
96 extern int drmSLNext(void *l, unsigned long *key, void **value);
97 extern int drmSLFirst(void *l, unsigned long *key, void **value);
104 static SLEntryPtr SLCreateEntry(int max_level, unsigned long key, void *value) in SLCreateEntry() argument
115 entry->value = value; in SLCreateEntry()
186 int drmSLInsert(void *l, unsigned long key, void *value) in drmSLInsert() argument
207 entry = SLCreateEntry(level, key, value); in drmSLInsert()
246 int drmSLLookup(void *l, unsigned long key, void **value) in drmSLLookup() argument
[all …]
Dxf86drmHash.c106 void *value; member
124 extern int drmHashLookup(void *t, unsigned long key, unsigned long *value);
125 extern int drmHashInsert(void *t, unsigned long key, unsigned long value);
225 int drmHashLookup(void *t, unsigned long key, void **value) in drmHashLookup() argument
234 *value = bucket->value; in drmHashLookup()
238 int drmHashInsert(void *t, unsigned long key, void *value) in drmHashInsert() argument
251 bucket->value = value; in drmHashInsert()
277 int drmHashNext(void *t, unsigned long *key, void **value) in drmHashNext() argument
284 *value = table->p1->value; in drmHashNext()
294 int drmHashFirst(void *t, unsigned long *key, void **value) in drmHashFirst() argument
[all …]
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp145 if ((attrib.value & VA_RT_FORMAT_YUV420) == 0) { in init()
146 ALOGE("attribute is %x vs wanted %x", attrib.value, VA_RT_FORMAT_YUV420); in init()
286 attribs[0].value.type = VAGenericValueTypeInteger; in allocSurface()
287 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in allocSurface()
291 attribs[1].value.type = VAGenericValueTypePointer; in allocSurface()
292 attribs[1].value.value.p = &vaExtBuf; in allocSurface()
296 attribs[2].value.type = VAGenericValueTypeInteger; in allocSurface()
297 attribs[2].value.value.i = VA_SURFACE_ATTRIB_USAGE_HINT_VPP_READ; in allocSurface()
401 … deblock.value = deblockCaps.range.min_value + DENOISE_DEBLOCK_STRENGTH * deblockCaps.range.step; in setupFilters()
426 denoise.value = atof(propValueString); in setupFilters()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_reader.h34 BD_VALUE value; member
49 BD_VALUE value; in vp9_read() local
58 value = r->value; in vp9_read()
65 if (value >= bigsplit) { in vp9_read()
67 value = value - bigsplit; in vp9_read()
74 value <<= shift; in vp9_read()
77 r->value = value; in vp9_read()
Dvp9_read_bit_buffer.c31 int value = 0, bit; in vp9_rb_read_literal() local
33 value |= vp9_rb_read_bit(rb) << bit; in vp9_rb_read_literal()
34 return value; in vp9_rb_read_literal()
39 const int value = vp9_rb_read_literal(rb, bits); in vp9_rb_read_signed_literal() local
40 return vp9_rb_read_bit(rb) ? -value : value; in vp9_rb_read_signed_literal()
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.cpp37 intptr_t value; member
62 static ShareMemMap* ReadMemObjFromBinder(const Parcel& data, uint32_t sessionflag, intptr_t value) { in ReadMemObjFromBinder() argument
71 map->value_backup = value; in ReadMemObjFromBinder()
91 map->value = (intptr_t)( mem->pointer() + 0x0FFF) & ~0x0FFF; in ReadMemObjFromBinder()
96 heap->getHeapID(), mem->pointer(), *((intptr_t *)(mem->pointer())), map->value); in ReadMemObjFromBinder()
110 map->value = (intptr_t)buffer->handle; in ReadMemObjFromBinder()
177 static ShareMemMap* FindShareMem(uint32_t sessionflag, intptr_t value, bool isBackup) in FindShareMem() argument
186 if ((*node)->sessionflag == sessionflag && (*node)->value_backup == value) in FindShareMem()
192 else if ((*node)->sessionflag == sessionflag && (*node)->value == value) in FindShareMem()
203 static ShareMemMap* PopShareMem(uint32_t sessionflag, intptr_t value) in PopShareMem() argument
[all …]
DVideoEncoderUtils.h43 void setValue(intptr_t value) {mValue = value;} in setValue() argument
52 Encode_Status MappingSurfaceID(intptr_t value);
53 Encode_Status MappingGfxHandle(intptr_t value);
54 Encode_Status MappingKbufHandle(intptr_t value);
55 Encode_Status MappingMallocPTR(intptr_t value);
56 VASurfaceID CreateSurfaceFromExternalBuf(intptr_t value, ValueInfo& vinfo);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp915 control.value = 1; in venc_open()
928 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_open()
930 …INT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, control.value); in venc_open()
957 control.value = 0x7fffffff; in venc_open()
2061 control.value = 1; in venc_start()
2543 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_I_FRAME; in venc_set_inband_video_header()
2545 control.value = V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE; in venc_set_inband_video_header()
2562 control.value = V4L2_MPEG_VIDC_VIDEO_H264_AU_DELIMITER_ENABLED; in venc_set_au_delimiter()
2564 control.value = V4L2_MPEG_VIDC_VIDEO_H264_AU_DELIMITER_DISABLED; in venc_set_au_delimiter()
2581 control.value = num_layers; in venc_set_hier_layers()
[all …]
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp136 String8 value; in setParameters() local
143 if (param.get(key, value) == NO_ERROR) { in setParameters()
144 mBluetoothEnabled = (value == "true"); in setParameters()
151 if (param.get(key, value) == NO_ERROR) { in setParameters()
152 mSuspended = (value == "true"); in setParameters()
173 String8 value; in getParameters() local
177 if (param.get(key, value) == NO_ERROR) { in getParameters()
178 value = mBluetoothEnabled ? "true" : "false"; in getParameters()
179 a2dpParam.add(key, value); in getParameters()
183 if (param.get(key, value) == NO_ERROR) { in getParameters()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
DExynosVideoEncoder.c303 ext_ctrl[0].value = pCommonParam->IDRPeriod; in MFC_Encoder_Set_EncParam()
305 ext_ctrl[1].value = pCommonParam->SliceMode; /* 0: one, 1: fixed #mb, 3: fixed #bytes */ in MFC_Encoder_Set_EncParam()
307 ext_ctrl[2].value = pCommonParam->RandomIntraMBRefresh; in MFC_Encoder_Set_EncParam()
309 ext_ctrl[3].value = pCommonParam->PadControlOn; in MFC_Encoder_Set_EncParam()
311 ext_ctrl[4].value = pCommonParam->CrPadVal; in MFC_Encoder_Set_EncParam()
312 ext_ctrl[4].value |= (pCommonParam->CbPadVal << 8); in MFC_Encoder_Set_EncParam()
313 ext_ctrl[4].value |= (pCommonParam->LumaPadVal << 16); in MFC_Encoder_Set_EncParam()
315 ext_ctrl[5].value = pCommonParam->EnableFRMRateControl; in MFC_Encoder_Set_EncParam()
317 ext_ctrl[6].value = pCommonParam->EnableMBRateControl; in MFC_Encoder_Set_EncParam()
322 ext_ctrl[7].value = pCommonParam->Bitrate; in MFC_Encoder_Set_EncParam()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.h179 int put_u8(int attribute, uint8_t value) { in put_u8() argument
180 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u8()
182 int put_u16(int attribute, uint16_t value) { in put_u16() argument
183 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u16()
185 int put_u32(int attribute, uint32_t value) { in put_u32() argument
186 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u32()
188 int put_u64(int attribute, uint64_t value) { in put_u64() argument
189 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u64()
191 int put_string(int attribute, const char *value) { in put_string() argument
192 return nla_put(mMsg, attribute, strlen(value) + 1, value); in put_string()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAControl.cpp54 status_t ALSAControl::get(const char *name, unsigned int &value, int index) in get() argument
67 mixer_ctl_get(ctl, &value); in get()
71 status_t ALSAControl::set(const char *name, unsigned int value, int index) in set() argument
75 ALOGD("set:: name %s value %d index %d", name, value, index); in set()
87 ret = mixer_ctl_set(ctl, value); in set()
91 status_t ALSAControl::set(const char *name, const char *value) in set() argument
95 ALOGD("set:: name %s value %s", name, value); in set()
107 ret = mixer_ctl_select(ctl, value); in set()
/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp34 #define KIONIX_UNIT_CONVERSION(value) ((value) * GRAVITY_EARTH / (1024.0f)) argument
66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
178 float value = event->value; in readEvents() local
180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value); in readEvents()
182 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(value); in readEvents()
184 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(value); in readEvents()

12345678910>>...19