mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 09:35:09 +02:00
16 lines
398 B
C++
16 lines
398 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
struct PMFPlayer;
|
|
|
|
// Currently only supported with built-in FFMPEG.
|
|
bool pmf_player_available();
|
|
|
|
PMFPlayer *pmf_create();
|
|
void pmf_destroy(PMFPlayer* ps);
|
|
|
|
int pmf_init(PMFPlayer* ps, const uint8_t* data, size_t size, int* out_w, int* out_h);
|
|
bool pmf_update(PMFPlayer* ps, double current_time_seconds, uint8_t* user_rgb_buffer);
|
|
void pmf_deinit(PMFPlayer* ps);
|