Lines Matching refs:num_valid
76 b->unordered_reflist[b->num_valid] = i; in v4l2_h264_init_reflist_builder()
77 b->num_valid++; in v4l2_h264_init_reflist_builder()
80 for (i = b->num_valid; i < ARRAY_SIZE(b->unordered_reflist); i++) in v4l2_h264_init_reflist_builder()
226 sizeof(builder->unordered_reflist[0]) * builder->num_valid); in v4l2_h264_build_p_ref_list()
227 sort_r(reflist, builder->num_valid, sizeof(*reflist), in v4l2_h264_build_p_ref_list()
251 sizeof(builder->unordered_reflist[0]) * builder->num_valid); in v4l2_h264_build_b_ref_lists()
252 sort_r(b0_reflist, builder->num_valid, sizeof(*b0_reflist), in v4l2_h264_build_b_ref_lists()
256 sizeof(builder->unordered_reflist[0]) * builder->num_valid); in v4l2_h264_build_b_ref_lists()
257 sort_r(b1_reflist, builder->num_valid, sizeof(*b1_reflist), in v4l2_h264_build_b_ref_lists()
260 if (builder->num_valid > 1 && in v4l2_h264_build_b_ref_lists()
261 !memcmp(b1_reflist, b0_reflist, builder->num_valid)) in v4l2_h264_build_b_ref_lists()