<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><pre><div style="font-family: 'Segoe UI'; white-space: normal;"><pre>Dear Henrik,</pre><pre>I have tried add data to avcintra_lut[3][2][7], and I find it will be a large array which is very hard to read.</pre><pre>Each class has difference setting. To meet further extension, I use <span style="font-family: 'Segoe UI'; font-size: 10.5pt; line-height: 1.5; background-color: window;">those apply_* functions to set each profile.</span></pre><div><span style="font-family: 'Segoe UI'; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div></div></pre></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN-LEFT: 10px; MARGIN-TOP: 10px; MARGIN-RIGHT: 10px">
<div><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000">Regards,</span></div>
<div><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000"></span> </div>
<div><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000"> Xuefeng
Jiang</span></div>
<div><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000"></span> </div>
<div><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000"><a href="mailto:xuefeng@multicorewareinc.com">xuefeng@multicorewareinc.com</a></span></div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:x264-devel-request@videolan.org">x264-devel-request</a></div><div><b>Date:</b> 2015-09-29 18:00</div><div><b>To:</b> <a href="mailto:x264-devel@videolan.org">x264-devel</a></div><div><b>Subject:</b> x264-devel Digest, Vol 100, Issue 15</div></div></div><div><div>Send x264-devel mailing list submissions to</div>
<div> x264-devel@videolan.org</div>
<div> </div>
<div>To subscribe or unsubscribe via the World Wide Web, visit</div>
<div> https://mailman.videolan.org/listinfo/x264-devel</div>
<div>or, via email, send a message with subject or body 'help' to</div>
<div> x264-devel-request@videolan.org</div>
<div> </div>
<div>You can reach the person managing the list at</div>
<div> x264-devel-owner@videolan.org</div>
<div> </div>
<div>When replying, please edit your Subject line so it is more specific</div>
<div>than "Re: Contents of x264-devel digest..."</div>
<div> </div>
<div> </div>
<div>Today's Topics:</div>
<div> </div>
<div> 1. Re: [PATCH ]Support 12bit and add ultra calss (Henrik Gramner)</div>
<div> 2. [PATCH] Fix ffmpeg AVC-Intra encoding with libx264 in mov</div>
<div> container (Thomas Mundt)</div>
<div> </div>
<div> </div>
<div>----------------------------------------------------------------------</div>
<div> </div>
<div>Message: 1</div>
<div>Date: Mon, 28 Sep 2015 20:47:11 +0200</div>
<div>From: Henrik Gramner <henrik@gramner.com></div>
<div>To: Mailing list for x264 developers <x264-devel@videolan.org></div>
<div>Subject: Re: [x264-devel] [PATCH ]Support 12bit and add ultra calss</div>
<div>Message-ID:</div>
<div> <CAFGUN0rA9auu96sz=3XqSOs5z=D0d+eh_mj2U6p=nGJNWvunyA@mail.gmail.com></div>
<div>Content-Type: text/plain; charset="utf-8"</div>
<div> </div>
<div>Hi Xuefeng</div>
<div> </div>
<div>Thanks for your patch, there's a few thing I'd like to see changed though</div>
<div>to get started.</div>
<div> </div>
<div>Begin by splitting the 12-bit support into a standalone patch, and the</div>
<div>AVC-Intra extensions into another patch on top of that.</div>
<div> </div>
<div>There's also a lot of code duplication going on here. You should try to</div>
<div>extend the existing AVC-Intra code at</div>
<div>https://git.videolan.org/?p=x264.git;a=blob;f=encoder/encoder.c;h=79997b96ef82fda8838e1eaeeeb7551a3d1aa651;hb=HEAD#l650</div>
<div>instead of using those apply_* functions.</div>
<div> </div>
<div>Henrik</div>
<div>-------------- next part --------------</div>
<div>An HTML attachment was scrubbed...</div>
<div>URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20150928/ffeb2e60/attachment-0001.html></div>
<div> </div>
<div>------------------------------</div>
<div> </div>
<div>Message: 2</div>
<div>Date: Tue, 29 Sep 2015 01:48:57 +0100</div>
<div>From: Thomas Mundt <loudmax@yahoo.de></div>
<div>To: x264-devel@videolan.org</div>
<div>Subject: [x264-devel] [PATCH] Fix ffmpeg AVC-Intra encoding with</div>
<div> libx264 in mov container</div>
<div>Message-ID: <9d6be507-33ea-4ab3-b76e-dede0487485e@a-PC.local></div>
<div>Content-Type: text/plain; </div>
<div> </div>
<div>IME-Version: 1.0</div>
<div>Content-Type: text/plain; charset=UTF-8</div>
<div>Content-Transfer-Encoding: 8bit</div>
<div> </div>
<div>For x264 encoding in mov container ffmpeg sets x264 parameter b_repeat_headers to 0 and calls x264_encoder_headers which calls x264_sei_version_write function. Both is not allowed for AVC-Intra. Since other applications may behave similar it´s better to avoid this here.</div>
<div> </div>
<div>Signed-off-by: Thomas Mundt <loudmax@yahoo.de></div>
<div>---</div>
<div> encoder/encoder.c | 18 ++++++++++--------</div>
<div> 1 file changed, 10 insertions(+), 8 deletions(-)</div>
<div> </div>
<div>diff --git a/encoder/encoder.c b/encoder/encoder.c</div>
<div>index 79997b9..e2f0048 100644</div>
<div>--- a/encoder/encoder.c</div>
<div>+++ b/encoder/encoder.c</div>
<div>@@ -743,8 +743,8 @@ static int x264_validate_parameters( x264_t *h, int b_open )</div>
<div> </div>
<div> if( !h->param.b_repeat_headers )</div>
<div> {</div>
<div>- x264_log( h, X264_LOG_ERROR, "Separate headers not supported in AVC-Intra mode\n" );</div>
<div>- return -1;</div>
<div>+ x264_log( h, X264_LOG_INFO, "Separate headers is not supported in AVC-Intra mode and will be ignored\n" );</div>
<div>+ h->param.b_repeat_headers = 1;</div>
<div> }</div>
<div> </div>
<div> int i;</div>
<div>@@ -2005,12 +2005,14 @@ int x264_encoder_headers( x264_t *h, x264_nal_t **pp_nal, int *pi_nal )</div>
<div> if( x264_nal_end( h ) )</div>
<div> return -1;</div>
<div> </div>
<div>- /* identify ourselves */</div>
<div>- x264_nal_start( h, NAL_SEI, NAL_PRIORITY_DISPOSABLE );</div>
<div>- if( x264_sei_version_write( h, &h->out.bs ) )</div>
<div>- return -1;</div>
<div>- if( x264_nal_end( h ) )</div>
<div>- return -1;</div>
<div>+ /* identify ourselves when not AVC-Intra */</div>
<div>+ if( !h->param.i_avcintra_class ) {</div>
<div>+ x264_nal_start( h, NAL_SEI, NAL_PRIORITY_DISPOSABLE );</div>
<div>+ if( x264_sei_version_write( h, &h->out.bs ) )</div>
<div>+ return -1;</div>
<div>+ if( x264_nal_end( h ) )</div>
<div>+ return -1;</div>
<div>+ }</div>
<div> </div>
<div> frame_size = x264_encoder_encapsulate_nals( h, 0 );</div>
<div> if( frame_size < 0 )</div>
<div>-- </div>
<div>1.9.2</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>------------------------------</div>
<div> </div>
<div>Subject: Digest Footer</div>
<div> </div>
<div>_______________________________________________</div>
<div>x264-devel mailing list</div>
<div>x264-devel@videolan.org</div>
<div>https://mailman.videolan.org/listinfo/x264-devel</div>
<div> </div>
<div> </div>
<div>------------------------------</div>
<div> </div>
<div>End of x264-devel Digest, Vol 100, Issue 15</div>
<div>*******************************************</div>
</div></blockquote>
</body></html>