Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_if.c28 #define H264_MAX_FB_NUM 17 macro
59 struct h264_fb fb_list[H264_MAX_FB_NUM];
108 uint64_t mv_buf_dma[H264_MAX_FB_NUM];
129 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM];
171 for (i = 0; i < H264_MAX_FB_NUM; i++) { in alloc_mv_buf()
192 for (i = 0; i < H264_MAX_FB_NUM; i++) { in free_mv_buf()
206 if (list->count > H264_MAX_FB_NUM || in check_list_validity()
207 list->read_idx >= H264_MAX_FB_NUM || in check_list_validity()
208 list->write_idx >= H264_MAX_FB_NUM) { in check_list_validity()
227 if (list->count == H264_MAX_FB_NUM) { in put_fb_to_free()
[all …]