Lines Matching refs:CodecBuffer
622 * \brief Wrap `OMXBuffer` in `CodecBuffer`.
624 * \param[out] t The wrapper of type `CodecBuffer`.
628 // wrap: OMXBuffer -> CodecBuffer
629 inline bool wrapAs(CodecBuffer* t, OMXBuffer const& l) {
634 t->type = CodecBuffer::Type::INVALID;
638 t->type = CodecBuffer::Type::PRESET;
644 t->type = CodecBuffer::Type::SHARED_MEM;
653 t->type = CodecBuffer::Type::ANW_BUFFER;
674 t->type = CodecBuffer::Type::NATIVE_HANDLE;
683 * \brief Convert `CodecBuffer` to `OMXBuffer`.
686 * \param[in] t The source `CodecBuffer`.
689 // convert: CodecBuffer -> OMXBuffer
690 inline bool convertTo(OMXBuffer* l, CodecBuffer const& t) {
692 case CodecBuffer::Type::INVALID: {
696 case CodecBuffer::Type::PRESET: {
702 case CodecBuffer::Type::SHARED_MEM: {
706 case CodecBuffer::Type::ANW_BUFFER: {
721 case CodecBuffer::Type::NATIVE_HANDLE: {