|
Agora Java API Reference for Android
|
Public Member Functions | |
| virtual int | initVideoDecoder (const ExtensionVideoCodecSettings &codec_settings)=0 |
| virtual int | decode (const ExtensionEncodedImage &data)=0 |
| virtual int32_t | registerDecoderCallback (IExtensionDecoderCallback *callback)=0 |
| virtual int32_t | releaseVideoDecoder ()=0 |
| virtual void | querySupportCodecDataFormat (media::base::VIDEO_PIXEL_FORMAT *data_format, int &size)=0 |
| virtual int | setAdvancedCodecProperty (const char *key, const char *json_value)=0 |
| virtual int | getAdvancedCodecProperty (const char *key, char *json_value, int &length) const =0 |
Public Member Functions inherited from agora::RefCountInterface | |
| virtual void | AddRef () const =0 |
| virtual RefCountReleaseStatus | Release () const =0 |
| virtual bool | HasOneRef () const =0 |
|
pure virtual |
Initializes the video decoder with the specified codec settings.
| codec_settings | The video codec settings that specify how the video should be decoded. |
|
pure virtual |
Decodes a frame of encoded video data.
| data | The encoded video data to be decoded. |
|
pure virtual |
Registers a callback function to handle decoded video frames.
| callback | A pointer to the decoder callback interface. |
|
pure virtual |
Releases the resources used by the video decoder.
|
pure virtual |
Queries the supported codec data formats.
| data_format | A pointer to an array where supported pixel formats will be filled. |
| size | An input/output parameter; initially holds the size of the array, and will be updated with the actual number of formats filled. |
|
pure virtual |
Sets a advanced codec property in the IExtensionVideoDecoder class.
| key | The pointer to the property name. |
| buf | The pointer to the buffer of this private property. |
| buf_size | The buffer size of this private property. |
|
pure virtual |
Gets a advanced codec property in the IExtensionVideoDecoder class.
| name | The pointer to the property name. |
| buf | The pointer to the buffer of this advanced codec property. |
| buf_size | The buffer size of this advanced codec property. |
1.8.18