Lines Matching refs:fool_codec
63 int fool_codec = 0;
70 int enabled; /* fool_codec is global, and it is for concurent encode/decode */
126 fool_codec |= VA_FOOL_FLAG_DECODE;
130 fool_codec |= VA_FOOL_FLAG_ENCODE;
136 fool_codec |= VA_FOOL_FLAG_JPEG;
184 * check fool_codec to align with current context
185 * e.g. fool_codec = decode then for encode, the
189 if (((fool_codec & VA_FOOL_FLAG_DECODE) && (entrypoint == VAEntrypointVLD)) ||
190 ((fool_codec & VA_FOOL_FLAG_JPEG) && (entrypoint == VAEntrypointEncPicture)))
192 else if ((fool_codec & VA_FOOL_FLAG_ENCODE) && (entrypoint == VAEntrypointEncSlice)) {