Skip to main content
Version: 10 Jul 2024

MLMediaCodecFrameRenderedInfo

Module: Media Player

MediaCodec Output Frame Rendered information. More...

#include <ml_media_codec.h>

Public Attributes

TypeName
int64_tpresentation_time_us
int64_tsystem_time_nano
void *data

Detailed Description

struct MLMediaCodecFrameRenderedInfo;

MediaCodec Output Frame Rendered information.

Deprecated

Deprecated since 1.4.0. Scheduled for removal.

API Level:

  • 20

Public Attributes Documentation

presentation_time_us

int64_t presentation_time_us;

The presentation time (media time) in microseconds of the frame rendered.


system_time_nano

int64_t system_time_nano;

System time when the frame was rendered.


data

void * data;

User data as passed to MLMediaCodecSetOutputFrameListener().