Home | History | Annotate | Download | only in media

Lines Matching full:mediaresource

26 class MediaResource {
41 MediaResource();
42 MediaResource(Type type, uint64_t value);
43 MediaResource(Type type, SubType subType, uint64_t value);
50 bool operator==(const MediaResource &other) const;
51 bool operator!=(const MediaResource &other) const;
58 inline static const char *asString(MediaResource::Type i, const char *def = "??") {
60 case MediaResource::kUnspecified: return "unspecified";
61 case MediaResource::kSecureCodec: return "secure-codec";
62 case MediaResource::kNonSecureCodec: return "non-secure-codec";
63 case MediaResource::kGraphicMemory: return "graphic-memory";
68 inline static const char *asString(MediaResource::SubType i, const char *def = "??") {
70 case MediaResource::kUnspecifiedSubType: return "unspecified";
71 case MediaResource::kAudioCodec: return "audio-codec";
72 case MediaResource::kVideoCodec: return "video-codec";