~thopiekar/arm-mali/libvdpau-sunxi

« back to all changes in this revision

Viewing changes to decoder.c

  • Committer: Jens Kuske
  • Date: 2016-02-29 22:01:00 UTC
  • Revision ID: git-v1:cba127cf8457a7e4a2e02832f0b653e85f2c97c7
Add A64 support

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
                break;
72
72
 
73
73
        case VDP_DECODER_PROFILE_HEVC_MAIN:
74
 
                if (cedrus_get_ve_version(dec->device->cedrus) == 0x1680)
 
74
                if (cedrus_get_ve_version(dec->device->cedrus) >= 0x1680)
75
75
                        ret = new_decoder_h265(dec);
76
76
                else
77
77
                        ret = VDP_STATUS_INVALID_DECODER_PROFILE;
204
204
                break;
205
205
        case VDP_DECODER_PROFILE_HEVC_MAIN:
206
206
                *max_level = VDP_DECODER_LEVEL_HEVC_5;
207
 
                if (cedrus_get_ve_version(dev->cedrus) == 0x1680)
 
207
                if (cedrus_get_ve_version(dev->cedrus) >= 0x1680)
208
208
                        *is_supported = VDP_TRUE;
209
209
                else
210
210
                        *is_supported = VDP_FALSE;