Home
last modified time | relevance | path

Searched refs:frm_cnt (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_h264_if.c217 unsigned int frm_cnt; member
422 static int h264_frame_type(unsigned int frm_cnt, unsigned int gop_size, in h264_frame_type() argument
425 if ((gop_size != 0 && (frm_cnt % gop_size) == 0) || in h264_frame_type()
426 (frm_cnt == 0 && gop_size == 0)) { in h264_frame_type()
429 } else if ((intra_period != 0 && (frm_cnt % intra_period) == 0) || in h264_frame_type()
430 (frm_cnt == 0 && intra_period == 0)) { in h264_frame_type()
518 mtk_venc_debug(ctx, "frm_cnt = %d\n ", inst->frm_cnt); in h264_encode_frame()
527 frame_info.frm_count = inst->frm_cnt; in h264_encode_frame()
529 frame_info.frm_type = h264_frame_type(inst->frm_cnt, gop_size, in h264_encode_frame()
549 ++inst->frm_cnt; in h264_encode_frame()
[all …]
H A Dvenc_vp8_if.c127 unsigned int frm_cnt; member
291 mtk_venc_debug(inst->ctx, "->frm_cnt=%d", inst->frm_cnt); in vp8_enc_encode_frame()
308 inst->frm_cnt++; in vp8_enc_encode_frame()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_if.c159 unsigned int frm_cnt; member
449 inst->frm_cnt, y_fb_dma, c_fb_dma, fb); in vdec_vp8_decode()
457 mtk_vdec_debug(inst->ctx, "\n + FRAME[%d] +\n", inst->frm_cnt); in vdec_vp8_decode()
500 mtk_vdec_debug(inst->ctx, "\n - FRAME[%d] - show=%d\n", inst->frm_cnt, dec->show_frame); in vdec_vp8_decode()
501 inst->frm_cnt++; in vdec_vp8_decode()
506 mtk_vdec_err(inst->ctx, "\n - FRAME[%d] - err=%d\n", inst->frm_cnt, err); in vdec_vp8_decode()
/linux/sound/soc/stm/
H A Dstm32_sai_sub.c1383 unsigned int frm_cnt = sai->spdif_frm_cnt; in stm32_sai_pcm_process_spdif() local
1391 byte = frm_cnt >> 3; in stm32_sai_pcm_process_spdif()
1392 mask = 1 << (frm_cnt - (byte << 3)); in stm32_sai_pcm_process_spdif()
1398 frm_cnt++; in stm32_sai_pcm_process_spdif()
1400 if (frm_cnt == SAI_IEC60958_BLOCK_FRAMES) in stm32_sai_pcm_process_spdif()
1401 frm_cnt = 0; in stm32_sai_pcm_process_spdif()
1403 sai->spdif_frm_cnt = frm_cnt; in stm32_sai_pcm_process_spdif()
/linux/drivers/soc/fsl/dpio/
H A Dqbman-portal.h569 __le32 frm_cnt; member
H A Dqbman-portal.c1751 return (le32_to_cpu(r->frm_cnt) & 0x00FFFFFF); in qbman_fq_state_frame_count()
/linux/drivers/crypto/caam/
H A Dqi.c305 if (!qm_mcr_np_get(&np, frm_cnt)) in empty_caam_fq()