Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c541 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/
Dloadsurface.h248 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/
Ducode_download.c124 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()
Ddhdu.c1835 fsize = (int)(trx_hdr.offsets[0]); in dhd_download()
1870 fsize = (int)(trx_hdr.offsets[0] + sizeof(struct trx_header)); in dhd_download()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp618 LOG_V("offsets[0] = %d\n", destImage.offsets[0]); in doActionCopy()
619 LOG_V("offsets[1] = %d\n", destImage.offsets[1]); in doActionCopy()
634 dstY = pDestBuffer + destImage.offsets[0]; in doActionCopy()
636 dstUV = pDestBuffer + destImage.offsets[1]; in doActionCopy()
712 extbuf.offsets[0] = 0; in CreateSurfaceFromExternalBuf()
713 extbuf.offsets[1] = vinfo.lumaStride * vinfo.height; in CreateSurfaceFromExternalBuf()
714 extbuf.offsets[2] = extbuf.offsets[1]; in CreateSurfaceFromExternalBuf()
715 extbuf.offsets[3] = 0; in CreateSurfaceFromExternalBuf()
784 extbuf.offsets[0] = 0; in CreateNewVASurface()
785 extbuf.offsets[1] = width * height; in CreateNewVASurface()
[all …]
DVideoEncoderBase.cpp1539 LOG_V("image->offsets[0] = %d\n", image.offsets[0]); in getNewUsrptrFromSurface()
1540 LOG_V("image->offsets[1] = %d\n", image.offsets[1]); in getNewUsrptrFromSurface()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dtrxhdr.h57 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/
Dpsb_output.c319 obj_image->image.offsets[0] = 0; in psb_CreateImage()
320 obj_image->image.offsets[1] = pitch_pot * height; in psb_CreateImage()
379 obj_image->image.offsets[0] = 0; in psb_CreateImage()
380 obj_image->image.offsets[1] = pitch_pot * height; in psb_CreateImage()
381 obj_image->image.offsets[2] = pitch_pot * height + (pitch_pot / 2) * (height / 2); in psb_CreateImage()
399 obj_image->image.offsets[0] = 0; in psb_CreateImage()
400 obj_image->image.offsets[1] = pitch_pot * height; in psb_CreateImage()
401 obj_image->image.offsets[2] = pitch_pot * height * 2; in psb_CreateImage()
550 obj_image->image.offsets[0] = srf_buf_ofs; in psb_DeriveImage()
551 …obj_image->image.offsets[1] = srf_buf_ofs + obj_surface->height * obj_surface->psb_surface->stride; in psb_DeriveImage()
[all …]
Dpsb_drv_video.c735 attribute_tpi.luma_offset = pExternalBufDesc->offsets[0]; in psb_CreateSurfaces2()
736 attribute_tpi.chroma_u_offset = pExternalBufDesc->offsets[1]; in psb_CreateSurfaces2()
737 attribute_tpi.chroma_v_offset = pExternalBufDesc->offsets[2]; in psb_CreateSurfaces2()
/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp223 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/libmix/videodecoder/
DVideoDecoderBase.cpp902 mVASurfaceAttrib->offsets[0] = 0; in setupVA()
903 … mVASurfaceAttrib->offsets[1] = mConfigBuffer.graphicBufferStride * mVideoFormatInfo.surfaceHeight; in setupVA()
904 mVASurfaceAttrib->offsets[2] = 0; in setupVA()
905 mVASurfaceAttrib->offsets[3] = 0; in setupVA()
1122 mSurfaceBuffers[i].mappedData->offset[pi] = image.offsets[pi]; in mapSurface()
1128 image.offsets[0] != 0) { in mapSurface()
1129 …xpected VAImage format, w = %d, h = %d, offset = %d", image.width, image.height, image.offsets[0]); in mapSurface()
1231 src = (uint8_t*)pBuf + vaImage.offsets[1]; in getRawDataFromSurface()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9HWR.cpp293 surfExtBuf->offsets[0] = 0; in ProcessorInit()
294 surfExtBuf->offsets[1] = surfaceStride * surfaceHeight; in ProcessorInit()
295 surfExtBuf->offsets[2] = 0; in ProcessorInit()
296 surfExtBuf->offsets[3] = 0; in ProcessorInit()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c699 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/common/libva/test/encode/
Davcenc.c380 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()
Dmpeg2enc.c459 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()
Dmpeg2vaenc.c459 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/
DCameraHal.h548 …status_t startPreviewCallbacks(CameraParameters &params, 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/
Dva.h1089 unsigned int offsets[4]; member
2821 unsigned int offsets[3]; member
Dva_trace.c500 tmp->offsets[0], tmp->offsets[1], tmp->offsets[2], tmp->offsets[3]); in va_TraceSurfaceAttributes()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2184 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/invensense/60xx/mlsdk/mllite/
DmlFIFO.c133 int offsets[REF_LAST * 4]; member
267 int *fifo_offsets_ptr = fifo_obj.offsets; in inv_set_footer()
744 p[fifo_obj.offsets[kk]] = *dmpData++; in inv_process_fifo_packet()
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h683 …acks(android::CameraParameters &params, 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/
DAppCallbackNotifier.cpp1513 …acks(android::CameraParameters &params, 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
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp1437 …startPreviewCallbacks(CameraParameters &params, void *buffers, uint32_t *offsets, int fd, size_t l… in startPreviewCallbacks() argument
1619 status_t AppCallbackNotifier::initSharedVideoBuffers(void *buffers, uint32_t *offsets, int fd, size… in initSharedVideoBuffers() argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
DCHANGELOG233 residiual paritition (in the block of partition offsets), up