Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 19 of 19) sorted by relevance

/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp143 mHeight, in initDecoder()
145 mHeight, in initDecoder()
249 …mContext->resetH264Context(mWidth, mHeight, mWidth, mHeight, MediaH264Decoder::PixelFormat::YUV420… in onPortFlushCompleted()
264 for (int i=0; i < mHeight; ++i) { in copyImageData()
268 for (int i=0; i < mHeight/2; ++i) { in copyImageData()
269 …memcpy(outHeader->pBuffer + Y + i * myStride / 2 , img.data + mWidth * mHeight + i * mWidth/2, mWi… in copyImageData()
272 for (int i=0; i < mHeight/2; ++i) { in copyImageData()
273 …memcpy(outHeader->pBuffer + Y + UV + i * myStride / 2 , img.data + mWidth * mHeight * 5/4 + i * mW… in copyImageData()
428 img.width, img.height, mWidth, mHeight); in onQueueFilled()
435 mHeight, in onQueueFilled()
[all …]
/device/generic/goldfish-opengl/system/hwc3/
DDisplayConfig.cpp37 mHeight = value; in setAttribute()
58 return mHeight; in getAttribute()
83 output += " h:" + std::to_string(mHeight); in toString()
100 hashCombine(hash, config.mHeight); in addConfigGroups()
111 if (a.mHeight != b.mHeight) { in addConfigGroups()
112 return a.mHeight < b.mHeight; in addConfigGroups()
DDisplayConfig.h36 mHeight(height), in DisplayConfig()
56 int32_t getHeight() const { return mHeight; } in getHeight()
57 void getHeight(int32_t height) { mHeight = height; } in getHeight()
81 int32_t mHeight; variable
DDrmDisplay.cpp94 okay &= request->Set(mPlane->getId(), mPlane->getCrtcHProperty(), buffer->mHeight); in flush()
98 okay &= request->Set(mPlane->getId(), mPlane->getSrcHProperty(), buffer->mHeight << 16); in flush()
DDrmClient.cpp249 buffer->mHeight = crosHandle->height; in create()
257 ret = drmModeAddFB2(mFd.get(), buffer->mWidth, buffer->mHeight, buffer->mDrmFormat, in create()
DDrmBuffer.h53 uint32_t mHeight = 0; variable
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.cpp383 mIntf(intfImpl), mOutBufferFlush(nullptr), mWidth(1920), mHeight(1080), in C2GoldfishHevcDec()
386 mHeight = mIntf->height(); in C2GoldfishHevcDec()
387 DDD("creating hevc decoder now w %d h %d", mWidth, mHeight); in C2GoldfishHevcDec()
431 uint32_t bufferSize = mStride * mHeight * 3 / 2; in onFlush_sm()
485 DDD("creating hevc context now w %d h %d", mWidth, mHeight); in createDecoder()
491 mContext->initHevcContext(mWidth, mHeight, mWidth, mHeight, in createDecoder()
600 createGraphicBuffer(std::move(mOutBlock), C2Rect(mWidth, mHeight)); in finishWork()
668 mOutBlock->height() != mHeight)) { in ensureDecoderState()
675 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState()
689 mOutBlock->height(), ALIGN2(mWidth), mHeight); in ensureDecoderState()
[all …]
DGoldfishHevcHelper.cpp63 GoldfishHevcHelper::GoldfishHevcHelper(int w, int h):mWidth(w),mHeight(h) { createDecoder(); } in GoldfishHevcHelper()
239 DDD("existing w/h %d %d", mWidth, mHeight); in decodeHeader()
240 if (ps_decode_op->u4_pic_wd != mWidth || ps_decode_op->u4_pic_ht != mHeight) { in decodeHeader()
242 mHeight = ps_decode_op->u4_pic_ht; in decodeHeader()
269 uint32_t displayHeight = mHeight; in setDecodeArgs()
DGoldfishHevcHelper.h42 int getHeight() const { return mHeight; } in getHeight()
58 int mHeight = 240; variable
DC2GoldfishHevcDec.h121 uint32_t mHeight; variable
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.cpp432 mIntf(intfImpl), mOutBufferFlush(nullptr), mWidth(1920), mHeight(1080), in C2GoldfishAvcDec()
435 mHeight = mIntf->height(); in C2GoldfishAvcDec()
436 DDD("creating avc decoder now w %d h %d", mWidth, mHeight); in C2GoldfishAvcDec()
487 uint32_t bufferSize = mStride * mHeight * 3 / 2; in onFlush_sm()
541 DDD("creating avc context now w %d h %d", mWidth, mHeight); in createDecoder()
547 mContext->initH264Context(mWidth, mHeight, mWidth, mHeight, in createDecoder()
654 createGraphicBuffer(std::move(mOutBlock), C2Rect(mWidth, mHeight)); in finishWork()
722 mOutBlock->height() != mHeight)) { in ensureDecoderState()
729 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState()
743 mOutBlock->height(), ALIGN2(mWidth), mHeight); in ensureDecoderState()
[all …]
DGoldfishH264Helper.cpp60 GoldfishH264Helper::GoldfishH264Helper(int w, int h):mWidth(w),mHeight(h) { createDecoder(); } in GoldfishH264Helper()
227 DDD("existing w/h %d %d", mWidth, mHeight); in decodeHeader()
228 if (ps_decode_op->u4_pic_wd != mWidth || ps_decode_op->u4_pic_ht != mHeight) { in decodeHeader()
230 mHeight = ps_decode_op->u4_pic_ht; in decodeHeader()
257 uint32_t displayHeight = mHeight; in setDecodeArgs()
DGoldfishH264Helper.h42 int getHeight() const { return mHeight; } in getHeight()
58 int mHeight = 240; variable
DC2GoldfishAvcDec.h121 uint32_t mHeight; variable
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DGoldfishVideoDecoderOMXComponent.cpp59 mHeight(height), in GoldfishVideoDecoderOMXComponent()
166 inDef->format.video.nFrameHeight = mHeight; in updatePortDefinitions()
182 mCropHeight = mHeight; in updatePortDefinitions()
192 return max(mIsAdaptive ? mAdaptiveMaxHeight : 0, mHeight); in outputBufferHeight()
200 bool sizeChanged = (width != mWidth || height != mHeight); in handlePortSettingsChange()
219 mHeight = height; in handlePortSettingsChange()
249 def->format.video.nSliceHeight = mHeight; in handlePortSettingsChange()
326 for (size_t i = 0; i < mHeight; ++i) { in copyYV12FrameToOutputBuffer()
333 for (size_t i = 0; i < mHeight / 2; ++i) { in copyYV12FrameToOutputBuffer()
340 for (size_t i = 0; i < mHeight / 2; ++i) { in copyYV12FrameToOutputBuffer()
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/
DC2GoldfishVpxDec.cpp592 mHeight = 240; in initDecoder()
605 mHeight = mIntf->height(); in checkContext()
606 ALOGI("created decoder context w %d h %d", mWidth, mHeight); in checkContext()
665 createGraphicBuffer(block, C2Rect(mWidth, mHeight)); in finishWork()
879 ctx->height = mHeight; in setup_ctx_parameters()
882 ctx->outputBufferHeight = mHeight; in setup_ctx_parameters()
899 c2_status_t err = pool->fetchGraphicBlock(align(mWidth, 2), mHeight, format, in outputBuffer()
931 if (img->d_w != mWidth || img->d_h != mHeight) { in outputBuffer()
932 DDD("updating w %d h %d to w %d h %d", mWidth, mHeight, img->d_w, in outputBuffer()
935 mHeight = img->d_h; in outputBuffer()
[all …]
DC2GoldfishVpxDec.h80 uint32_t mHeight; member
/device/generic/goldfish-opengl/system/codecs/omx/plugin/include/
DGoldfishVideoDecoderOMXComponent.h144 uint32_t mWidth, mHeight; member
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/
DGoldfishVPX.cpp137 ctx->height = mHeight; in setup_ctx_parameters()