Searched refs:codecBuffer (Results 1 - 2 of 2) sorted by relevance
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_buffer_pool.cpp | 44 auto codecBuffer = std::make_shared<CodecBuffer>(pluginBuffer, verInfo_, isInput, bufferSize, bufMemType); in UseBuffers() local 45 FALSE_RETURN_V_MSG(codecBuffer != nullptr, Status::ERROR_NULL_POINTER, "Create codec buffer failed"); in UseBuffers() 46 auto err = codecComp_->UseBuffer(codecComp_, portIndex_, codecBuffer->GetOmxBuffer().get()); in UseBuffers() 52 codecBuffer->GetBufferId(), portIndex_); in UseBuffers() 53 codecBufMap_.emplace(codecBuffer->GetBufferId(), codecBuffer); in UseBuffers() 54 freeBufferId_.Push(codecBuffer->GetBufferId()); in UseBuffers() 65 auto& codecBuffer = codecBuf.second; in FreeBuffers() local 67 FALSE_RETURN_V_MSG_E(codecBuffer != nullptr, Status::ERROR_NULL_POINTER, "Codec buffer is null."); in FreeBuffers() 68 auto omxBuffer = codecBuffer in FreeBuffers() [all...] |
H A D | hdi_codec_adapter.cpp | 82 auto codecBuffer = hdiAdapter->outBufPool_->GetBuffer(omxBuffer->bufferId); in FillBufferDone() local 83 if (codecBuffer == nullptr) { in FillBufferDone() 87 (void)codecBuffer->Unbind(outputBuffer, omxBuffer); in FillBufferDone() 434 std::shared_ptr<CodecBuffer> codecBuffer = nullptr; in HandleFrame() local 441 codecBuffer = inBufPool_->GetBuffer(); in HandleFrame() 442 FALSE_RETURN(codecBuffer != nullptr); in HandleFrame() 446 FALSE_RETURN_MSG(codecBuffer->Copy(inputBuffer) == Status::OK, "Copy inBuffer into codecBuffer fail"); in HandleFrame() 448 FALSE_RETURN_MSG(codecBuffer->Rebind(inputBuffer) == Status::OK, "Rebind inBuffer into codecBuffer fai in HandleFrame() 512 auto codecBuffer = outBufPool_->GetBuffer(); FillAllTheOutBuffer() local 524 auto codecBuffer = outBufPool_->GetBuffer(); FillAllTheOutBuffer() local [all...] |
Completed in 2 milliseconds