| 399 | } |
| 400 | |
| 401 | Result mvdstdProcessVideoFrame(void* inbuf_vaddr, size_t size, u32 flag, MVDSTD_ProcessNALUnitOut *out) |
| 402 | { |
| 403 | Result ret; |
| 404 | |
| 405 | if(mvdstdRefCount==0)return -3; |
| 406 | if(mvdstd_mode!=MVDMODE_VIDEOPROCESSING)return -2; |
| 407 | |
| 408 | ret = MVDSTD_ProcessNALUnit((u32)inbuf_vaddr, (u32)osConvertVirtToPhys(inbuf_vaddr), size, mvdstd_videoproc_frameid, flag, out); |
| 409 | mvdstd_videoproc_frameid++; |
| 410 | if(mvdstd_videoproc_frameid>=0x12)mvdstd_videoproc_frameid = 0; |
| 411 | |
| 412 | return ret; |
| 413 | } |
| 414 | |
| 415 | Result mvdstdRenderVideoFrame(MVDSTD_Config* config, bool wait) |
| 416 | { |
nothing calls this directly
no test coverage detected