Added sceVideodecTermLibrary and sceAvcdecDeleteDecoder prototypes.
@@ -132,6 +132,13 @@ typedef struct SceAvcdecArrayPicture {
*/
int sceVideodecInitLibrary(SceVideodecType codec, const SceVideodecQueryInitInfoHwAvcdec *initInfo);
+/***
+ * @param[in] codec - See ::SceVideodecType
+ *
+ * @return 0 on success, < 0 on error.
+ */
+int sceVideodecTermLibrary(SceVideodecType codec);
+
/***
* @param[in] codec - See ::SceVideodecType
* @param[in] query - Should be copy from ::SceVideodecQueryInitInfoHwAvcdec.
@@ -150,6 +157,13 @@ int sceAvcdecQueryDecoderMemSize(SceVideodecType codec, const SceAvcdecQueryDeco
*/
int sceAvcdecCreateDecoder(SceVideodecType codec, SceAvcdecCtrl *decoder, const SceAvcdecQueryDecoderInfo *query);
+/***
+ * @param[in] decoder - A ::SceAvcdecCtrl decoder initialized with ::sceAvcdecCreateDecoder
+ *
+ * @return 0 on success, < 0 on error.
+ */
+int sceAvcdecDeleteDecoder(SceAvcdecCtrl *decoder);
+
/***
* @param[in] decoder
* @param[in] au - Must set buffer information(es) and be initialized timestamps with 0xFFFFFFFF
