Lines Matching refs:enc_hdr_pkt
309 enc_hdr_pkt(NULL), in VpuApiLegacy()
350 if (enc_hdr_pkt) { in ~VpuApiLegacy()
351 mpp_packet_deinit(&enc_hdr_pkt); in ~VpuApiLegacy()
352 enc_hdr_pkt = NULL; in ~VpuApiLegacy()
481 if (NULL == enc_hdr_pkt) { in init()
488 mpp_packet_init(&enc_hdr_pkt, enc_hdr_buf, enc_hdr_buf_size); in init()
491 mpp_assert(enc_hdr_pkt); in init()
492 if (enc_hdr_pkt) { in init()
493 ret = mpi->control(mpp_ctx, MPP_ENC_GET_HDR_SYNC, enc_hdr_pkt); in init()
494 ctx->extradata_size = mpp_packet_get_length(enc_hdr_pkt); in init()
495 ctx->extradata = mpp_packet_get_data(enc_hdr_pkt); in init()
1820 if (NULL == enc_hdr_pkt) { in control()
1827 mpp_packet_init(&enc_hdr_pkt, enc_hdr_buf, enc_hdr_buf_size); in control()
1830 mpp_assert(enc_hdr_pkt); in control()
1831 if (enc_hdr_pkt) { in control()
1832 mpi->control(mpp_ctx, MPP_ENC_GET_HDR_SYNC, enc_hdr_pkt); in control()
1834 RK_S32 length = mpp_packet_get_length(enc_hdr_pkt); in control()
1835 void *src = mpp_packet_get_data(enc_hdr_pkt); in control()