Lines Matching refs:codec_id
68 info->codec_id = AV_CODEC_ID_AAC;
70 info->codec_id = AV_CODEC_ID_AC3;
72 info->codec_id = AV_CODEC_ID_EAC3;
74 info->codec_id = AV_CODEC_ID_NONE;
97 if (st->codecpar->codec_id == AV_CODEC_ID_AAC)
100 if (st->codecpar->codec_id != AV_CODEC_ID_AC3 && st->codecpar->codec_id != AV_CODEC_ID_EAC3)
103 if (st->codecpar->codec_id == AV_CODEC_ID_AC3) {
332 static int get_next_sync_frame(enum AVCodecID codec_id, CodecParserContext *ctx, AudioFrame *frame)
334 if (codec_id == AV_CODEC_ID_AAC)
336 else if (codec_id == AV_CODEC_ID_AC3 || codec_id == AV_CODEC_ID_EAC3)
342 static int decrypt_sync_frame(enum AVCodecID codec_id, HLSCryptoContext *crypto_ctx, AudioFrame *frame)
361 static int decrypt_audio_frame(enum AVCodecID codec_id, HLSCryptoContext *crypto_ctx, AVPacket *pkt)
373 ret = get_next_sync_frame(codec_id, &ctx, &frame);
377 ret = decrypt_sync_frame(codec_id, crypto_ctx, &frame);
387 int ff_hls_senc_decrypt_frame(enum AVCodecID codec_id, HLSCryptoContext *crypto_ctx, AVPacket *pkt)
389 if (codec_id == AV_CODEC_ID_H264)
391 else if (codec_id == AV_CODEC_ID_AAC || codec_id == AV_CODEC_ID_AC3 || codec_id == AV_CODEC_ID_EAC3)
392 return decrypt_audio_frame(codec_id, crypto_ctx, pkt);