Lines Matching refs:dim
505 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument
535 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
539 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
543 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
547 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
551 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
555 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
850 cam_dimension_t dim; in streamCbRoutine() local
853 memset(&dim, 0, sizeof(dim)); in streamCbRoutine()
870 stream->getFrameDimension(dim); in streamCbRoutine()
873 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_PREVIEW); in streamCbRoutine()
875 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_VIDEO); in streamCbRoutine()
877 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_CALLBACK); in streamCbRoutine()
1118 cam_dimension_t dim; in request() local
1120 memset(&dim, 0, sizeof(dim)); in request()
1121 setReprocConfig(reproc_cfg, pInputBuffer, metadata, mStreamFormat, dim); in request()
1349 cam_dimension_t dim = {sizeof(metadata_buffer_t), 1}; in setFwkInputPPData() local
1351 rc = mm_stream_calc_offset_metadata(&dim, &mPaddingInfo, &meta_planes); in setFwkInputPPData()
1435 int32_t QCamera3ProcessingChannel::getStreamSize(cam_dimension_t &dim) in getStreamSize() argument
1438 dim.width = mCamera3Stream->width; in getStreamSize()
1439 dim.height = mCamera3Stream->height; in getStreamSize()
1677 cam_format_t streamFormat, cam_dimension_t dim) in setReprocConfig() argument
1693 reproc_cfg.input_stream_dim.width = (int32_t)dim.width; in setReprocConfig()
1694 reproc_cfg.input_stream_dim.height = (int32_t)dim.height; in setReprocConfig()
2410 cam_dimension_t dim; in dumpRawSnapshot() local
2411 memset(&dim, 0, sizeof(dim)); in dumpRawSnapshot()
2412 stream->getFrameDimension(dim); in dumpRawSnapshot()
2445 cam_dimension_t dim; in convertLegacyToRaw16() local
2446 memset(&dim, 0, sizeof(dim)); in convertLegacyToRaw16()
2447 stream->getFrameDimension(dim); in convertLegacyToRaw16()
2453 uint32_t raw16_stride = ((uint32_t)dim.width + 15U) & ~15U; in convertLegacyToRaw16()
2463 for (int32_t ys = dim.height - 1; ys >= 0; ys--) { in convertLegacyToRaw16()
2467 for (int32_t xs = dim.width - 1; xs >= 0; xs--) { in convertLegacyToRaw16()
2488 cam_dimension_t dim; in convertMipiToRaw16() local
2489 memset(&dim, 0, sizeof(dim)); in convertMipiToRaw16()
2490 stream->getFrameDimension(dim); in convertMipiToRaw16()
2496 uint32_t raw16_stride = ((uint32_t)dim.width + 15U) & ~15U; in convertMipiToRaw16()
2508 for (int32_t ys = dim.height - 1; ys >= 0; ys--) { in convertMipiToRaw16()
2512 for (int32_t xs = dim.width - 1; xs >= 0; xs--) { in convertMipiToRaw16()
2620 cam_dimension_t dim; in dumpRawSnapshot() local
2621 memset(&dim, 0, sizeof(dim)); in dumpRawSnapshot()
2622 stream->getFrameDimension(dim); in dumpRawSnapshot()
2639 frame->frame_idx, dim.width, dim.height); in dumpRawSnapshot()
3063 cam_dimension_t dim; in request() local
3065 memset(&dim, 0, sizeof(dim)); in request()
3066 mStreams[0]->getFrameDimension(dim); in request()
3067 setReprocConfig(reproc_cfg, NULL, metadata, mStreamFormat, dim); in request()
3523 cam_dimension_t dim; in jpegEvtHandle() local
3524 dim.width = obj->mCamera3Stream->width; in jpegEvtHandle()
3525 dim.height = obj->mCamera3Stream->height; in jpegEvtHandle()
3533 obj->dumpYUV(jpeg_dump_buffer, dim, offset, QCAMERA_DUMP_FRM_OUTPUT_JPEG); in jpegEvtHandle()
3871 cam_dimension_t dim; in request() local
3875 dim.width = (int32_t)mYuvWidth; in request()
3876 dim.height = (int32_t)mYuvHeight; in request()
3878 setReprocConfig(reproc_cfg, pInputBuffer, metadata, mStreamFormat, dim); in request()
4024 cam_dimension_t dim; in streamCbRoutine() local
4027 memset(&dim, 0, sizeof(dim)); in streamCbRoutine()
4066 stream->getFrameDimension(dim); in streamCbRoutine()
4068 dumpYUV(frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_INPUT_REPROCESS); in streamCbRoutine()
4311 cam_dimension_t dim; in returnYuvBufferAndEncode() local
4312 dim.width = (int32_t)mYuvWidth; in returnYuvBufferAndEncode()
4313 dim.height = (int32_t)mYuvHeight; in returnYuvBufferAndEncode()
4314 setReprocConfig(reproc_cfg, nullptr, metadata.get(), mStreamFormat, dim); in returnYuvBufferAndEncode()
4555 cam_dimension_t dim; in streamCbRoutine() local
4558 memset(&dim, 0, sizeof(dim)); in streamCbRoutine()
4590 stream->getFrameDimension(dim); in streamCbRoutine()
4592 dumpYUV(frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_INPUT_JPEG); in streamCbRoutine()
5524 cam_dimension_t *dim, in QCamera3SupportChannel() argument
5536 memcpy(&mDim, dim, sizeof(cam_dimension_t)); in QCamera3SupportChannel()