Searched refs:fb_stride (Results 1 – 2 of 2) sorted by relevance
1053 int fb_stride = 0, fb_height = 0; in wave5_prepare_fb() local1082 fb_stride = ALIGN(inst->dst_fmt.width * bitdepth / 8, 32); in wave5_prepare_fb()1084 luma_size = fb_stride * fb_height; in wave5_prepare_fb()1086 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; in wave5_prepare_fb()1108 frame->stride = fb_stride; in wave5_prepare_fb()1126 u32 fb_stride = inst->dst_fmt.width; in wave5_prepare_fb() local1127 u32 luma_size = fb_stride * inst->dst_fmt.height; in wave5_prepare_fb()1131 chroma_size = fb_stride * inst->dst_fmt.height / 2; in wave5_prepare_fb()1133 chroma_size = fb_stride * inst->dst_fmt.height / 4; in wave5_prepare_fb()1160 frame->stride = fb_stride; in wave5_prepare_fb()[all …]
1264 u32 fb_stride = ALIGN(inst->dst_fmt.width, 32); in prepare_fb() local1269 u32 luma_size = fb_stride * fb_height; in prepare_fb()1270 u32 chroma_size = ALIGN(fb_stride / 2, 16) * fb_height; in prepare_fb()1287 ret = wave5_vpu_enc_register_frame_buffer(inst, inst->fbc_buf_count, fb_stride, in prepare_fb()