HouLingLXH

Results 14 issues of HouLingLXH

I expect type of parameters and returned value will be specific, Now I modified the file in python_stubs to realized it, but it is a not good way. How to...

When I open then inspector by scene.debugLayer.show(), and play , then I click the window, I get the disorder: ![AOFPEKX(OAAQQ))BBD4%~IG](https://user-images.githubusercontent.com/30954632/122153671-06d57200-ce96-11eb-864a-b04b77a7298f.png)

question

**咨询的功能模块** - mk_player **咨询的具体内容和问题** - 我在多个子线程中创建mk_player, 并使用mk_player_set_on_result 设置回调函数func - 当触发回调时,我在func中打印thread id,发现他们都是一样的,而且与相应创建他们的子线程id都不一致,为什么?

技术咨询

问一下下面这段代码中, 是从wts文件读取权重数据,应该是hex的float值, 为什么存储在 uint32_t中啊? while (count--) { Weights wt{ DataType::kFLOAT, nullptr, 0 }; uint32_t size; // Read name and type of blob std::string name; input >> name >> std::dec >>...

wontfix

我的rtsp视频流的颜色格式是 yuv420p, 但是用mpp解码后,通过mpp_frame_get_fmt(frame) 总是得到的0(MPP_FMT_YUV420SP), 为什么? 有地方可以设置吗?

rk3588s , 4G内存 调用过 imtranslate 和 imresize 报错: Apr 1 02:17:27 firefly kernel: [ 8594.342568] rga_mm: RGA_MMU unsupported memory larger than 4G! Apr 1 02:17:27 firefly kernel: [ 8594.342603] rga_mm:...

我使用多线程(或者单线程),调用 imfill 填充颜色, 对连续的多帧图片(同一个视频流)执行,发现有些能成功加上,有些不能,为什么? 代码: IM_STATUS STATUS = imresize(src, dst); // resize都能成功 img->resize_buf = resize_buf; im_rect rects[2]; rects[0].x= 0; rects[0].y = 0; rects[0].width = MODEL_SIZE; rects[0].height = 50; // rects[1].x...

一下是我的初始化和释放代码: ` MppDecoder::~MppDecoder() { std::cout control(mpp_ctx, MPP_DEC_SET_CFG, cfg); if (ret) { LOGD("%p failed to set cfg %p ret %d ", mpp_ctx, cfg, ret); return -1; } mpp_dec_cfg_deinit(cfg); loop_data.ctx = mpp_ctx;...

关于这段代码: mpp_dec_cfg_init(&cfg); /* get default config from decoder context */ ret = mpp_mpi->control(mpp_ctx, MPP_DEC_GET_CFG, cfg); 说是获取解码器的默认配置, 这个所谓的默认配置在哪能看到? 我想知道解码输出的数据到底是RGB还是BGR还是yuv, 是在这个配置能查看或修改吗?