<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 16, 2017 at 8:20 PM, Pradeep Ramachandran <span dir="ltr"><<a href="mailto:pradeep@multicorewareinc.com" target="_blank">pradeep@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Pradeep Ramachandran <<a href="mailto:pradeep@multicorewareinc.com">pradeep@multicorewareinc.com</a>><br>
# Date 1510843786 -19800<br>
# Thu Nov 16 20:19:46 2017 +0530<br>
# Node ID 90ef3cb7af23dfd3fcf98825b32d66<wbr>1481ac96c1<br>
# Parent 5b0d7c668968aa6d1b653598e08b72<wbr>f2b43f32e3<br>
doc: Cleanup api.rst, and update comments in x265.h<br></blockquote><div><br></div><div>Pushed to default branch</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 5b0d7c668968 -r 90ef3cb7af23 doc/reST/api.rst<br>
--- a/doc/reST/api.rst Mon Nov 13 12:20:50 2017 +0530<br>
+++ b/doc/reST/api.rst Thu Nov 16 20:19:46 2017 +0530<br>
@@ -208,18 +208,19 @@<br>
* This API must be called after(poc >= lookaheadDepth + bframes + 2) condition check */<br>
int x265_get_ref_frame_list(x265_<wbr>encoder *encoder, x265_picyuv**, x265_picyuv**, int, int);<br>
<br>
-**x265_encoder_ctu_info**<br>
- /* x265_encoder_ctu_info:<br>
- * Copy CTU information such as ctu address and ctu partition structure of all<br>
- * CTUs in each frame. The function is invoked only if "--ctu-info" is enabled and<br>
- * the encoder will wait for this copy to complete if enabled.<br>
- */<br>
+**x265_encoder_ctu_info** may be used to provide additional CTU-specific information to the encoder::<br>
+<br>
+ /* x265_encoder_ctu_info:<br>
+ * Copy CTU information such as ctu address and ctu partition structure of all<br>
+ * CTUs in each frame. The function is invoked only if "--ctu-info" is enabled and<br>
+ * the encoder will wait for this copy to complete if enabled.*/<br>
+ int x265_encoder_ctu_info(x265_<wbr>encoder *encoder, int poc, x265_ctu_info_t** ctu);<br>
<br>
**x265_set_analysis_data()** may be used to recive analysis information from external application::<br>
<br>
/* x265_set_analysis_data:<br>
- * set the analysis data,<br>
- * returns negative on error, 0 access unit were output. */<br>
+ * set the analysis data. The incoming analysis_data structure is assumed to be AVC-sized blocks.<br>
+ * returns negative on error, 0 access unit were output.*/<br>
int x265_set_analysis_data(x265_<wbr>encoder *encoder, x265_analysis_data *analysis_data, int poc, uint32_t cuBytes);<br>
<br>
Pictures<br>
diff -r 5b0d7c668968 -r 90ef3cb7af23 source/x265.h<br>
--- a/source/x265.h Mon Nov 13 12:20:50 2017 +0530<br>
+++ b/source/x265.h Thu Nov 16 20:19:46 2017 +0530<br>
@@ -1732,8 +1732,6 @@<br>
* the encoder will wait for this copy to complete if enabled.<br>
*/<br>
int x265_encoder_ctu_info(x265_<wbr>encoder *, int poc, x265_ctu_info_t** ctu);<br>
-/* x265_cleanup:<br>
- * release library static allocations, reset configured CTU size */<br>
<br>
/* x265_get_slicetype_poc_and_<wbr>scenecut:<br>
* get the slice type, poc and scene cut information for the current frame,<br>
@@ -1747,10 +1745,12 @@<br>
int x265_get_ref_frame_list(x265_<wbr>encoder *encoder, x265_picyuv**, x265_picyuv**, int, int);<br>
<br>
/* x265_set_analysis_data:<br>
- * set the analysis data,<br>
+ * set the analysis data. The incoming analysis_data structure is assumed to be AVC-sized blocks.<br>
* returns negative on error, 0 access unit were output. */<br>
int x265_set_analysis_data(x265_<wbr>encoder *encoder, x265_analysis_data *analysis_data, int poc, uint32_t cuBytes);<br>
<br>
+/* x265_cleanup:<br>
+ * release library static allocations, reset configured CTU size */<br>
void x265_cleanup(void);<br>
<br>
/* Open a CSV log file. On success it returns a file handle which must be passed<br>
</blockquote></div><br></div></div>