diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-07-02 11:40:22 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-07-02 11:50:01 +0100 |
commit | 3cc4301c146e2a6e680939456ea3df4ec2d12e3e (patch) | |
tree | 8017d2aab10858445bd0bccbce83393b516eebd6 /src/gallium/auxiliary/gallivm/lp_bld_format.h | |
parent | 37f4c2f906c8e2a6df609a190e4ca9ff028b265b (diff) | |
download | external_mesa3d-3cc4301c146e2a6e680939456ea3df4ec2d12e3e.zip external_mesa3d-3cc4301c146e2a6e680939456ea3df4ec2d12e3e.tar.gz external_mesa3d-3cc4301c146e2a6e680939456ea3df4ec2d12e3e.tar.bz2 |
gallivm: Code generate YUV format unpacking.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_format.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_format.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format.h b/src/gallium/auxiliary/gallivm/lp_bld_format.h index c335ca4..a853d7c 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_format.h @@ -94,5 +94,17 @@ lp_build_fetch_rgba_soa(LLVMBuilderRef builder, LLVMValueRef j, LLVMValueRef rgba_out[4]); +/* + * YUV + */ + + +LLVMValueRef +lp_build_unpack_subsampled_to_rgba_aos(LLVMBuilderRef builder, + const struct util_format_description *format_desc, + unsigned n, + LLVMValueRef packed, + LLVMValueRef i, + LLVMValueRef j); #endif /* !LP_BLD_FORMAT_H */ |