Home
last modified time | relevance | path

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

12345

/device/asus/fugu/
Dreleasetools.py41 offset = header_size;
44 …ifwi_size, droidboot_size = struct.unpack(header_v1_fmt, bootloader[offset:offset + header_v1_size…
45 offset += header_v1_size
46 ifwi = bootloader[offset:offset + ifwi_size]
47 offset += ifwi_size
48 droidboot = bootloader[offset:]
55 offset = header_size;
56 while offset < len(bootloader):
59 …c_magic, size, flags, _, _ , _ = struct.unpack(c_header_fmt, bootloader[offset:offset + c_header_s…
60 buf = bootloader[offset + c_header_size: offset + c_header_size + size]
[all …]
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DglUtils.h77 template <class T> void shiftIndices(T *indices, int count, int offset) { in shiftIndices() argument
80 *ptr += offset; in shiftIndices()
86 template <class T> void shiftIndices(T *src, T *dst, int count, int offset) in shiftIndices() argument
89 *dst = *src + offset; in shiftIndices()
/device/asus/fugu/recovery/
Drecovery_ui.cpp74 current_mode.red.offset = 0; in SetupDisplayMode()
76 current_mode.green.offset = 8; in SetupDisplayMode()
78 current_mode.blue.offset = 16; in SetupDisplayMode()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp192 int32_t QCamera3Memory::getBufDef(const cam_frame_len_offset_t &offset, in getBufDef() argument
203 bufDef.num_planes = offset.num_planes; in getBufDef()
208 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
210 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
213 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
215 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
644 mPrivateHandle[mBufferCount]->offset); in registerBuffer()
DQCamera3Stream.h75 int32_t getFrameOffset(cam_frame_len_offset_t &offset);
112 cam_frame_len_offset_t *offset,
124 int32_t getBufs(cam_frame_len_offset_t *offset,
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraStream.h82 int32_t getFrameOffset(cam_frame_len_offset_t &offset);
147 cam_frame_len_offset_t *offset,
155 cam_frame_len_offset_t *offset,
173 int32_t getBufs(cam_frame_len_offset_t *offset,
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Mem.cpp190 void QCamera3Memory::getBufDef(const cam_frame_len_offset_t &offset, in getBufDef() argument
200 bufDef.num_planes = offset.num_planes; in getBufDef()
205 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
207 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
210 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
212 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
663 mPrivateHandle[cnt]->offset); in registerBuffers()
DQCamera3Stream.h75 int32_t getFrameOffset(cam_frame_len_offset_t &offset);
109 cam_frame_len_offset_t *offset,
121 int32_t getBufs(cam_frame_len_offset_t *offset,
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Stream.h79 int32_t getFrameOffset(cam_frame_len_offset_t &offset);
116 cam_frame_len_offset_t *offset,
128 int32_t getBufs(cam_frame_len_offset_t *offset,
DQCamera3Mem.cpp218 int32_t QCamera3Memory::getBufDef(const cam_frame_len_offset_t &offset, in getBufDef() argument
231 bufDef.num_planes = offset.num_planes; in getBufDef()
236 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
238 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
241 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
243 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
703 mPrivateHandle[idx]->offset); in registerBuffer()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraStream.h75 int32_t getFrameOffset(cam_frame_len_offset_t &offset);
112 cam_frame_len_offset_t *offset,
124 int32_t getBufs(cam_frame_len_offset_t *offset,
DQCameraMem.cpp199 void QCameraMemory::getBufDef(const cam_frame_len_offset_t &offset, in getBufDef() argument
207 bufDef.frame_len = offset.frame_len; in getBufDef()
209 bufDef.num_planes = offset.num_planes; in getBufDef()
214 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
216 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
219 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
221 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
1165 mPrivateHandle[cnt]->offset); in allocate()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraStream.h75 int32_t getFrameOffset(cam_frame_len_offset_t &offset);
112 cam_frame_len_offset_t *offset,
124 int32_t getBufs(cam_frame_len_offset_t *offset,
DQCameraMem.cpp199 void QCameraMemory::getBufDef(const cam_frame_len_offset_t &offset, in getBufDef() argument
207 bufDef.frame_len = offset.frame_len; in getBufDef()
209 bufDef.num_planes = offset.num_planes; in getBufDef()
214 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
216 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
219 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
221 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
1165 mPrivateHandle[cnt]->offset); in allocate()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1700 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1711 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1732 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1745 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1767 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1778 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1788 buf_planes->plane_info.mp[2].offset = 0; in mm_stream_calc_offset_preview()
1811 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1820 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1844 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c160 ov_front.data.offset = 0; in overlay_set_frame()
186 e->src.offset = 0; in test_app_camframe_callback()
192 e->dst.offset = 0; in test_app_camframe_callback()
468 e->src.offset = 0; in v4l2_render()
474 e->dst.offset = 0; in v4l2_render()
503 ov_front.data.offset = 0; in v4l2_render()
528 e->src.offset = 0; in mm_app_dl_render()
534 e->dst.offset = 0; in mm_app_dl_render()
565 ov_front.data.offset = 0; in mm_app_dl_render()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c165 if (1 == src_buf->src_image[i].offset.num_planes) { in mm_jpeg_omx_config_main_buffer_offset()
167 src_buf->src_image[i].offset.sp.y_offset; in mm_jpeg_omx_config_main_buffer_offset()
169 src_buf->src_image[i].offset.sp.cbcr_offset; in mm_jpeg_omx_config_main_buffer_offset()
171 src_buf->src_image[i].offset.sp.len; in mm_jpeg_omx_config_main_buffer_offset()
174 src_buf->src_image[i].offset.mp[0].offset; in mm_jpeg_omx_config_main_buffer_offset()
176 src_buf->src_image[i].offset.mp[1].offset; in mm_jpeg_omx_config_main_buffer_offset()
178 src_buf->src_image[i].offset.frame_len; in mm_jpeg_omx_config_main_buffer_offset()
188 buffer_offset.cbcrOffset = src_buf->src_image[i].offset.mp[0].offset + in mm_jpeg_omx_config_main_buffer_offset()
189 src_buf->src_image[i].offset.mp[0].len + in mm_jpeg_omx_config_main_buffer_offset()
190 src_buf->src_image[i].offset.mp[1].offset;; in mm_jpeg_omx_config_main_buffer_offset()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1664 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1673 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1692 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1703 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1723 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1732 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1740 buf_planes->plane_info.mp[2].offset = 0; in mm_stream_calc_offset_preview()
1761 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1768 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1840 buf_planes->plane_info.mp[0].offset = in mm_stream_calc_offset_snapshot()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1671 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1680 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1699 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1710 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1730 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1739 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1747 buf_planes->plane_info.mp[2].offset = 0; in mm_stream_calc_offset_preview()
1768 buf_planes->plane_info.mp[0].offset = 0; in mm_stream_calc_offset_preview()
1775 buf_planes->plane_info.mp[1].offset = 0; in mm_stream_calc_offset_preview()
1847 buf_planes->plane_info.mp[0].offset = in mm_stream_calc_offset_snapshot()
[all …]
/device/asus/deb/kernel-headers/media/
Dmsm_gemini.h77 uint32_t offset; member
92 uint32_t offset:16; member
/device/asus/flo/kernel-headers/media/
Dmsm_gemini.h77 uint32_t offset; member
92 uint32_t offset:16; member
/device/asus/deb/original-kernel-headers/media/
Dmsm_gemini.h91 uint32_t offset; member
110 uint32_t offset:16; member
/device/asus/flo/original-kernel-headers/media/
Dmsm_gemini.h91 uint32_t offset; member
110 uint32_t offset:16; member
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c270 p_params->dest_buf[0].offset.mp[0].len = size; in decode_init()
271 p_params->dest_buf[0].offset.mp[1].len = size * (cScale-1.0); in decode_init()
272 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init()
273 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
274 p_params->dest_buf[0].offset.mp[1].stride = CEILING16(p_input->width); in decode_init()
275 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
Dmm_jpeg_test.c283 p_params->src_main_buf[i].offset.mp[0].len = size; in encode_init()
284 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
285 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
286 p_params->src_main_buf[i].offset.mp[1].len = size >> 1; in encode_init()
294 p_params->src_thumb_buf[i].offset.mp[0].len = size; in encode_init()
295 p_params->src_thumb_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
296 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
297 p_params->src_thumb_buf[i].offset.mp[1].len = size >> 1; in encode_init()

12345