Searched refs:mVideoCodec (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | EvsVideoEmulatedCamera.cpp | 151 mVideoCodec.reset(AMediaCodec_createDecoderByType(mime)); in initializeMediaCodec() 152 if (!mVideoCodec) { in initializeMediaCodec() 164 AMediaCodec_configure(mVideoCodec.get(), format.get(), nullptr, nullptr, 0); in initializeMediaCodec() 171 format.reset(AMediaCodec_getOutputFormat(mVideoCodec.get())); in initializeMediaCodec() 218 AMediaCodec_getInputBuffer(mVideoCodec.get(), index, &bufferSize); in onCodecInputAvailable() 223 AMediaCodec_queueInputBuffer(mVideoCodec.get(), index, /* offset = */ 0, in onCodecInputAvailable() 232 mVideoCodec.get(), index, /*offset = */ 0, readSize, presentationTime, /* flags = */ 0); in onCodecInputAvailable() 249 AMediaCodec_getOutputBuffer(mVideoCodec.get(), index, &decodedOutSize) + info.offset; in onCodecOutputAvailable() 252 const auto outFormat = AMediaCodec_getOutputFormat(mVideoCodec.get()); in onCodecOutputAvailable() 390 AMediaCodec_dequeueInputBuffer(mVideoCodec.get(), /* timeoutUs = */ 0); in renderOneFrame() [all …]
|
/hardware/interfaces/automotive/evs/aidl/impl/default/include/ |
D | EvsVideoEmulatedCamera.h | 145 std::unique_ptr<AMediaCodec, AMediaCodecDeleter> mVideoCodec; variable
|