Home
last modified time | relevance | path

Searched refs:mRotImgInfo (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdpRot.cpp35 bool MdpRot::enabled() const { return mRotImgInfo.enable; } in enabled()
37 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = (uint8_t)r; } in setRotations()
48 return mRotImgInfo.dst.format; in getDstFormat()
54 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf()
55 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstWhf()
57 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf()
63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions()
64 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstDimensions()
69 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
72 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
[all …]
DoverlayRotator.h150 msm_rotator_img_info mRotImgInfo; variable
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdpRot.cpp34 bool MdpRot::enabled() const { return mRotImgInfo.enable; } in enabled()
36 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = r; } in setRotations()
47 return mRotImgInfo.dst.format; in getDstFormat()
50 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
53 if(mRotImgInfo.src.format == MDP_Y_CR_CB_GH2V2){ in setDownscale()
54 if((utils::ROT_DS_HALF == ds) && (mRotImgInfo.src_rect.h &0x3)) in setDownscale()
55 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 4); in setDownscale()
56 else if(((utils::ROT_DS_FOURTH == ds) && (mRotImgInfo.src_rect.h &0x7))) in setDownscale()
57 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 8); in setDownscale()
58 else if(((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h &0xf))) in setDownscale()
[all …]
DoverlayRotator.h157 msm_rotator_img_info mRotImgInfo; variable
/hardware/qcom/display/msm8909/liboverlay/
DoverlayMdpRot.cpp36 bool MdpRot::enabled() const { return mRotImgInfo.enable; } in enabled()
38 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = (uint8_t)r; } in setRotations()
57 return mRotImgInfo.dst.format; in getDstFormat()
63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf()
64 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstWhf()
66 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf()
72 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions()
73 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstDimensions()
78 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
81 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
[all …]
DoverlayRotator.h184 msm_rotator_img_info mRotImgInfo; variable
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdpRot.cpp36 bool MdpRot::enabled() const { return mRotImgInfo.enable; } in enabled()
38 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = (uint8_t)r; } in setRotations()
57 return mRotImgInfo.dst.format; in getDstFormat()
63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf()
64 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstWhf()
66 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf()
72 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions()
73 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstDimensions()
78 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
81 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
[all …]
DoverlayRotator.h184 msm_rotator_img_info mRotImgInfo; variable
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdpRot.cpp34 bool MdpRot::enabled() const { return mRotImgInfo.enable; } in enabled()
36 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = r; } in setRotations()
47 return mRotImgInfo.dst.format; in getDstFormat()
50 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
53 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
56 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale()
58 mRotImgInfo.downscale_ratio = ds; in setDownscale()
62 mLSRotImgInfo = mRotImgInfo; in save()
67 if(0 == ::memcmp(&mRotImgInfo, &mLSRotImgInfo, in rotConfChanged()
85 mRotImgInfo.src.format = whf.format; in setSource()
[all …]
DoverlayRotator.h143 msm_rotator_img_info mRotImgInfo; variable