Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 129) sorted by relevance

123456

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmendian.h125 #define htol16_ua_store(val, bytes) ({ \ argument
127 uint8 *_bytes = (uint8 *)(bytes); \
132 #define htol32_ua_store(val, bytes) ({ \ argument
134 uint8 *_bytes = (uint8 *)(bytes); \
141 #define hton16_ua_store(val, bytes) ({ \ argument
143 uint8 *_bytes = (uint8 *)(bytes); \
148 #define hton32_ua_store(val, bytes) ({ \ argument
150 uint8 *_bytes = (uint8 *)(bytes); \
157 #define ltoh16_ua(bytes) ({ \ argument
158 const uint8 *_bytes = (const uint8 *)(bytes); \
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcommon.cpp203 void hexdump(char *bytes, u16 len) in hexdump() argument
209 bytes[i], bytes[i+1], in hexdump()
210 bytes[i+2], bytes[i+3], in hexdump()
211 bytes[i+4], bytes[i+5], in hexdump()
212 bytes[i+6], bytes[i+7]); in hexdump()
216 bytes[i], bytes[i+1], in hexdump()
217 bytes[i+2], bytes[i+3]); in hexdump()
221 ALOGI("%02x", bytes[i]); in hexdump()
/hardware/ti/omap4xxx/camera/
DMemoryManager.cpp46 void* MemoryManager::allocateBuffer(int width, int height, const char* format, int &bytes, int numB… in allocateBuffer() argument
77 if(bytes != 0) in allocateBuffer()
85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle); in allocateBuffer()
92 CAMHAL_LOGDB("Before mapping, handle = %x, nSize = %d", handle, bytes); in allocateBuffer()
93 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0, in allocateBuffer()
103 mIonBufLength.add(bufsArr[i], (unsigned int) bytes); in allocateBuffer()
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) in write() argument
131 usleep(bytes * 1000000 / sizeof(int16_t) / in write()
133 return bytes; in write()
175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) in read() argument
178 usleep(bytes * 1000000 / sizeof(int16_t) / in read()
180 memset(buffer, 0, bytes); in read()
181 return bytes; in read()
DAudioDumpInterface.cpp279 ssize_t AudioStreamOutDump::write(const void* buffer, size_t bytes) in write() argument
284 ret = mFinalStream->write(buffer, bytes); in write()
286 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000); in write()
287 ret = bytes; in write()
298 fwrite(buffer, bytes, 1, mFile); in write()
439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes) in read() argument
444 ret = mFinalStream->read(buffer, bytes); in read()
454 fwrite(buffer, bytes, 1, mFile); in read()
457 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000); in read()
458 ret = bytes; in read()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_variance_impl_mmx.asm97 movq mm0, [rax] ; Copy eight bytes to mm0
98 movq mm1, [rbx] ; Copy eight bytes to mm1
116 movq mm1, [rbx] ; Copy eight bytes to mm1
122 movq mm0, [rax] ; Copy eight bytes to mm0
140 movq mm1, [rbx] ; Copy eight bytes to mm1
145 movq mm0, [rax] ; Copy eight bytes to mm0
163 movq mm1, [rbx] ; Copy eight bytes to mm1
168 movq mm0, [rax] ; Copy eight bytes to mm0
186 movq mm1, [rbx] ; Copy eight bytes to mm1
191 movq mm0, [rax] ; Copy eight bytes to mm0
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dvariance_impl_mmx.asm97 movq mm0, [rax] ; Copy eight bytes to mm0
98 movq mm1, [rbx] ; Copy eight bytes to mm1
116 movq mm1, [rbx] ; Copy eight bytes to mm1
122 movq mm0, [rax] ; Copy eight bytes to mm0
140 movq mm1, [rbx] ; Copy eight bytes to mm1
145 movq mm0, [rax] ; Copy eight bytes to mm0
163 movq mm1, [rbx] ; Copy eight bytes to mm1
168 movq mm0, [rax] ; Copy eight bytes to mm0
186 movq mm1, [rbx] ; Copy eight bytes to mm1
191 movq mm0, [rax] ; Copy eight bytes to mm0
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dmd5_utils.c57 ctx->bytes[0] = 0; in MD5Init()
58 ctx->bytes[1] = 0; in MD5Init()
71 t = ctx->bytes[0]; in MD5Update()
73 if ((ctx->bytes[0] = t + len) < t) in MD5Update()
74 ctx->bytes[1]++; /* Carry from low to high */ in MD5Update()
109 int count = ctx->bytes[0] & 0x3f; /* Number of bytes in ctx->in */ in MD5Final()
130 ctx->in[14] = ctx->bytes[0] << 3; in MD5Final()
131 ctx->in[15] = ctx->bytes[1] << 3 | ctx->bytes[0] >> 29; in MD5Final()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/
Dvp8_mse16x16_armv6.asm46 sel r7, r8, lr ; select bytes with positive difference
49 sel r8, r9, lr ; select bytes with negative difference
68 sel r7, r8, lr ; select bytes with positive difference
70 sel r8, r9, lr ; select bytes with negative difference
87 sel r7, r8, lr ; select bytes with positive difference
89 sel r8, r9, lr ; select bytes with negative difference
109 sel r7, r8, lr ; select bytes with positive difference
112 sel r8, r9, lr ; select bytes with negative difference
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c98 int bytes = 0; in size_from_channelarray() local
101 if (bytes % channels[i].bytes == 0) in size_from_channelarray()
102 channels[i].location = bytes; in size_from_channelarray()
104 channels[i].location = bytes - bytes%channels[i].bytes in size_from_channelarray()
105 + channels[i].bytes; in size_from_channelarray()
106 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray()
109 return bytes; in size_from_channelarray()
147 switch (infoarray[k].bytes) { in process_scan()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dvp8_variance16x16_armv6.asm45 sel r7, r6, lr ; select bytes with positive difference
48 sel r6, r9, lr ; select bytes with negative difference
69 sel r7, r6, lr ; select bytes with positive difference
71 sel r6, r9, lr ; select bytes with negative difference
93 sel r7, r6, lr ; select bytes with positive difference
95 sel r6, r9, lr ; select bytes with negative difference
118 sel r7, r6, lr ; select bytes with positive difference
121 sel r6, r9, lr ; select bytes with negative difference
Dvp8_variance_halfpixvar16x16_h_armv6.asm50 sel r7, r6, lr ; select bytes with positive difference
53 sel r6, r6, lr ; select bytes with negative difference
81 sel r7, r6, lr ; select bytes with positive difference
83 sel r6, r6, lr ; select bytes with negative difference
112 sel r7, r6, lr ; select bytes with positive difference
114 sel r6, r6, lr ; select bytes with negative difference
144 sel r7, r6, lr ; select bytes with positive difference
147 sel r6, r6, lr ; select bytes with negative difference
Dvp8_variance_halfpixvar16x16_v_armv6.asm51 sel r7, r6, lr ; select bytes with positive difference
54 sel r6, r6, lr ; select bytes with negative difference
82 sel r7, r6, lr ; select bytes with positive difference
84 sel r6, r6, lr ; select bytes with negative difference
113 sel r7, r6, lr ; select bytes with positive difference
115 sel r6, r6, lr ; select bytes with negative difference
145 sel r7, r6, lr ; select bytes with positive difference
148 sel r6, r6, lr ; select bytes with negative difference
Dvp8_variance_halfpixvar16x16_hv_armv6.asm61 sel r7, r6, lr ; select bytes with positive difference
64 sel r6, r6, lr ; select bytes with negative difference
103 sel r7, r6, lr ; select bytes with positive difference
105 sel r6, r6, lr ; select bytes with negative difference
145 sel r7, r6, lr ; select bytes with positive difference
147 sel r6, r6, lr ; select bytes with negative difference
186 sel r7, r6, lr ; select bytes with positive difference
189 sel r6, r6, lr ; select bytes with negative difference
Dvp8_variance8x8_armv6.asm43 sel r10, r8, lr ; select bytes with positive difference
46 sel r8, r9, lr ; select bytes with negative difference
68 sel r10, r8, lr ; select bytes with positive difference
71 sel r8, r9, lr ; select bytes with negative difference
/hardware/ti/omap4-aah/libtiutils/
DMessageQueue.cpp193 size_t bytes = 0; in put() local
212 while( bytes < sizeof(msg) ) in put()
214 int err = write(this->fd_write, p, sizeof(*msg) - bytes); in put()
224 bytes += err; in put()
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp192 size_t bytes = 0; in put() local
211 while( bytes < sizeof(msg) ) in put()
213 int err = write(this->fd_write, p, sizeof(*msg) - bytes); in put()
223 bytes += err; in put()
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Domx_video_base.h198 OMX_U32 bytes
311 OMX_U32 bytes,
439 OMX_U32 bytes);
444 OMX_U32 bytes);
449 OMX_U32 bytes);
455 OMX_U32 bytes,
462 OMX_U32 bytes,
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamOutALSA.cpp110 ssize_t AudioStreamOutALSA::write(const void *buffer, size_t bytes) in write() argument
115 ALOGV("write:: buffer %p, bytes %d", buffer, bytes); in write()
121 int write_pending = bytes; in write()
200 return bytes; in write()
268 return bytes; in write()
280 } while ((mHandle->handle||(mHandle->rxHandle && mParent->mVoipStreamCount)) && sent < bytes); in write()
/hardware/libhardware/modules/audio/
Daudio_hw.c105 size_t bytes) in out_write() argument
108 usleep(bytes * 1000000 / audio_stream_out_frame_size(stream) / in out_write()
110 return bytes; in out_write()
193 size_t bytes) in in_read() argument
196 usleep(bytes * 1000000 / audio_stream_in_frame_size(stream) / in in_read()
198 return bytes; in in_read()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h273 OMX_U32 bytes
365 OMX_U32 bytes,
373 OMX_U32 bytes,
533 OMX_U32 bytes);
540 OMX_U32 bytes);
545 OMX_U32 bytes);
550 OMX_U32 bytes,
847 OMX_U32 bytes);
850 OMX_U32 bytes, OMX_U8 *buffer);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h204 OMX_U32 bytes
331 OMX_U32 bytes,
458 OMX_U32 bytes);
463 OMX_U32 bytes);
468 OMX_U32 bytes);
474 OMX_U32 bytes,
481 OMX_U32 bytes,
/hardware/akm/AK8975_FS/libsensors/
DAdxlSensor.cpp132 int bytes; in setDelay() local
156 bytes = sprintf(buffer, "%d", rate_val); in setDelay()
157 err = write_sys_attribute(input_sysfs_path, buffer, bytes); in setDelay()
/hardware/libhardware/tests/camera2/
DCameraStreamFixture.h320 size_t bytes; in DumpYuvToFile() local
323 bytes = fwrite( in DumpYuvToFile()
326 if (bytes != img.width) { in DumpYuvToFile()
344 bytes = fwrite(reinterpret_cast<const char*>(px), in DumpYuvToFile()
346 if (bytes != img.width / 2) { in DumpYuvToFile()
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c582 size_t bytes) in out_write() argument
589 ALOGV("%s enter for bytes = %d channels = %d",__func__,bytes, out->pcm_config.channels); in out_write()
616 dstbuff = (int32_t*)malloc(bytes* 2); in out_write()
624 memset(dstbuff,0,bytes * 2); in out_write()
626 outbytes = make_sinkcompliant_buffers((void*)buffer, (void*)dstbuff,bytes); in out_write()
633 ret = pcm_write(out->pcm, (void *)buffer, bytes); in out_write()
635 …cm_write: %s done for %d input bytes, output bytes = %d ", pcm_get_error(out->pcm),bytes,outbytes); in out_write()
644 uint64_t duration_ms = ((bytes * 1000)/ in out_write()
652 return bytes; in out_write()

123456