Home
last modified time | relevance | path

Searched refs:src_img (Results 1 – 16 of 16) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.cpp263 exynos_image src_img; in doPreProcess() local
265 setSrcExynosImage(&src_img); in doPreProcess()
271 [&src_img](auto m) { return m->isSrcFormatSupported(src_img); }); in doPreProcess()
276 if(hasHdrInfo(src_img)) mIsHdrLayer = true; in doPreProcess()
282 uint32_t srcCropXAlign = exynosMPPVG->getSrcXOffsetAlign(src_img); in doPreProcess()
283 uint32_t srcCropYAlign = exynosMPPVG->getSrcYOffsetAlign(src_img); in doPreProcess()
284 uint32_t srcCropWidthAlign = exynosMPPVG->getSrcWidthAlign(src_img); in doPreProcess()
285 uint32_t srcCropHeightAlign = exynosMPPVG->getSrcHeightAlign(src_img); in doPreProcess()
305 uint32_t cropWidthAlign = exynosMPPVG->getSrcCropWidthAlign(src_img); in doPreProcess()
306 uint32_t cropHeightAlign = exynosMPPVG->getSrcCropHeightAlign(src_img); in doPreProcess()
[all …]
DExynosDisplay.cpp1823 exynos_image src_img; in doExynosComposition() local
1880 setCompositionTargetExynosImage(COMPOSITION_EXYNOS, &src_img, &dst_img); in doExynosComposition()
1881 mExynosCompositionInfo.setExynosImage(src_img, dst_img); in doExynosComposition()
2020 exynos_image src_img = layer.mSrcImg; in configureHandle() local
2091 src_img = layer.mMidImg; in configureHandle()
2093 cfg.src.f_w = src_img.fullWidth; in configureHandle()
2094 cfg.src.f_h = src_img.fullHeight; in configureHandle()
2102 cfg.dataspace = src_img.dataSpace; in configureHandle()
2103 cfg.transform = src_img.transform; in configureHandle()
2105 if (hasHdrInfo(src_img)) { in configureHandle()
[all …]
DExynosLayer.h480 int32_t setSrcExynosImage(exynos_image *src_img);
DExynosDisplay.h636 …int32_t setCompositionTargetExynosImage(uint32_t targetType, exynos_image *src_img, exynos_image *…
/hardware/google/graphics/common/libscaler/
Dlibscaler.cpp535 exynos_sc_img *src_img, in exynos_sc_config_exclusive() argument
542 if (src_img->drmMode && !sc->IsDRMAllowed()) { in exynos_sc_config_exclusive()
544 sc->GetScalerID(), src_img->drmMode, dst_img->drmMode); in exynos_sc_config_exclusive()
569 int32_t src_color_space = hal_pixfmt_to_v4l2(src_img->format); in exynos_sc_config_exclusive()
572 if (!sc->SetSrcFormat(src_img->fw, src_img->fh, src_color_space)) in exynos_sc_config_exclusive()
575 if (!sc->SetSrcCrop(src_img->x, src_img->y, src_img->w, src_img->h)) in exynos_sc_config_exclusive()
586 sc->SetSrcCacheable(src_img->cacheable != 0); in exynos_sc_config_exclusive()
589 sc->SetSrcPremultiplied(src_img->pre_multi); in exynos_sc_config_exclusive()
592 sc->SetDRM(src_img->drmMode != 0 || dst_img->drmMode != 0); in exynos_sc_config_exclusive()
599 exynos_sc_img *src_img, in exynos_sc_run_exclusive() argument
[all …]
/hardware/google/graphics/common/libgscaler/
Dlibgscaler_obj.cpp912 exynos_mpp_img *src_img, exynos_mpp_img *dst_img) in m_gsc_m2m_config() argument
928 if ((src_img->drmMode && !gsc->allow_drm) || in m_gsc_m2m_config()
929 (src_img->drmMode != dst_img->drmMode)) { in m_gsc_m2m_config()
931 __func__, gsc->gsc_id, src_img->drmMode, dst_img->drmMode); in m_gsc_m2m_config()
935 src_color_space = hal_pixfmt_to_v4l2(src_img->format); in m_gsc_m2m_config()
940 ret = exynos_gsc_set_src_format(gsc, src_img->fw, src_img->fh, in m_gsc_m2m_config()
941 src_img->x, src_img->y, src_img->w, src_img->h, in m_gsc_m2m_config()
942 src_color_space, src_img->cacheable, src_img->drmMode); in m_gsc_m2m_config()
946 __func__, src_img->fw, src_img->fh, src_img->x, src_img->y, in m_gsc_m2m_config()
947 src_img->w, src_img->h, src_color_space, src_img->rot); in m_gsc_m2m_config()
[all …]
Dlibgscaler_obj.h136 exynos_mpp_img src_img; variable
165 memset(&src_img, 0, sizeof(exynos_mpp_img)); in CGscaler()
181 memset(&src_img, 0, sizeof(exynos_mpp_img)); in CGscaler()
223 exynos_mpp_img *src_img, exynos_mpp_img *dst_img);
225 exynos_mpp_img *src_img, exynos_mpp_img *dst_img);
227 exynos_mpp_img *src_img, exynos_mpp_img *dst_img);
229 exynos_mpp_img *src_img, exynos_mpp_img *dst_img);
230 int m_gsc_out_run(void *handle, exynos_mpp_img *src_img);
Dlibgscaler.cpp364 exynos_mpp_img __UNUSED__ *src_img, exynos_mpp_img *dst_img) in exynos_gsc_subdev_s_crop() argument
384 exynos_mpp_img *src_img, exynos_mpp_img *dst_img) in exynos_gsc_config_exclusive() argument
396 (exynos_sc_img *)src_img, (exynos_sc_img *)dst_img); in exynos_gsc_config_exclusive()
403 ret = gsc->m_gsc_m2m_config(handle, src_img, dst_img); in exynos_gsc_config_exclusive()
406 ret = gsc->m_gsc_out_config(handle, src_img, dst_img); in exynos_gsc_config_exclusive()
409 ret = gsc->m_gsc_cap_config(handle, src_img, dst_img); in exynos_gsc_config_exclusive()
421 exynos_mpp_img *src_img, exynos_mpp_img *dst_img) in exynos_gsc_run_exclusive() argument
434 (exynos_sc_img *)src_img, (exynos_sc_img *)dst_img); in exynos_gsc_run_exclusive()
441 ret = gsc->m_gsc_m2m_run(handle, src_img, dst_img); in exynos_gsc_run_exclusive()
444 ret = gsc->m_gsc_out_run(handle, src_img); in exynos_gsc_run_exclusive()
[all …]
/hardware/google/graphics/common/libgscaler/include/
Dexynos_gscaler.h327 exynos_mpp_img *src_img,
336 exynos_mpp_img *src_img,
346 exynos_mpp_img *src_img,
373 exynos_mpp_img *src_img,
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp689 exynos_image src_img; in updateExynosComposition() local
695 layer->setSrcExynosImage(&src_img); in updateExynosComposition()
697 layer->setExynosImage(src_img, dst_img); in updateExynosComposition()
700 isAssignableState = isAssignable(m2mMPP, display, src_img, dst_img, layer); in updateExynosComposition()
735 layer->setSrcExynosImage(&src_img); in updateExynosComposition()
737 layer->setExynosImage(src_img, dst_img); in updateExynosComposition()
740 isAssignableState = isAssignable(m2mMPP, display, src_img, dst_img, layer); in updateExynosComposition()
980 exynos_image src_img; in assignCompositionTarget() local
982 display->setCompositionTargetExynosImage(targetType, &src_img, &dst_img); in assignCompositionTarget()
992 if (mM2mMPPs[i]->isAssignableState(display, src_img, dst_img)) { in assignCompositionTarget()
[all …]
DExynosResourceManager.h201 const exynos_image &src_img,
DExynosMPP.h453 void setExynosImage(const exynos_image& src_img, const exynos_image& dst_img);
DExynosMPP.cpp128 void ExynosMPPSource::setExynosImage(const exynos_image& src_img, const exynos_image& dst_img) { in setExynosImage() argument
129 mSrcImg = src_img; in setExynosImage()
/hardware/google/graphics/common/libscaler/include/
Dexynos_scaler.h440 exynos_sc_img *src_img,
445 exynos_sc_img *src_img,
454 exynos_sc_img *src_img,
/hardware/google/graphics/zuma/libhwc2.1/libresource/
DExynosResourceManagerModule.cpp262 exynos_image src_img; in calculateHWResourceAmount() local
264 layer->setSrcExynosImage(&src_img); in calculateHWResourceAmount()
266 layer->setExynosImage(src_img, dst_img); in calculateHWResourceAmount()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp2852 srcBuf = &mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img[0]; in encodeJpeg()