/hardware/qcom/camera/ |
D | QCameraHWI_Record.cpp | 233 if (mRecordBuf.video.video.buf.mp) in releaseEncodeBuffer() 234 delete[] mRecordBuf.video.video.buf.mp; in releaseEncodeBuffer() 407 planes[0] = dim.video_frame_offset.mp[0].len; in initEncodeBuffers() 408 planes[1] = dim.video_frame_offset.mp[1].len; in initEncodeBuffers() 419 mRecordBuf.video.video.buf.mp = new mm_camera_mp_buf_t[buf_cnt * in initEncodeBuffers() 421 if (!mRecordBuf.video.video.buf.mp) { in initEncodeBuffers() 425 memset(mRecordBuf.video.video.buf.mp, 0, in initEncodeBuffers() 491 mRecordBuf.video.video.buf.mp[cnt].frame = recordframes[cnt]; in initEncodeBuffers() 492 mRecordBuf.video.video.buf.mp[cnt].frame_offset = 0; in initEncodeBuffers() 493 mRecordBuf.video.video.buf.mp[cnt].num_planes = num_planes; in initEncodeBuffers() [all …]
|
D | QCameraHWI_Preview.cpp | 300 if (mDisplayBuf.preview.buf.mp != NULL) { in putBufferToSurface() 301 delete[] mDisplayBuf.preview.buf.mp; in putBufferToSurface() 302 mDisplayBuf.preview.buf.mp = NULL; in putBufferToSurface() 338 planes[i] = dim.display_frame_offset.mp[i].len; in getBufferNoDisplay() 342 y_off = dim.picture_frame_offset.mp[0].offset; in getBufferNoDisplay() 343 cbcr_off = dim.picture_frame_offset.mp[1].offset; in getBufferNoDisplay() 391 if (mDisplayBuf.preview.buf.mp != NULL) { in freeBufferNoDisplay() 392 delete[] mDisplayBuf.preview.buf.mp; in freeBufferNoDisplay() 393 mDisplayBuf.preview.buf.mp = NULL; in freeBufferNoDisplay() 573 planes[i] = dim.display_frame_offset.mp[i].len; in initDisplayBuffers() [all …]
|
D | QCameraHWI_Preview_7x27A.cpp | 394 planes[0] = dim.display_frame_offset.mp[0].len; in initDisplayBuffers() 395 planes[1] = dim.display_frame_offset.mp[1].len; in initDisplayBuffers() 398 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers() 399 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers() 402 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers() 429 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; in initDisplayBuffers() 430 mDisplayBuf.preview.buf.mp[i].frame_offset = mHalCamCtrl->mPreviewMemory.addr_offset[i]; in initDisplayBuffers() 431 mDisplayBuf.preview.buf.mp[i].num_planes = num_planes; in initDisplayBuffers() 435 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initDisplayBuffers() 436 mDisplayBuf.preview.buf.mp[i].planes[0].m.userptr = mDisplayStreamBuf.frame[i].fd; in initDisplayBuffers() [all …]
|
D | QCameraHWI_Still.cpp | 679 reg_buf.def.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initRawSnapshotBuffers() 680 if (!reg_buf.def.buf.mp) { in initRawSnapshotBuffers() 685 memset(reg_buf.def.buf.mp, 0, num_of_buf * sizeof(mm_camera_mp_buf_t)); in initRawSnapshotBuffers() 732 if (reg_buf.def.buf.mp) in initRawSnapshotBuffers() 733 delete []reg_buf.def.buf.mp; in initRawSnapshotBuffers() 789 reg_buf.snapshot.main.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initSnapshotBuffers() 790 if (!reg_buf.snapshot.main.buf.mp) { in initSnapshotBuffers() 795 memset(reg_buf.snapshot.main.buf.mp, 0, in initSnapshotBuffers() 798 reg_buf.snapshot.thumbnail.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initSnapshotBuffers() 799 if (!reg_buf.snapshot.thumbnail.buf.mp) { in initSnapshotBuffers() [all …]
|
D | QCameraHWI.cpp | 2521 buf_def->buf.mp[i].frame = *frame; in initHeapMem() 2522 buf_def->buf.mp[i].frame_offset = 0; in initHeapMem() 2523 buf_def->buf.mp[i].num_planes = num_planes; in initHeapMem() 2526 buf_def->buf.mp[i].planes[0].length = planes[0]; in initHeapMem() 2527 buf_def->buf.mp[i].planes[0].m.userptr = frame->fd; in initHeapMem() 2528 buf_def->buf.mp[i].planes[0].data_offset = y_off; in initHeapMem() 2529 buf_def->buf.mp[i].planes[0].reserved[0] = in initHeapMem() 2530 buf_def->buf.mp[i].frame_offset; in initHeapMem() 2532 buf_def->buf.mp[i].planes[j].length = planes[j]; in initHeapMem() 2533 buf_def->buf.mp[i].planes[j].m.userptr = frame->fd; in initHeapMem() [all …]
|
D | QCamera_Intf.h | 240 cam_mp_len_offset_t mp[8]; member
|
/hardware/qcom/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Record.cpp | 234 if (mRecordBuf.video.video.buf.mp) in releaseEncodeBuffer() 235 delete[] mRecordBuf.video.video.buf.mp; in releaseEncodeBuffer() 408 planes[0] = dim.video_frame_offset.mp[0].len; in initEncodeBuffers() 409 planes[1] = dim.video_frame_offset.mp[1].len; in initEncodeBuffers() 420 mRecordBuf.video.video.buf.mp = new mm_camera_mp_buf_t[buf_cnt * in initEncodeBuffers() 422 if (!mRecordBuf.video.video.buf.mp) { in initEncodeBuffers() 426 memset(mRecordBuf.video.video.buf.mp, 0, in initEncodeBuffers() 492 mRecordBuf.video.video.buf.mp[cnt].frame = recordframes[cnt]; in initEncodeBuffers() 493 mRecordBuf.video.video.buf.mp[cnt].frame_offset = 0; in initEncodeBuffers() 494 mRecordBuf.video.video.buf.mp[cnt].num_planes = num_planes; in initEncodeBuffers() [all …]
|
D | QCameraHWI_Preview.cpp | 293 if (mDisplayBuf.preview.buf.mp != NULL) { in putBufferToSurface() 294 delete[] mDisplayBuf.preview.buf.mp; in putBufferToSurface() 295 mDisplayBuf.preview.buf.mp = NULL; in putBufferToSurface() 331 planes[i] = dim.display_frame_offset.mp[i].len; in getBufferNoDisplay() 335 y_off = dim.picture_frame_offset.mp[0].offset; in getBufferNoDisplay() 336 cbcr_off = dim.picture_frame_offset.mp[1].offset; in getBufferNoDisplay() 378 if (mDisplayBuf.preview.buf.mp != NULL) { in freeBufferNoDisplay() 379 delete[] mDisplayBuf.preview.buf.mp; in freeBufferNoDisplay() 380 mDisplayBuf.preview.buf.mp = NULL; in freeBufferNoDisplay() 552 planes[0] = dim.display_frame_offset.mp[0].len; in initDisplayBuffers() [all …]
|
D | QCameraHWI_Still.cpp | 618 reg_buf.def.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initRawSnapshotBuffers() 619 if (!reg_buf.def.buf.mp) { in initRawSnapshotBuffers() 624 memset(reg_buf.def.buf.mp, 0, num_of_buf * sizeof(mm_camera_mp_buf_t)); in initRawSnapshotBuffers() 663 if (reg_buf.def.buf.mp) in initRawSnapshotBuffers() 664 delete []reg_buf.def.buf.mp; in initRawSnapshotBuffers() 720 reg_buf.snapshot.main.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initSnapshotBuffers() 721 if (!reg_buf.snapshot.main.buf.mp) { in initSnapshotBuffers() 726 memset(reg_buf.snapshot.main.buf.mp, 0, in initSnapshotBuffers() 729 reg_buf.snapshot.thumbnail.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initSnapshotBuffers() 730 if (!reg_buf.snapshot.thumbnail.buf.mp) { in initSnapshotBuffers() [all …]
|
D | QCameraHWI.cpp | 2388 buf_def->buf.mp[i].frame = *frame; in initHeapMem() 2389 buf_def->buf.mp[i].frame_offset = 0; in initHeapMem() 2390 buf_def->buf.mp[i].num_planes = num_planes; in initHeapMem() 2393 buf_def->buf.mp[i].planes[0].length = planes[0]; in initHeapMem() 2394 buf_def->buf.mp[i].planes[0].m.userptr = frame->fd; in initHeapMem() 2395 buf_def->buf.mp[i].planes[0].data_offset = y_off; in initHeapMem() 2396 buf_def->buf.mp[i].planes[0].reserved[0] = in initHeapMem() 2397 buf_def->buf.mp[i].frame_offset; in initHeapMem() 2399 buf_def->buf.mp[i].planes[j].length = planes[j]; in initHeapMem() 2400 buf_def->buf.mp[i].planes[j].m.userptr = frame->fd; in initHeapMem() [all …]
|
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1119 frame_offset->mp[0].len = PAD_TO_2K(width * height); in mm_stream_get_frame_len_offset() 1120 frame_offset->mp[1].len = PAD_TO_2K(width * height/2); in mm_stream_get_frame_len_offset() 1122 frame_offset->mp[0].offset = 0; in mm_stream_get_frame_len_offset() 1123 frame_offset->mp[1].offset = 0; in mm_stream_get_frame_len_offset() 1125 frame_offset->mp[0].len = PAD_TO_WORD(width * height); in mm_stream_get_frame_len_offset() 1126 frame_offset->mp[1].len = PAD_TO_WORD(width * height/2); in mm_stream_get_frame_len_offset() 1128 frame_offset->mp[0].offset = 0; in mm_stream_get_frame_len_offset() 1129 frame_offset->mp[1].offset = 0; in mm_stream_get_frame_len_offset() 1131 frame_offset->mp[0].len = PAD_TO_WORD(width * CEILING16(height)); in mm_stream_get_frame_len_offset() 1132 frame_offset->mp[1].len = PAD_TO_WORD(width * CEILING16(height)/2); in mm_stream_get_frame_len_offset() [all …]
|
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 184 reg_buf.def.buf.mp = malloc(sizeof(mm_camera_mp_buf_t)); in mm_app_prepare_raw_snapshot_buf() 185 if (!reg_buf.def.buf.mp) { in mm_app_prepare_raw_snapshot_buf() 221 reg_buf.def.buf.mp[0].frame = pme->raw_snapshot_buf.frame[0]; in mm_app_prepare_raw_snapshot_buf() 222 reg_buf.def.buf.mp[0].frame_offset = 0; in mm_app_prepare_raw_snapshot_buf() 223 reg_buf.def.buf.mp[0].num_planes = num_planes_main; in mm_app_prepare_raw_snapshot_buf() 225 reg_buf.def.buf.mp[0].planes[0].length = planes_main[0]; in mm_app_prepare_raw_snapshot_buf() 226 reg_buf.def.buf.mp[0].planes[0].m.userptr = pme->raw_snapshot_buf.frame[0].fd; in mm_app_prepare_raw_snapshot_buf() 227 reg_buf.def.buf.mp[0].planes[0].data_offset = 0; in mm_app_prepare_raw_snapshot_buf() 228 reg_buf.def.buf.mp[0].planes[0].reserved[0] = reg_buf.def.buf.mp[0].frame_offset; in mm_app_prepare_raw_snapshot_buf() 230 reg_buf.def.buf.mp[0].planes[j].length = planes_main[j]; in mm_app_prepare_raw_snapshot_buf() [all …]
|
D | mm_qcamera_preview.c | 265 planes[i] = frame_offset_info->mp[i].len; 269 y_off = frame_offset_info->mp[0].offset; 270 cbcr_off = frame_offset_info->mp[1].offset; 343 y_off = frame_offset_info->mp[0].offset;; in mm_stream_initbuf() 346 y_off = frame_offset_info->mp[0].offset; in mm_stream_initbuf() 347 cbcr_off = frame_offset_info->mp[1].offset; in mm_stream_initbuf() 388 bufs[i].planes[0].length = frame_offset_info->mp[0].len; in mm_stream_initbuf() 394 bufs[i].planes[j].length = frame_offset_info->mp[j].len; in mm_stream_initbuf()
|
D | mm_qcamera_video.c | 122 planes[i] = frame_offset_info->mp[i].len; 126 y_off = frame_offset_info->mp[0].offset; 127 cbcr_off = frame_offset_info->mp[1].offset;
|
/hardware/qcom/camera/mm-camera-interface/ |
D | mm_camera_stream.c | 457 int idx = vbuf->buf.mp[i].idx; in mm_camera_stream_util_enqueue_buf() 536 vbuf->buf.mp[i].idx = i; /* remember the index to stream frame if first time qbuf */ in mm_camera_stream_util_reg_buf() 537 memcpy(&stream->frame.frame[i].frame, &(vbuf->buf.mp[i].frame), in mm_camera_stream_util_reg_buf() 538 sizeof(vbuf->buf.mp[i].frame)); in mm_camera_stream_util_reg_buf() 540 stream->frame.frame[i].num_planes = vbuf->buf.mp[i].num_planes; in mm_camera_stream_util_reg_buf() 541 for(j = 0; j < vbuf->buf.mp[i].num_planes; j++) { in mm_camera_stream_util_reg_buf() 542 stream->frame.frame[i].planes[j] = vbuf->buf.mp[i].planes[j]; in mm_camera_stream_util_reg_buf() 545 if(vbuf->buf.mp[i].frame_offset) { in mm_camera_stream_util_reg_buf() 546 stream->frame.frame_offset[i] = vbuf->buf.mp[i].frame_offset; in mm_camera_stream_util_reg_buf()
|
D | mm_camera_interface2.h | 182 mm_camera_mp_buf_t *mp; member
|
/hardware/qcom/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 92 planes[i] = mFrameOffsetInfo.mp[i].len; in initBuffers() 107 mDisplayBuf[i].planes[0].data_offset = mFrameOffsetInfo.mp[0].offset; in initBuffers() 112 mDisplayBuf[i].planes[j].data_offset = mFrameOffsetInfo.mp[j].offset; in initBuffers()
|
D | QCameraHWI.cpp | 229 frame_offset_info->mp[0].len, in getBuf() 230 frame_offset_info->mp[1].len, in getBuf()
|
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/ |
D | StubFmService.java | 6726 MediaPlayer mp = MediaPlayer.create(context, in musicPlay() local 6728 mp.start(); in musicPlay() 6730 mp.setOnCompletionListener(new OnCompletionListener(){ in musicPlay() 6732 public void onCompletion(MediaPlayer mp) { in musicPlay() 6734 cleanupPlayer(mp); in musicPlay() 6740 private void cleanupPlayer(MediaPlayer mp) { in cleanupPlayer() argument 6741 if (mp != null) { in cleanupPlayer() 6743 mp.stop(); in cleanupPlayer() 6744 mp.release(); in cleanupPlayer()
|
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 163 src_buf->src_image[i].offset.mp[0].offset; in mm_jpeg_omx_config_main_buffer_offset() 165 src_buf->src_image[i].offset.mp[1].offset; in mm_jpeg_omx_config_main_buffer_offset()
|
/hardware/qcom/camera/QCamera/HAL2/core/inc/ |
D | QCamera_Intf.h | 194 cam_mp_len_offset_t mp[8]; member
|