diff options
author | Christian König <[email protected]> | 2011-06-05 17:07:17 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-06-05 17:07:17 +0200 |
commit | 7e1fbb360332ecac2789e28a0f3d303306f687b1 (patch) | |
tree | 7b2dcd2fd87040b882a50a00913bd2b503f91676 /src/gallium/auxiliary/vl | |
parent | c6c2ef070957e5a0c0003e1d0a6d6e2fe197fb40 (diff) |
[g3dvl] remove unused and dublicate fields from picture structure
Diffstat (limited to 'src/gallium/auxiliary/vl')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c index e7fbc31ce24..7a14efb627e 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c @@ -1209,7 +1209,7 @@ slice_intra_DCT(struct vl_mpg12_bs *bs, struct pipe_mpeg12_picture_desc * pictur memset(dest, 0, sizeof(int16_t) * 64); dest[0] = dc_dct_pred[cc]; - if (picture->mpeg1) { + if (picture->base.profile == PIPE_VIDEO_PROFILE_MPEG1) { if (picture->picture_coding_type != D_TYPE) get_mpeg1_intra_block(bs, quantizer_scale, dest); } else if (picture->intra_vlc_format) @@ -1236,7 +1236,7 @@ slice_non_intra_DCT(struct vl_mpg12_bs *bs, struct pipe_mpeg12_picture_desc * pi bs->ycbcr_stream[cc]->coding = coding; memset(dest, 0, sizeof(int16_t) * 64); - if (picture->mpeg1) + if (picture->base.profile == PIPE_VIDEO_PROFILE_MPEG1) get_mpeg1_non_intra_block(bs, quantizer_scale, dest); else get_non_intra_block(bs, quantizer_scale, dest); @@ -1654,7 +1654,7 @@ decode_slice(struct vl_mpg12_bs *bs, struct pipe_mpeg12_picture_desc *picture) if (picture->picture_structure == FRAME_PICTURE) switch (macroblock_modes & MOTION_TYPE_MASK) { case MC_FRAME: - if (picture->mpeg1) { + if (picture->base.profile == PIPE_VIDEO_PROFILE_MPEG1) { MOTION_CALL(motion_mp1, macroblock_modes); } else { MOTION_CALL(motion_fr_frame, macroblock_modes); |