| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_buf_slot.cpp | 46 #define slot_assert(impl, cond) do { \ argument 48 dump_slots(impl); \ 275 static void generate_info_set(MppBufSlotsImpl *impl, MppFrame frame, RK_U32 force_default_align) in generate_info_set() argument 286 (impl->hal_hor_align(codec_hor_stride)) : in generate_info_set() 287 (impl->hal_hor_align(width * depth >> 3)); in generate_info_set() 289 (impl->hal_ver_align(codec_ver_stride)) : in generate_info_set() 290 (impl->hal_ver_align(height)); in generate_info_set() 344 size *= impl->numerator; in generate_info_set() 345 size /= impl->denominator; in generate_info_set() 346 size = impl->hal_len_align ? impl->hal_len_align(hal_hor_stride * hal_ver_stride) : size; in generate_info_set() [all …]
|
| H A D | mpp_task.cpp | 29 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_s32() local 30 return mpp_meta_set_s32(impl->meta, key, val); in mpp_task_meta_set_s32() 38 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_s64() local 39 return mpp_meta_set_s64(impl->meta, key, val); in mpp_task_meta_set_s64() 47 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_ptr() local 48 return mpp_meta_set_ptr(impl->meta, key, val); in mpp_task_meta_set_ptr() 56 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_frame() local 57 return mpp_meta_set_frame(impl->meta, key, frame); in mpp_task_meta_set_frame() 65 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_packet() local 66 return mpp_meta_set_packet(impl->meta, key, packet); in mpp_task_meta_set_packet() [all …]
|
| H A D | mpp_meta.cpp | 151 MppMetaImpl *impl = mpp_malloc_size(MppMetaImpl, sizeof(MppMetaImpl) + in get_meta() local 153 if (impl) { in get_meta() 157 strncpy(impl->tag, tag_src, sizeof(impl->tag)); in get_meta() 158 impl->caller = caller; in get_meta() 159 impl->meta_id = MPP_FETCH_ADD(&meta_id, 1); in get_meta() 160 INIT_LIST_HEAD(&impl->list_meta); in get_meta() 161 impl->ref_count = 1; in get_meta() 162 impl->node_count = 0; in get_meta() 165 impl->vals[i].state = 0; in get_meta() 168 list_add_tail(&impl->list_meta, &mlist_meta); in get_meta() [all …]
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpi_dec_utils.c | 92 static MPP_RET add_new_slot(FileReaderImpl* impl, FileBufSlot *slot) in add_new_slot() argument 94 mpp_assert(impl); in add_new_slot() 96 slot->index = impl->slot_cnt; in add_new_slot() 97 impl->slots[impl->slot_cnt] = slot; in add_new_slot() 98 impl->slot_cnt++; in add_new_slot() 100 if (impl->slot_cnt >= impl->slot_max) { in add_new_slot() 101 impl->slots = mpp_realloc(impl->slots, FileBufSlot*, impl->slot_max * 2); in add_new_slot() 102 if (!impl->slots) in add_new_slot() 105 impl->slot_max *= 2; in add_new_slot() 108 mpp_assert(impl->slots); in add_new_slot() [all …]
|
| H A D | mpp_enc_roi_utils.c | 638 MppEncRoiImpl *impl = NULL; in mpp_enc_roi_init() local 659 impl = mpp_calloc(MppEncRoiImpl, 1); in mpp_enc_roi_init() 660 if (!impl) { in mpp_enc_roi_init() 665 impl->w = w; in mpp_enc_roi_init() 666 impl->h = h; in mpp_enc_roi_init() 667 impl->type = type; in mpp_enc_roi_init() 668 impl->roi_type = roi_type; in mpp_enc_roi_init() 669 impl->max_count = count; in mpp_enc_roi_init() 670 impl->regions = mpp_calloc(RoiRegionCfg, count); in mpp_enc_roi_init() 674 RK_S32 mb_w = MPP_ALIGN(impl->w, 16) / 16; in mpp_enc_roi_init() [all …]
|
| H A D | mpp_opt.c | 35 MppOptImpl *impl = mpp_calloc(MppOptImpl, 1); in mpp_opt_init() local 37 *opt = impl; in mpp_opt_init() 39 return (impl) ? MPP_OK : MPP_NOK; in mpp_opt_init() 44 MppOptImpl *impl = (MppOptImpl *)opt; in mpp_opt_deinit() local 46 if (NULL == impl) in mpp_opt_deinit() 49 if (impl->trie) { in mpp_opt_deinit() 50 mpp_trie_deinit(impl->trie); in mpp_opt_deinit() 51 impl->trie = NULL; in mpp_opt_deinit() 53 MPP_FREE(impl); in mpp_opt_deinit() 60 MppOptImpl *impl = (MppOptImpl *)opt; in mpp_opt_setup() local [all …]
|
| /OK3568_Linux_fs/external/mpp/osal/ |
| H A D | mpp_time.cpp | 84 MppClockImpl *impl = mpp_calloc(MppClockImpl, 1); in mpp_clock_get() local 85 if (impl) { in mpp_clock_get() 86 impl->check = clock_name; in mpp_clock_get() 87 snprintf(impl->name, sizeof(impl->name) - 1, name, NULL); in mpp_clock_get() 91 return impl; in mpp_clock_get() 234 MppTimerImpl *impl = (MppTimerImpl *)ctx; in mpp_timer_thread() local 235 MppThread *thd = impl->thd; in mpp_timer_thread() 236 RK_S32 timer_fd = impl->timer_fd; in mpp_timer_thread() 239 ts.it_value.tv_sec = impl->initial / 1000; in mpp_timer_thread() 240 ts.it_value.tv_nsec = (impl->initial % 1000) * 1000; in mpp_timer_thread() [all …]
|
| H A D | mpp_mem_pool.cpp | 74 void put_pool(MppMemPoolImpl *impl); 127 void MppMemPoolService::put_pool(MppMemPoolImpl *impl) in put_pool() argument 131 if (impl != impl->check) { in put_pool() 132 mpp_err_f("invalid mem impl %p check %p\n", impl, impl->check); in put_pool() 136 if (impl->finalized) in put_pool() 139 pthread_mutex_lock(&impl->lock); in put_pool() 141 if (!list_empty(&impl->unused)) { in put_pool() 142 list_for_each_entry_safe(node, m, &impl->unused, MppMemPoolNode, list) { in put_pool() 144 impl->unused_count--; in put_pool() 148 if (!list_empty(&impl->used)) { in put_pool() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/ |
| H A D | map.cpp | 100 : impl(std::make_unique<Impl>(*this, in Map() 109 impl->transform.resize(size); in Map() 134 style->impl->setObserver(this); in Impl() 152 if (impl->mode != MapMode::Static && impl->mode != MapMode::Tile) { in renderStill() 157 if (impl->stillImageRequest) { in renderStill() 162 if (impl->style->impl->getLastError()) { in renderStill() 163 callback(impl->style->impl->getLastError()); in renderStill() 167 impl->stillImageRequest = std::make_unique<StillImageRequest>(std::move(callback)); in renderStill() 169 impl->onUpdate(); in renderStill() 173 impl->cameraMutated = true; in renderStill() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/common/ |
| H A D | hal_bufs.c | 56 static HalBuf *hal_bufs_pos(HalBufsImpl *impl, RK_S32 idx) in hal_bufs_pos() argument 58 RK_S32 elem_size = impl->elem_size; in hal_bufs_pos() 60 return (HalBuf *)(impl->bufs + idx * elem_size); in hal_bufs_pos() 63 static MPP_RET hal_bufs_clear(HalBufsImpl *impl) in hal_bufs_clear() argument 67 if (impl->valid && impl->size_sum) { in hal_bufs_clear() 70 for (i = 0; i < impl->max_cnt; i++) { in hal_bufs_clear() 73 if (impl->valid & mask) { in hal_bufs_clear() 74 HalBuf *buf = hal_bufs_pos(impl, i); in hal_bufs_clear() 77 for (j = 0; j < impl->size_cnt; j++) { in hal_bufs_clear() 79 impl->size_sum -= impl->sizes[j]; in hal_bufs_clear() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/ |
| H A D | sqlite3.cpp | 107 : impl(std::move(impl_)) in Database() 111 : impl(std::move(other.impl)) {} in Database() 114 std::swap(impl, other.impl); in operator =() 121 assert(impl); in setBusyTimeout() 122 impl->setBusyTimeout(timeout); in setBusyTimeout() 134 assert(impl); in exec() 135 impl->exec(sql); in exec() 151 : impl(std::make_unique<StatementImpl>(db.impl->db, sql)) { in Statement() 162 assert(stmt.impl); in Query() 180 assert(stmt.impl); in bind() [all …]
|
| H A D | run_loop.cpp | 79 RunLoop::RunLoop(Type type) : impl(std::make_unique<Impl>()) { in RunLoop() 82 impl->loop = new uv_loop_t; in RunLoop() 83 if (uv_loop_init(impl->loop) != 0) { in RunLoop() 88 impl->loop = uv_default_loop(); in RunLoop() 94 if (uv_async_init(impl->loop, impl->holder, dummyCallback) != 0) { in RunLoop() 98 impl->type = type; in RunLoop() 101 impl->async = std::make_unique<AsyncTask>(std::bind(&RunLoop::process, this)); in RunLoop() 109 impl->closeHolder(); in ~RunLoop() 111 if (impl->type == Type::Default) { in ~RunLoop() 119 impl->async.reset(); in ~RunLoop() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/ |
| H A D | style.cpp | 12 : impl(std::make_unique<Impl>(scheduler, fileSource, pixelRatio)) { in Style() 18 impl->loadJSON(json); in loadJSON() 22 impl->loadURL(url); in loadURL() 26 return impl->getJSON(); in getJSON() 30 return impl->getURL(); in getURL() 34 return impl->getName(); in getName() 38 return impl->getDefaultCamera(); in getDefaultCamera() 42 return impl->getTransitionOptions(); in getTransitionOptions() 46 impl->mutated = true; in setTransitionOptions() 47 impl->setTransitionOptions(options); in setTransitionOptions() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/proto/transform/detail/preprocessed/ |
| H A D | make_gcc_workaround.hpp | 15 struct impl : transform_impl<Expr, State, Data> struct 20 typename impl::expr_param e in operator ()() 21 , typename impl::state_param s in operator ()() 22 , typename impl::data_param d in operator ()() 36 struct impl : transform_impl<Expr, State, Data> struct 41 typename impl::expr_param e in operator ()() 42 , typename impl::state_param s in operator ()() 43 , typename impl::data_param d in operator ()() 58 struct impl : transform_impl<Expr, State, Data> struct 63 typename impl::expr_param e in operator ()() [all …]
|
| H A D | default_function_impl.hpp | 13 …impl<e0, State, Data>::result_type r0; typedef typename result_of::child_c< Expr, 1>::type e1; typ… 38 … return typename Grammar::template impl<e0, State, Data>()( proto::child_c< 0>( e), s, d )( in invoke() 39 …typename Grammar::template impl<e1, State, Data>()( proto::child_c< 1>( e), s, d ) , typename Gram… in invoke() 52 …BOOST_PROTO_GET_POINTER(class_type, (typename Grammar::template impl<e1, State, Data>()( proto::ch… in invoke() 53 typename Grammar::template impl<e0, State, Data>()( proto::child_c< 0>( e), s, d ) in invoke() 54 )(typename Grammar::template impl<e2, State, Data>()( proto::child_c< 2>( e), s, d )); in invoke() 61 …impl<e0, State, Data>::result_type r0; typedef typename result_of::child_c< Expr, 1>::type e1; typ… 86 … return typename Grammar::template impl<e0, State, Data>()( proto::child_c< 0>( e), s, d )( in invoke() 87 …impl<e1, State, Data>()( proto::child_c< 1>( e), s, d ) , typename Grammar::template impl<e2, Stat… in invoke() 100 …BOOST_PROTO_GET_POINTER(class_type, (typename Grammar::template impl<e1, State, Data>()( proto::ch… in invoke() [all …]
|
| H A D | fold_impl.hpp | 12 typedef typename when<_, State0>::template impl<Expr, State, Data>::result_type state0; 13 …typedef typename when<_, Fun>::template impl< typename result_of::child_c<Expr, 0>::type , state0 … 22 typename when<_, State0>::template impl<Expr, State, Data>()(e, s, d); in operator ()() 23 …state1 s1 = typename when<_, Fun>::template impl< typename result_of::child_c<Expr, 0>::type , sta… in operator ()() 31 typedef typename when<_, State0>::template impl<Expr, State, Data>::result_type state1; 32 …typedef typename when<_, Fun>::template impl< typename result_of::child_c< Expr , 0 >::type , stat… 41 typename when<_, State0>::template impl<Expr, State, Data>()(e, s, d); in operator ()() 42 …state0 s0 = typename when<_, Fun>::template impl< typename result_of::child_c< Expr , 0 >::type , … in operator ()() 50 typedef typename when<_, State0>::template impl<Expr, State, Data>::result_type state0; 51 …:template impl< typename result_of::child_c<Expr, 0>::type , state0 , Data >::result_type state1; … [all …]
|
| H A D | pass_through_impl.hpp | 27 …typename Grammar::proto_child0::template impl< typename result_of::child_c<Expr, 0>::type , State … 42 …typename Grammar::proto_child0::template impl< typename result_of::child_c<Expr, 0>::type , State … in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 68 …d0::template impl< typename result_of::child_c<Expr, 0>::type , State , Data >::result_type , type… 83 …te impl< typename result_of::child_c<Expr, 0>::type , State , Data >()( e.proto_base().child0, s, … in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 109 …impl< typename result_of::child_c<Expr, 0>::type , State , Data >::result_type , typename Grammar:… 124 …impl< typename result_of::child_c<Expr, 0>::type , State , Data >()( e.proto_base().child0, s, d )… in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 150 …impl< typename result_of::child_c<Expr, 0>::type , State , Data >::result_type , typename Grammar:… 165 …impl< typename result_of::child_c<Expr, 0>::type , State , Data >()( e.proto_base().child0, s, d )… in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 191 …impl< typename result_of::child_c<Expr, 0>::type , State , Data >::result_type , typename Grammar:… 206 …impl< typename result_of::child_c<Expr, 0>::type , State , Data >()( e.proto_base().child0, s, d )… in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() [all …]
|
| H A D | call.hpp | 15 struct impl struct 25 >::template impl<Expr, State, Data> 35 struct impl struct 45 >::template impl<Expr, State, Data> 55 struct impl struct 65 >::template impl<Expr, State, Data> 75 struct impl : transform_impl<Expr, State, Data> struct 77 …impl<Expr, State, Data> a0; typedef typename a0::result_type b0; typedef typename when<_, A1>::tem… argument 89 typename impl::expr_param e in operator ()() 90 , typename impl::state_param s in operator ()() [all …]
|
| H A D | lazy.hpp | 21 struct impl struct 23 typename make<Object>::template impl<Expr, State, Data>::result_type 25 >::template impl<Expr, State, Data> 41 struct impl struct 43 typename make<Object>::template impl<Expr, State, Data>::result_type 45 >::template impl<Expr, State, Data> 53 struct impl struct 63 >::template impl<Expr, State, Data> 79 struct impl struct 81 typename make<Object>::template impl<Expr, State, Data>::result_type [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/ |
| H A D | sqlite3.cpp | 140 : impl(std::move(impl_)) in Database() 144 : impl(std::move(other.impl)) { in Database() 145 assert(impl); in Database() 149 std::swap(impl, other.impl); in operator =() 150 assert(impl); in operator =() 158 assert(impl); in setBusyTimeout() 159 impl->setBusyTimeout(timeout); in setBusyTimeout() 185 assert(impl); in exec() 186 impl->exec(sql); in exec() 206 : impl(std::make_unique<StatementImpl>(QString(sql), in Statement() [all …]
|
| H A D | run_loop.cpp | 27 RunLoop::RunLoop(Type type) : impl(std::make_unique<Impl>()) { in RunLoop() 30 impl->loop = std::make_unique<QEventLoop>(); in RunLoop() 37 impl->type = type; in RunLoop() 40 impl->async = std::make_unique<AsyncTask>(std::bind(&RunLoop::process, this)); in RunLoop() 56 impl->async->send(); in wake() 63 if (impl->type == Type::Default) { in run() 66 impl->loop->exec(); in run() 73 if (impl->type == Type::Default) { in stop() 76 impl->loop->exit(); in stop() 85 if (impl->type == Type::Default) { in runOnce() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/proto/transform/ |
| H A D | arg.hpp | 35 struct impl : transform_impl<Expr, State, Data> struct 43 BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE(result_type, typename impl::expr_param) in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() argument 45 typename impl::expr_param e in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 46 , typename impl::state_param in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 47 , typename impl::data_param in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 68 struct impl : transform_impl<Expr, State, Data> struct 76 BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE(result_type, typename impl::state_param) in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() argument 78 typename impl::expr_param in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 79 , typename impl::state_param s in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 80 , typename impl::data_param in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() [all …]
|
| H A D | default.hpp | 61 … struct impl \ 66 … typedef typename Grammar::template impl<e0, State, Data>::result_type r0; \ 70 … typename impl::expr_param e \ 71 … , typename impl::state_param s \ 72 … , typename impl::data_param d \ 75 … typename Grammar::template impl<e0, State, Data> t0; \ 93 … struct impl \ 99 … typedef typename Grammar::template impl<e0, State, Data>::result_type r0; \ 100 … typedef typename Grammar::template impl<e1, State, Data>::result_type r1; \ 107 … typename impl::expr_param e \ [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/ |
| H A D | enc_impl.cpp | 56 MPP_RET enc_impl_init(EncImpl *impl, EncImplCfg *cfg) in enc_impl_init() argument 58 if (NULL == impl || NULL == cfg) { in enc_impl_init() 59 mpp_err_f("found NULL input controller %p config %p\n", impl, cfg); in enc_impl_init() 63 *impl = NULL; in enc_impl_init() 94 *impl = p; in enc_impl_init() 102 MPP_RET enc_impl_deinit(EncImpl impl) in enc_impl_deinit() argument 104 if (NULL == impl) { in enc_impl_deinit() 109 EncImplCtx *p = (EncImplCtx *)impl; in enc_impl_deinit() 118 MPP_RET enc_impl_proc_cfg(EncImpl impl, MpiCmd cmd, void *para) in enc_impl_proc_cfg() argument 120 if (NULL == impl) { in enc_impl_proc_cfg() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/common/jpeg/ |
| H A D | hal_jpege_hdr.c | 575 JpegeBitsImpl *impl = mpp_malloc(JpegeBitsImpl, 1); in jpege_bits_init() local 576 *ctx = impl; in jpege_bits_init() 587 JpegeBitsImpl *impl = (JpegeBitsImpl *)ctx; in jpege_bits_setup() local 589 impl->buffer = buf; in jpege_bits_setup() 590 impl->stream = buf; in jpege_bits_setup() 591 impl->size = size; in jpege_bits_setup() 592 impl->byteCnt = 0; in jpege_bits_setup() 593 impl->bitCnt = 0; in jpege_bits_setup() 594 impl->byteBuffer = 0; in jpege_bits_setup() 595 impl->bufferedBits = 0; in jpege_bits_setup() [all …]
|