Question regarding IDR patch in vpuenc.c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question regarding IDR patch in vpuenc.c

425 Views
asmitaamonkar
Contributor I

Hi,

In vpuenc.c file

if (!(vpuenc->gop_frm_cnt % vpuenc->options.gopsize)) {

vpuenc->context.params.nForceIPicture= 1;

}

the above code is ued to force the IDR indication in th H.264 protocol.

But if we use this code what we have observed is the size of  I slice less than next P-slice.

could you please give me the reason for the same.

Labels (1)
0 Kudos
1 Reply

355 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Asmita,

Apparently If there is no I frame in the stream, the decoder waits for a I (IDR) frame, the decoder seeks the (n + 1)th I (IDR) frame, problably this the reason of P-slice size is bigger, for case of i.mx6 chunksize or skipframe can not be used.

hope this helps

0 Kudos