Lines Matching refs:info
78 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_set() local
81 switch (info->type) { in hal_info_set()
103 mpp_err_f("found invalid ctx type %d\n", info->type); in hal_info_set()
108 elems = &info->elems[type]; in hal_info_set()
115 info->updated |= (1 << type); in hal_info_set()
133 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_get() local
134 if (!info->updated) { in hal_info_get()
140 RK_S32 elem_size = sizeof(info->elems[0]); in hal_info_get()
145 switch (info->type) { in hal_info_get()
153 mpp_err_f("found invalid ctx type %d\n", info->type); in hal_info_get()
159 if (!(info->updated & (1 << i))) in hal_info_get()
168 memcpy(data, &info->elems[i], elem_size); in hal_info_get()
171 info->updated &= ~(1 << i); in hal_info_get()
187 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_to_string() local
190 switch (info->type) { in hal_info_to_string()
196 mpp_assert(coding == info->coding); in hal_info_to_string()
208 mpp_assert(coding == info->coding); in hal_info_to_string()
219 str = strof_profle(info->coding, profile); in hal_info_to_string()
226 mpp_err_f("found invalid ctx type %d\n", info->type); in hal_info_to_string()
253 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_from_enc_cfg() local
260 val = hal_info_to_string(ctx, ENC_INFO_FORMAT, &info->coding); in hal_info_from_enc_cfg()
274 switch (info->coding) { in hal_info_from_enc_cfg()