| 1548 | } |
| 1549 | |
| 1550 | error_code cellVdecGetPicture(ppu_thread& ppu, u32 handle, |
| 1551 | vm::cptr<CellVdecPicFormat> format, |
| 1552 | vm::ptr<u8> outBuff) |
| 1553 | { |
| 1554 | ppu.state += cpu_flag::wait; |
| 1555 | |
| 1556 | cellVdec.trace("cellVdecGetPicture(handle=0x%x, format=*0x%x, outBuff=*0x%x)", |
| 1557 | handle, format, outBuff); |
| 1558 | |
| 1559 | if (!format) |
| 1560 | { |
| 1561 | return CELL_VDEC_ERROR_ARG; |
| 1562 | } |
| 1563 | |
| 1564 | vm::var<CellVdecPicFormat2> format2; |
| 1565 | format2->formatType = format->formatType; |
| 1566 | format2->colorMatrixType = format->colorMatrixType; |
| 1567 | format2->alpha = format->alpha; |
| 1568 | format2->unk0 = 0; |
| 1569 | format2->unk1 = 0; |
| 1570 | |
| 1571 | return cellVdecGetPictureExt(ppu, handle, format2, outBuff, 0); |
| 1572 | } |
| 1573 | |
| 1574 | error_code cellVdecGetPicItem(ppu_thread& ppu, u32 handle, |
| 1575 | vm::pptr<CellVdecPicItem> picItem) |
nothing calls this directly
no test coverage detected