Hi juliawzc,
The mecroblock number is
macroblocks = WIDTH_ALIGN_TO_16*HEIGHT_ALIGN_TO_16/256
For 640x480, there are 1200 macroblocks and you can have 4 slices by setting
m_VideoEncoder->setSliceLength(V4L2_ENC_SLICE_LENGTH_TYPE_MBLK, 300);
We don’t support the mode encoder_capture_plane_dp_callback is called per slice. It is called per a complete frame. // for old Jetpack releases