Lines Matching defs:attr

1887     VAConfigAttrib      attr = { VAConfigAttribMaxFrameSize };
1900 &attr, 1);
1908 if (attr.value == VA_ATTRIB_NOT_SUPPORTED) {
1915 attr_mfs.value = attr.value;
1944 VAConfigAttrib attr = { VAConfigAttribEncMaxRefFrames };
1951 &attr, 1);
1958 if (attr.value == VA_ATTRIB_NOT_SUPPORTED) {
1961 ref_l0 = attr.value & 0xffff;
1962 ref_l1 = attr.value >> 16 & 0xffff;
1971 attr = (VAConfigAttrib) { VAConfigAttribPredictionDirection };
1975 &attr, 1);
1980 } else if (attr.value == VA_ATTRIB_NOT_SUPPORTED) {
1984 if (((ref_l0 > 0 || ref_l1 > 0) && !(attr.value & VA_PREDICTION_DIRECTION_PREVIOUS)) ||
1985 ((ref_l1 == 0) && (attr.value & (VA_PREDICTION_DIRECTION_FUTURE | VA_PREDICTION_DIRECTION_BI_NOT_EMPTY)))) {
1991 if (!(attr.value & VA_PREDICTION_DIRECTION_FUTURE)) {
1999 if (attr.value & VA_PREDICTION_DIRECTION_BI_NOT_EMPTY) {
2170 VAConfigAttrib attr[3] = { { VAConfigAttribEncMaxSlices },
2204 attr, FF_ARRAY_ELEMS(attr));
2210 max_slices = attr[0].value;
2211 slice_structure = attr[1].value;
2221 uint32_t tile_support = attr[2].value;
2262 VAConfigAttrib attr = { VAConfigAttribEncPackedHeaders };
2267 &attr, 1);
2274 if (attr.value == VA_ATTRIB_NOT_SUPPORTED) {
2285 if (ctx->desired_packed_headers & ~attr.value) {
2288 ctx->desired_packed_headers, attr.value);
2292 ctx->desired_packed_headers, attr.value);
2294 ctx->va_packed_headers = ctx->desired_packed_headers & attr.value;
2323 VAConfigAttrib attr = { VAConfigAttribEncQualityRange };
2329 &attr, 1);
2336 if (attr.value == VA_ATTRIB_NOT_SUPPORTED) {
2342 if (quality > attr.value) {
2345 attr.value, attr.value);
2346 quality = attr.value;
2370 VAConfigAttrib attr = { VAConfigAttribEncROI };
2375 &attr, 1);
2382 if (attr.value == VA_ATTRIB_NOT_SUPPORTED) {
2386 .value = attr.value,