diff options
| author | Ronghua Wu <ronghuawu@google.com> | 2015-06-05 09:54:53 -0700 | 
|---|---|---|
| committer | Ronghua Wu <ronghuawu@google.com> | 2015-06-07 21:41:52 -0700 | 
| commit | a09152c6317e0295773b91f529e63c4d7c107752 (patch) | |
| tree | 560440b692a1b48e0b32476126f4770f26bb1a50 /include | |
| parent | 81c4d806c574271e6e4e49a795bcbe809af4eff0 (diff) | |
| download | frameworks_av-a09152c6317e0295773b91f529e63c4d7c107752.zip frameworks_av-a09152c6317e0295773b91f529e63c4d7c107752.tar.gz frameworks_av-a09152c6317e0295773b91f529e63c4d7c107752.tar.bz2  | |
libstagefright: run codec profiling in worker thread.
Bug: 21645841
Change-Id: Ia15eb3b064b671c569afb0742db7535f6b03232e
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/stagefright/MediaCodecList.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/stagefright/MediaCodecList.h b/include/media/stagefright/MediaCodecList.h index df5e519..3aaa032 100644 --- a/include/media/stagefright/MediaCodecList.h +++ b/include/media/stagefright/MediaCodecList.h @@ -55,7 +55,10 @@ struct MediaCodecList : public BnMediaCodecList {      // to be used by MediaPlayerService alone      static sp<IMediaCodecList> getLocalInstance(); -    // only to be used in getLocalInstance +    // only to be used by getLocalInstance +    static void *profilerThreadWrapper(void * /*arg*/); + +    // only to be used by MediaPlayerService      void parseTopLevelXMLFile(const char *path, bool ignore_errors = false);  private:  | 
