/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 | 606 LOG_V("offsets[0] = %d\n", destImage.offsets[0]); in doActionCopy() 607 LOG_V("offsets[1] = %d\n", destImage.offsets[1]); in doActionCopy() 621 dstY = pDestBuffer + destImage.offsets[0]; in doActionCopy() 623 dstUV = pDestBuffer + destImage.offsets[1]; in doActionCopy() 699 extbuf.offsets[0] = 0; in CreateSurfaceFromExternalBuf() 700 extbuf.offsets[1] = vinfo.lumaStride * vinfo.height; in CreateSurfaceFromExternalBuf() 701 extbuf.offsets[2] = extbuf.offsets[1]; in CreateSurfaceFromExternalBuf() 702 extbuf.offsets[3] = 0; in CreateSurfaceFromExternalBuf() 771 extbuf.offsets[0] = 0; in CreateNewVASurface() 772 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() 1292 src = (uint8_t*)pBuf + vaImage.offsets[1]; in getRawDataFromSurface() 1336 surfExtBuf.offsets[0] = 0; in createSurfaceFromHandle() 1337 surfExtBuf.offsets[1] = mConfigBuffer.graphicBufferHStride * mConfigBuffer.graphicBufferVStride; in createSurfaceFromHandle() [all …]
|
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 313 std::vector<uint32_t> offsets(9, 0); in TEST_F() local 314 offsets[0] = 128; in TEST_F() 315 offsets[1] = 128; in TEST_F() 317 _offsets.setToExternal(offsets.data(), offsets.size()); in TEST_F()
|
/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/qcom/display/msm8998/libdrmutils/ |
D | drm_master.cpp | 105 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
|
/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() 1862 buf.offsets[0] = 0; in queueCompose() 1863 buf.offsets[1] = stride * bufHeight; in queueCompose() 1864 buf.offsets[2] = buf.offsets[1]; in queueCompose() 1865 buf.offsets[3] = 0; in queueCompose()
|
/hardware/interfaces/gnss/1.0/ |
D | IGnssMeasurement.hal | 36 * intra-measurement time offsets in the range from 0-2000msec can be
|
/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/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/interfaces/renderscript/1.0/ |
D | IContext.hal | 65 * TODO: Explain the flattened layout in the offsets vec 67 * Sets the offsets for an Allocation Adapter. 70 * @param offsets Collection of offsets 73 allocationAdapterOffset(AllocationAdapter alloc, vec<uint32_t> offsets);
|
/hardware/interfaces/renderscript/1.0/default/ |
D | Context.h | 41 …Return<void> allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) override;
|