Displaying 1 result from an estimated 1 matches for "nouveau_vpe_mb_dct_blocks_31".
2013 Jul 29
2
[PATCH 1/2] nv30: hook up PMPEG support via nouveau_video, enables XvMC to work
...100644
--- a/src/gallium/drivers/nouveau/nouveau_video.c
+++ b/src/gallium/drivers/nouveau/nouveau_video.c
@@ -101,7 +101,32 @@ nouveau_vpe_fini(struct nouveau_decoder *dec) {
}
static INLINE void
-nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb)
+nouveau_vpe_mb_dct_blocks_31(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb)
+{
+ int cbb;
+ unsigned cbp = mb->coded_block_pattern;
+ short *db = mb->blocks;
+ for (cbb = 0x20; cbb > 0; cbb >>= 1) {
+ if (cbb & cbp) {
+ int i, found = 0;
+ for (i = 0; i <...