/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 541 int offsets[3] = {0}; in main() local 546 offsets[0] = -accel_bias[0].l / 1000 / 2 / scale_ratio; in main() 547 if (write_sysfs_int(mpu.accel_x_offset, offsets[0]) < 0) { in main() 550 offsets[1] = -accel_bias[1].l / 1000 / 2 / scale_ratio; in main() 551 if (write_sysfs_int(mpu.accel_y_offset, offsets[1]) < 0) { in main() 554 offsets[2] = -accel_bias[2].l / 1000 / 2 / scale_ratio; in main() 555 if (write_sysfs_int(mpu.accel_z_offset, offsets[2]) < 0) { in main() 559 offsets[0], offsets[1], offsets[2]); in main() 567 int offsets[3] = {0}; in main() local 570 offsets[0] = -gyro_bias[0].l / 1000 / scale_ratio; in main() [all …]
|
/hardware/intel/common/libva/test/ |
D | loadsurface.h | 248 U_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface() 254 U_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface() 255 V_start = (char *)surface_p + surface_image.offsets[2]; in upload_surface() 260 U_start = (char *)surface_p + surface_image.offsets[2]; in upload_surface() 261 V_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface() 314 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; in upload_surface_yuv() 320 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; in upload_surface_yuv() 321 V_start = (unsigned char *)surface_p + surface_image.offsets[2]; in upload_surface_yuv() 326 U_start = (unsigned char *)surface_p + surface_image.offsets[2]; in upload_surface_yuv() 327 V_start = (unsigned char *)surface_p + surface_image.offsets[1]; in upload_surface_yuv() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | ucode_download.c | 124 actual_data_len = ROUNDUP(trx->offsets[0], 4) + ROUNDUP(trx->offsets[1], 4); in check_ucode_file() 157 fw_size = main_trx_hdr.offsets[0]; in proc_ucode_download() 158 second_offset = main_trx_hdr.offsets[2]; in proc_ucode_download() 196 ucode_len = ucode_trx_hdr->offsets[0]; in proc_ucode_download() 198 ROUNDUP(ucode_trx_hdr->offsets[0], 4); in proc_ucode_download() 199 initvals_len = ucode_trx_hdr->offsets[1]; in proc_ucode_download()
|
/hardware/intel/common/libmix/videoencoder/ |
D | VideoEncoderUtils.cpp | 621 LOG_V("offsets[0] = %d\n", destImage.offsets[0]); in doActionCopy() 622 LOG_V("offsets[1] = %d\n", destImage.offsets[1]); in doActionCopy() 636 dstY = pDestBuffer + destImage.offsets[0]; in doActionCopy() 638 dstUV = pDestBuffer + destImage.offsets[1]; in doActionCopy() 714 extbuf.offsets[0] = 0; in CreateSurfaceFromExternalBuf() 715 extbuf.offsets[1] = vinfo.lumaStride * vinfo.height; in CreateSurfaceFromExternalBuf() 716 extbuf.offsets[2] = extbuf.offsets[1]; in CreateSurfaceFromExternalBuf() 717 extbuf.offsets[3] = 0; in CreateSurfaceFromExternalBuf() 786 extbuf.offsets[0] = 0; in CreateNewVASurface() 787 extbuf.offsets[1] = width * height; in CreateNewVASurface() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | trxhdr.h | 57 uint32 offsets[TRX_MAX_OFFSET]; /* Offsets of partitions from start of header */ member 59 uint32 offsets[1]; /* Offsets of partitions from start of header */ member
|
/hardware/intel/img/psb_video/src/ |
D | psb_output.c | 320 obj_image->image.offsets[0] = 0; in psb_CreateImage() 321 obj_image->image.offsets[1] = pitch_pot * height; in psb_CreateImage() 380 obj_image->image.offsets[0] = 0; in psb_CreateImage() 381 obj_image->image.offsets[1] = pitch_pot * height; in psb_CreateImage() 382 obj_image->image.offsets[2] = pitch_pot * height + (pitch_pot / 2) * (height / 2); in psb_CreateImage() 400 obj_image->image.offsets[0] = 0; in psb_CreateImage() 401 obj_image->image.offsets[1] = pitch_pot * height; in psb_CreateImage() 402 obj_image->image.offsets[2] = pitch_pot * height * 2; in psb_CreateImage() 551 obj_image->image.offsets[0] = srf_buf_ofs; in psb_DeriveImage() 552 …obj_image->image.offsets[1] = srf_buf_ofs + obj_surface->height * obj_surface->psb_surface->stride; in psb_DeriveImage() [all …]
|
/hardware/intel/common/libva/test/videoprocess/ |
D | videoprocess.cpp | 223 y_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[0]); in construct_nv12_mask_surface() 224 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in construct_nv12_mask_surface() 288 y_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[0]); in upload_yv12_frame_to_yuv_surface() 291 v_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in upload_yv12_frame_to_yuv_surface() 292 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[2]); in upload_yv12_frame_to_yuv_surface() 294 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in upload_yv12_frame_to_yuv_surface() 295 v_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[2]); in upload_yv12_frame_to_yuv_surface() 297 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in upload_yv12_frame_to_yuv_surface() 391 y_src = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[0]); in store_yuv_surface_to_yv12_frame() 393 v_src = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in store_yuv_surface_to_yv12_frame() [all …]
|
/hardware/intel/common/utils/ISV/base/ |
D | isv_worker.cpp | 242 vaExtBuf.offsets[0] = 0; in allocSurface() 243 vaExtBuf.offsets[1] = stride * *height; in allocSurface() 244 vaExtBuf.offsets[2] = vaExtBuf.offsets[1] + (stride / 2) * (*height / 2); in allocSurface() 245 vaExtBuf.offsets[3] = 0; in allocSurface() 254 vaExtBuf.offsets[0] = 0; in allocSurface() 256 vaExtBuf.offsets[1] = stride * ((*height + 31) & ~31); in allocSurface() 257 vaExtBuf.offsets[2] = vaExtBuf.offsets[1] + (stride / 2) * (((*height + 31) & ~31) / 2); in allocSurface() 258 vaExtBuf.offsets[3] = 0; in allocSurface() 275 vaExtBuf.offsets[0] = 0; in allocSurface() 276 vaExtBuf.offsets[1] = stride * *height; in allocSurface() [all …]
|
/hardware/intel/common/libmix/videodecoder/ |
D | VideoDecoderBase.cpp | 922 mVASurfaceAttrib->offsets[0] = 0; in setupVA() 923 …mVASurfaceAttrib->offsets[1] = mConfigBuffer.graphicBufferHStride * mConfigBuffer.graphicBufferVSt… in setupVA() 924 mVASurfaceAttrib->offsets[2] = 0; in setupVA() 925 mVASurfaceAttrib->offsets[3] = 0; in setupVA() 1178 mSurfaceBuffers[i].mappedData->offset[pi] = image.offsets[pi]; in mapSurface() 1184 image.offsets[0] != 0) { in mapSurface() 1185 …xpected VAImage format, w = %d, h = %d, offset = %d", image.width, image.height, image.offsets[0]); in mapSurface() 1291 src = (uint8_t*)pBuf + vaImage.offsets[1]; in getRawDataFromSurface() 1335 surfExtBuf.offsets[0] = 0; in createSurfaceFromHandle() 1336 surfExtBuf.offsets[1] = mConfigBuffer.graphicBufferHStride * mConfigBuffer.graphicBufferVStride; in createSurfaceFromHandle() [all …]
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixvideoformat_vc1.c | 875 ui32ChromaOffset = va_image.offsets[1]; in GetImageFromSurface() 892 g_print ("va_image.offsets[0] = %d\n", va_image.offsets[0]); in GetImageFromSurface() 893 g_print ("va_image.offsets[1] = %d\n", va_image.offsets[1]); in GetImageFromSurface() 894 g_print ("va_image.offsets[2] = %d\n", va_image.offsets[2]); in GetImageFromSurface() 897 r = fwrite (pBuffer, va_image.offsets[1], 1, fp); in GetImageFromSurface() 900 r = fwrite (pBuffer + va_image.offsets[1] + i / 2, 1, 1, fp); in GetImageFromSurface() 903 r = fwrite (pBuffer + va_image.offsets[1] + i / 2 + 1, 1, 1, fp); in GetImageFromSurface()
|
D | mixvideoformatenc_preview.c | 1014 "image->offsets[0] = %d\n", image->offsets[0]); in mix_videofmtenc_preview_process_encode() 1016 "image->offsets[1] = %d\n", image->offsets[1]); in mix_videofmtenc_preview_process_encode() 1030 dst_y = pvbuf +image->offsets[0]; in mix_videofmtenc_preview_process_encode() 1037 dst_uv = pvbuf + image->offsets[1]; in mix_videofmtenc_preview_process_encode()
|
D | mixvideoformatenc_mpeg4.c | 1349 "image->offsets[0] = %d\n", image->offsets[0]); in mix_videofmtenc_mpeg4_process_encode() 1351 "image->offsets[1] = %d\n", image->offsets[1]); in mix_videofmtenc_mpeg4_process_encode() 1365 dst_y = pvbuf +image->offsets[0]; in mix_videofmtenc_mpeg4_process_encode() 1372 dst_uv = pvbuf + image->offsets[1]; in mix_videofmtenc_mpeg4_process_encode()
|
D | mixvideoformatenc_h264.c | 1413 "image->offsets[0] = %d\n", image->offsets[0]); in mix_videofmtenc_h264_process_encode() 1415 "image->offsets[1] = %d\n", image->offsets[1]); in mix_videofmtenc_h264_process_encode() 1429 dst_y = pvbuf +image->offsets[0]; in mix_videofmtenc_h264_process_encode() 1436 dst_uv = pvbuf + image->offsets[1]; in mix_videofmtenc_h264_process_encode()
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderVP9HWR.cpp | 290 surfExtBuf->offsets[0] = 0; in ProcessorInit() 291 surfExtBuf->offsets[1] = surfaceHStride * surfaceVStride; in ProcessorInit() 292 surfExtBuf->offsets[2] = 0; in ProcessorInit() 293 surfExtBuf->offsets[3] = 0; in ProcessorInit()
|
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
D | VirtualDevice.cpp | 164 buf.offsets[0] = 0; in VAMappedHandle() 165 buf.offsets[1] = 0; in VAMappedHandle() 166 buf.offsets[2] = 0; in VAMappedHandle() 167 buf.offsets[3] = 0; in VAMappedHandle() 177 buf.offsets[0] = 0; in VAMappedHandle() 178 buf.offsets[1] = stride * height; in VAMappedHandle() 1861 buf.offsets[0] = 0; in queueCompose() 1862 buf.offsets[1] = stride * bufHeight; in queueCompose() 1863 buf.offsets[2] = buf.offsets[1]; in queueCompose() 1864 buf.offsets[3] = 0; in queueCompose()
|
/hardware/ti/omap4-aah/hwc/ |
D | rgz_2d.c | 699 int offsets[RGZ_SUBREGIONMAX]; in rgz_gen_blitregions() local 707 offsets[noffsets++] = max(0, left); in rgz_gen_blitregions() 708 offsets[noffsets++] = min(right, screen_width); in rgz_gen_blitregions() 710 rgz_bsort(offsets, noffsets); in rgz_gen_blitregions() 711 noffsets = rgz_bunique(offsets, noffsets); in rgz_gen_blitregions() 718 subregion.left = offsets[r]; in rgz_gen_blitregions() 719 subregion.right = offsets[r+1]; in rgz_gen_blitregions()
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
D | Drm.cpp | 607 uint32_t offsets[4] = {0}; in setDrmMode() local 623 offsets, in setDrmMode()
|
/hardware/intel/common/libva/test/encode/ |
D | avcenc.c | 380 y_dst = surface_p + surface_image.offsets[0]; in upload_yuv_to_surface() 381 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface() 382 v_dst = surface_p + surface_image.offsets[2]; in upload_yuv_to_surface() 407 u_dst = surface_p + surface_image.offsets[U]; in upload_yuv_to_surface() 408 v_dst = surface_p + surface_image.offsets[V]; in upload_yuv_to_surface()
|
D | mpeg2enc.c | 459 y_dst = surface_p + surface_image.offsets[0]; in upload_yuv_to_surface() 460 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface() 461 v_dst = surface_p + surface_image.offsets[2]; in upload_yuv_to_surface()
|
D | mpeg2vaenc.c | 459 y_dst = surface_p + surface_image.offsets[0]; in upload_yuv_to_surface() 460 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface() 461 v_dst = surface_p + surface_image.offsets[2]; in upload_yuv_to_surface()
|
/hardware/ti/omap4xxx/camera/inc/ |
D | CameraHal.h | 548 …status_t startPreviewCallbacks(CameraParameters ¶ms, void *buffers, uint32_t *offsets, int fd,… 580 …status_t initSharedVideoBuffers(void *buffers, uint32_t *offsets, int fd, size_t length, size_t co…
|
/hardware/intel/common/libva/va/ |
D | va.h | 1089 unsigned int offsets[4]; member 2824 unsigned int offsets[3]; member
|
/hardware/intel/common/libva/test/transcode/ |
D | mpeg2transcode.cpp | 2184 y_dst = (unsigned char *)(surface_p + surface_image.offsets[0]); in upload_yuv_to_surface() 2185 u_dst = (unsigned char *)(surface_p + surface_image.offsets[1]); /* UV offset for NV12 */ in upload_yuv_to_surface() 2186 v_dst = (unsigned char *)(surface_p + surface_image.offsets[2]); in upload_yuv_to_surface()
|
/hardware/ti/omap4-aah/camera/inc/ |
D | CameraHal.h | 683 …acks(android::CameraParameters ¶ms, CameraBuffer *buffers, uint32_t *offsets, int fd, size_t l… 715 …status_t initSharedVideoBuffers(CameraBuffer *buffers, uint32_t *offsets, int fd, size_t length, s…
|
/hardware/ti/omap4-aah/camera/ |
D | AppCallbackNotifier.cpp | 1513 …acks(android::CameraParameters ¶ms, CameraBuffer *buffers, uint32_t *offsets, int fd, size_t l… in startPreviewCallbacks() argument 1680 status_t AppCallbackNotifier::initSharedVideoBuffers(CameraBuffer *buffers, uint32_t *offsets, int … in initSharedVideoBuffers() argument
|