Lines Matching refs:num_internal_frames
344 if (ctx->num_internal_frames && in coda_fill_bitstream()
345 ctx->num_metas >= ctx->num_internal_frames) { in coda_fill_bitstream()
500 for (i = 0; i < ctx->num_internal_frames; i++) { in coda_alloc_framebuffers()
524 for (i = 0; i < ctx->num_internal_frames; i++) { in coda_alloc_framebuffers()
1330 ctx->num_internal_frames = 4; in coda_start_encoding()
1332 ctx->num_internal_frames = 2; in coda_start_encoding()
1341 ctx->num_internal_frames = 0; in coda_start_encoding()
1995 ctx->num_internal_frames = coda_read(dev, CODA_RET_DEC_SEQ_FRAME_NEED); in __coda_decoder_seq_init()
2004 ctx->num_internal_frames += 1; in __coda_decoder_seq_init()
2005 if (ctx->num_internal_frames > CODA_MAX_FRAMEBUFFERS) { in __coda_decoder_seq_init()
2008 CODA_MAX_FRAMEBUFFERS, ctx->num_internal_frames); in __coda_decoder_seq_init()
2092 coda_write(dev, ctx->num_internal_frames, CODA_CMD_SET_FRAME_BUF_NUM); in __coda_start_decoding()
2205 ctx->display_idx < ctx->num_internal_frames) { in coda_prepare_decode()
2408 ctx->display_idx < ctx->num_internal_frames) { in coda_finish_decode()
2417 ctx->display_idx < ctx->num_internal_frames) { in coda_finish_decode()
2433 if (display_idx >= 0 && display_idx < ctx->num_internal_frames) in coda_finish_decode()
2439 ctx->display_idx < ctx->num_internal_frames) in coda_finish_decode()
2442 } else if (decoded_idx < 0 || decoded_idx >= ctx->num_internal_frames) { in coda_finish_decode()
2506 } else if (display_idx < 0 || display_idx >= ctx->num_internal_frames) { in coda_finish_decode()
2514 ctx->display_idx < ctx->num_internal_frames) { in coda_finish_decode()