/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | GoldfishAVCDec.cpp | 142 mContext->initH264Context(mWidth, in initDecoder() 144 mWidth, in initDecoder() 249 …mContext->resetH264Context(mWidth, mHeight, mWidth, mHeight, MediaH264Decoder::PixelFormat::YUV420… in onPortFlushCompleted() 265 memcpy(outHeader->pBuffer + i * myStride, img.data + i * mWidth, mWidth); in copyImageData() 269 …y(outHeader->pBuffer + Y + i * myStride / 2 , img.data + mWidth * mHeight + i * mWidth/2, mWidth/2… in copyImageData() 273 …der->pBuffer + Y + UV + i * myStride / 2 , img.data + mWidth * mHeight * 5/4 + i * mWidth/2, mWidt… in copyImageData() 428 img.width, img.height, mWidth, mHeight); in onQueueFilled() 434 mContext->resetH264Context(mWidth, in onQueueFilled() 436 mWidth, in onQueueFilled() 447 if (myWidth != mWidth || myHeight != mHeight) { in onQueueFilled() [all …]
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | DisplayConfig.cpp | 34 mWidth = value; in setAttribute() 55 return mWidth; in getAttribute() 82 output += " w:" + std::to_string(mWidth); in toString() 99 hashCombine(hash, config.mWidth); in addConfigGroups() 108 if (a.mWidth != b.mWidth) { in addConfigGroups() 109 return a.mWidth < b.mWidth; in addConfigGroups()
|
D | DisplayConfig.h | 35 mWidth(width), in DisplayConfig() 53 int32_t getWidth() const { return mWidth; } in getWidth() 54 void setWidth(int32_t width) { mWidth = width; } in setWidth() 80 int32_t mWidth; variable
|
D | DrmDisplay.cpp | 93 okay &= request->Set(mPlane->getId(), mPlane->getCrtcWProperty(), buffer->mWidth); in flush() 97 okay &= request->Set(mPlane->getId(), mPlane->getSrcWProperty(), buffer->mWidth << 16); in flush()
|
D | DrmClient.cpp | 248 buffer->mWidth = crosHandle->width; in create() 257 ret = drmModeAddFB2(mFd.get(), buffer->mWidth, buffer->mHeight, buffer->mDrmFormat, in create()
|
D | DrmBuffer.h | 52 uint32_t mWidth = 0; variable
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/ |
D | C2GoldfishHevcDec.cpp | 383 mIntf(intfImpl), mOutBufferFlush(nullptr), mWidth(1920), mHeight(1080), in C2GoldfishHevcDec() 385 mWidth = mIntf->width(); in C2GoldfishHevcDec() 387 DDD("creating hevc decoder now w %d h %d", mWidth, mHeight); in C2GoldfishHevcDec() 485 DDD("creating hevc context now w %d h %d", mWidth, mHeight); in createDecoder() 491 mContext->initHevcContext(mWidth, mHeight, mWidth, mHeight, in createDecoder() 504 mStride = ALIGN2(mWidth); in initDecoder() 600 createGraphicBuffer(std::move(mOutBlock), C2Rect(mWidth, mHeight)); in finishWork() 667 if (mOutBlock && (mOutBlock->width() != ALIGN2(mWidth) || in ensureDecoderState() 675 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState() 689 mOutBlock->height(), ALIGN2(mWidth), mHeight); in ensureDecoderState() [all …]
|
D | GoldfishHevcHelper.cpp | 63 GoldfishHevcHelper::GoldfishHevcHelper(int w, int h):mWidth(w),mHeight(h) { createDecoder(); } in GoldfishHevcHelper() 92 mStride = ALIGN128(mWidth); in createDecoder() 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() 241 mWidth = ps_decode_op->u4_pic_wd; in decodeHeader()
|
D | GoldfishHevcHelper.h | 41 int getWidth() const { return mWidth; } in getWidth() 57 int mWidth = 320; variable
|
D | C2GoldfishHevcDec.h | 120 uint32_t mWidth; variable
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/ |
D | C2GoldfishAvcDec.cpp | 432 mIntf(intfImpl), mOutBufferFlush(nullptr), mWidth(1920), mHeight(1080), in C2GoldfishAvcDec() 434 mWidth = mIntf->width(); in C2GoldfishAvcDec() 436 DDD("creating avc decoder now w %d h %d", mWidth, mHeight); in C2GoldfishAvcDec() 541 DDD("creating avc context now w %d h %d", mWidth, mHeight); in createDecoder() 547 mContext->initH264Context(mWidth, mHeight, mWidth, mHeight, in createDecoder() 558 mStride = ALIGN2(mWidth); in initDecoder() 654 createGraphicBuffer(std::move(mOutBlock), C2Rect(mWidth, mHeight)); in finishWork() 721 if (mOutBlock && (mOutBlock->width() != ALIGN2(mWidth) || in ensureDecoderState() 729 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState() 743 mOutBlock->height(), ALIGN2(mWidth), mHeight); in ensureDecoderState() [all …]
|
D | GoldfishH264Helper.cpp | 60 GoldfishH264Helper::GoldfishH264Helper(int w, int h):mWidth(w),mHeight(h) { createDecoder(); } in GoldfishH264Helper() 89 mStride = ALIGN128(mWidth); in createDecoder() 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() 229 mWidth = ps_decode_op->u4_pic_wd; in decodeHeader()
|
D | GoldfishH264Helper.h | 41 int getWidth() const { return mWidth; } in getWidth() 57 int mWidth = 320; variable
|
D | C2GoldfishAvcDec.h | 120 uint32_t mWidth; variable
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/ |
D | C2GoldfishVpxDec.cpp | 591 mWidth = 320; in initDecoder() 604 mWidth = mIntf->width(); in checkContext() 606 ALOGI("created decoder context w %d h %d", mWidth, mHeight); in checkContext() 665 createGraphicBuffer(block, C2Rect(mWidth, mHeight)); in finishWork() 878 ctx->width = mWidth; in setup_ctx_parameters() 881 ctx->outputBufferWidth = mWidth; 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() 934 mWidth = img->d_w; in outputBuffer() [all …]
|
D | C2GoldfishVpxDec.h | 79 uint32_t mWidth; member
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/ |
D | GoldfishVideoDecoderOMXComponent.cpp | 58 mWidth(width), in GoldfishVideoDecoderOMXComponent() 165 inDef->format.video.nFrameWidth = mWidth; in updatePortDefinitions() 181 mCropWidth = mWidth; in updatePortDefinitions() 188 return max(mIsAdaptive ? mAdaptiveMaxWidth : 0, mWidth); in outputBufferWidth() 200 bool sizeChanged = (width != mWidth || height != mHeight); in handlePortSettingsChange() 218 mWidth = width; in handlePortSettingsChange() 248 def->format.video.nStride = mWidth; in handlePortSettingsChange() 327 memcpy(dst, srcY, mWidth * bpp); in copyYV12FrameToOutputBuffer() 334 memcpy(dst, srcU, mWidth / 2 * bpp); in copyYV12FrameToOutputBuffer() 341 memcpy(dst, srcV, mWidth / 2 * bpp); in copyYV12FrameToOutputBuffer() [all …]
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/include/ |
D | GoldfishVideoDecoderOMXComponent.h | 144 uint32_t mWidth, mHeight; member
|
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/ |
D | GoldfishVPX.cpp | 136 ctx->width = mWidth; in setup_ctx_parameters()
|