8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Desciption
2 | It is a simple Android player with ffmpeg build-in for RTSP.
3 | It still under development. So RTSP still not working for now.
4 | Current complete:
5 | * Single video playback with streamming mp4.
6 | * ffmpeg jni completed.
7 |
8 |
9 | [](https://bitdeli.com/free "Bitdeli Badge")
10 |
11 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 19
5 | buildToolsVersion "26.0.1"
6 |
7 | defaultConfig {
8 | applicationId "com.example.rtspplayer"
9 | minSdkVersion 8
10 | targetSdkVersion 19
11 |
12 | // ndk {
13 | // moduleName "ffmpeg-prebuilt"
14 | // }
15 | ndk {
16 | moduleName = "ffmpeg"
17 | // cppFlags += "-I${file("jni")}".toString()
18 | // cppFlags += "-std=c++11"
19 | // cppFlags += "-fpermissive"
20 | // cppFlags += "-fexceptions"
21 | // cppFlags += "-frtti"
22 | stl = "c++_static"
23 | // ldLibs += ["log", "android"]
24 | }
25 | }
26 |
27 | // android.sources {
28 | // main {
29 | // jni {
30 | // source {
31 | // srcDirs = [file("jni")]
32 | // }
33 | // }
34 | // }
35 | // }
36 |
37 |
38 | buildTypes {
39 | release {
40 | minifyEnabled false
41 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
42 | }
43 | }
44 | }
45 |
46 | dependencies {
47 | compile 'com.android.support:appcompat-v7:19.1.0'
48 | }
49 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/compileDebugAidl/dependency.store:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/compileDebugAndroidTestAidl/dependency.store:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugAndroidTestResources/compile-file-map.properties:
--------------------------------------------------------------------------------
1 | #Sun Sep 03 03:00:22 CST 2017
2 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugAndroidTestResources/merger.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-af/values-af.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigeer tuis"
4 | "Navigeer op"
5 | "Nog opsies"
6 | "Klaar"
7 | "Sien alles"
8 | "Kies \'n program"
9 | "Vee navraag uit"
10 | "Soeknavraag"
11 | "Soek"
12 | "Dien navraag in"
13 | "Stemsoektog"
14 | "Deel met"
15 | "Deel met %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-am/values-am.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "ወደ መነሻ ይዳስሱ"
4 | "ወደ ላይ ይዳስሱ"
5 | "ተጨማሪ አማራጮች"
6 | "ተከናውኗል"
7 | "ሁሉንም ይመልከቱ"
8 | "መተግበሪያ ይምረጡ"
9 | "መጠይቅ አጽዳ"
10 | "የፍለጋ ጥያቄ"
11 | "ፍለጋ"
12 | "መጠይቅ ያስረክቡ"
13 | "የድምፅ ፍለጋ"
14 | "ከሚከተለው ጋር ያጋሩ"
15 | "ከ%s ጋር ያጋሩ"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ar/values-ar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "التنقل إلى الشاشة الرئيسية"
4 | "التنقل إلى أعلى"
5 | "خيارات إضافية"
6 | "تم"
7 | "عرض الكل"
8 | "اختيار تطبيق"
9 | "محو طلب البحث"
10 | "طلب البحث"
11 | "بحث"
12 | "إرسال طلب البحث"
13 | "البحث الصوتي"
14 | "مشاركة مع"
15 | "مشاركة مع %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-bg/values-bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Придвижване към „Начало“"
4 | "Придвижване нагоре"
5 | "Още опции"
6 | "Готово"
7 | "Вижте всички"
8 | "Изберете приложение"
9 | "Изчистване на заявката"
10 | "Заявка за търсене"
11 | "Търсене"
12 | "Изпращане на заявката"
13 | "Гласово търсене"
14 | "Споделяне със:"
15 | "Споделяне със: %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ca/values-ca.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navega a la pàgina d\'inici"
4 | "Navega cap a dalt"
5 | "Més opcions"
6 | "Fet"
7 | "Mostra\'ls tots"
8 | "Selecciona una aplicació"
9 | "Esborra la consulta"
10 | "Consulta de cerca"
11 | "Cerca"
12 | "Envia la consulta"
13 | "Cerca per veu"
14 | "Comparteix amb"
15 | "Comparteix amb %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-cs/values-cs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Přejít na plochu"
4 | "Přejít nahoru"
5 | "Více možností"
6 | "Hotovo"
7 | "Zobrazit vše"
8 | "Vybrat aplikaci"
9 | "Smazat dotaz"
10 | "Vyhledávací dotaz"
11 | "Hledat"
12 | "Odeslat dotaz"
13 | "Hlasové vyhledávání"
14 | "Sdílet pomocí"
15 | "Sdílet pomocí %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-da/values-da.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Naviger hjem"
4 | "Naviger op"
5 | "Flere muligheder"
6 | "Luk"
7 | "Se alle"
8 | "Vælg en app"
9 | "Ryd forespørgslen"
10 | "Søgeforespørgsel"
11 | "Søg"
12 | "Indsend forespørgslen"
13 | "Stemmesøgning"
14 | "Del med"
15 | "Del med %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-de/values-de.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Zur Startseite"
4 | "Nach oben"
5 | "Weitere Optionen"
6 | "Fertig"
7 | "Alle ansehen"
8 | "App auswählen"
9 | "Suchanfrage löschen"
10 | "Suchanfrage"
11 | "Suchen"
12 | "Suchanfrage senden"
13 | "Sprachsuche"
14 | "Freigeben für"
15 | "Freigeben für %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-el/values-el.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Πλοήγηση στην αρχική σελίδα"
4 | "Πλοήγηση προς τα επάνω"
5 | "Περισσότερες επιλογές"
6 | "Τέλος"
7 | "Προβολή όλων"
8 | "Επιλέξτε κάποια εφαρμογή"
9 | "Διαγραφή ερωτήματος"
10 | "Ερώτημα αναζήτησης"
11 | "Αναζήτηση"
12 | "Υποβολή ερωτήματος"
13 | "Φωνητική αναζήτηση"
14 | "Κοινή χρήση με"
15 | "Κοινή χρήση με %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-en-rGB/values-en-rGB.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigate home"
4 | "Navigate up"
5 | "More options"
6 | "Finished"
7 | "See all"
8 | "Choose an app"
9 | "Clear query"
10 | "Search query"
11 | "Search"
12 | "Submit query"
13 | "Voice search"
14 | "Share with"
15 | "Share with %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-en-rIN/values-en-rIN.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigate home"
4 | "Navigate up"
5 | "More options"
6 | "Finished"
7 | "See all"
8 | "Choose an app"
9 | "Clear query"
10 | "Search query"
11 | "Search"
12 | "Submit query"
13 | "Voice search"
14 | "Share with"
15 | "Share with %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-es-rUS/values-es-rUS.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navegar a la página principal"
4 | "Navegar hacia arriba"
5 | "Más opciones"
6 | "Listo"
7 | "Ver todo"
8 | "Elige una aplicación."
9 | "Eliminar la consulta"
10 | "Consulta de búsqueda"
11 | "Búsqueda"
12 | "Enviar consulta"
13 | "Búsqueda por voz"
14 | "Compartir con"
15 | "Compartir con %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-es/values-es.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Ir a la pantalla de inicio"
4 | "Desplazarse hacia arriba"
5 | "Más opciones"
6 | "Listo"
7 | "Ver todo"
8 | "Seleccionar una aplicación"
9 | "Borrar consulta"
10 | "Consulta"
11 | "Buscar"
12 | "Enviar consulta"
13 | "Búsqueda por voz"
14 | "Compartir con"
15 | "Compartir con %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-et-rEE/values-et-rEE.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigeerimine avaekraanile"
4 | "Navigeerimine üles"
5 | "Rohkem valikuid"
6 | "Valmis"
7 | "Kuva kõik"
8 | "Valige rakendus"
9 | "Päringu tühistamine"
10 | "Otsingupäring"
11 | "Otsing"
12 | "Päringu esitamine"
13 | "Häälotsing"
14 | "Jagamine:"
15 | "Jagamine kasutajaga %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fa/values-fa.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "پیمایش به صفحه اصلی"
4 | "پیمایش به بالا"
5 | "گزینههای بیشتر"
6 | "انجام شد"
7 | "مشاهده همه"
8 | "انتخاب برنامه"
9 | "پاک کردن عبارت جستجو"
10 | "عبارت جستجو"
11 | "جستجو"
12 | "ارسال عبارت جستجو"
13 | "جستجوی شفاهی"
14 | "اشتراکگذاری با"
15 | "اشتراکگذاری با %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fi/values-fi.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Siirry etusivulle"
4 | "Siirry ylös"
5 | "Lisää"
6 | "Valmis"
7 | "Näytä kaikki"
8 | "Valitse sovellus"
9 | "Tyhjennä kysely"
10 | "Hakulauseke"
11 | "Haku"
12 | "Lähetä kysely"
13 | "Puhehaku"
14 | "Jakaminen:"
15 | "Jakaminen: %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fr-rCA/values-fr-rCA.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Revenir à l\'accueil"
4 | "Revenir en haut de la page"
5 | "Plus d\'options"
6 | "Terminé"
7 | "Voir toutes les chaînes"
8 | "Sélectionnez une application"
9 | "Effacer la requête"
10 | "Requête de recherche"
11 | "Rechercher"
12 | "Envoyer la requête"
13 | "Recherche vocale"
14 | "Partager avec"
15 | "Partager avec %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fr/values-fr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Revenir à l\'accueil"
4 | "Revenir en haut de la page"
5 | "Plus d\'options"
6 | "OK"
7 | "Tout afficher"
8 | "Sélectionner une application"
9 | "Effacer la requête"
10 | "Requête de recherche"
11 | "Rechercher"
12 | "Envoyer la requête"
13 | "Recherche vocale"
14 | "Partager avec"
15 | "Partager avec %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hi/values-hi.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "मुखपृष्ठ पर नेविगेट करें"
4 | "ऊपर नेविगेट करें"
5 | "अधिक विकल्प"
6 | "पूर्ण"
7 | "सभी देखें"
8 | "कोई एप्लिकेशन चुनें"
9 | "क्वेरी साफ़ करें"
10 | "खोज क्वेरी"
11 | "खोजें"
12 | "क्वेरी सबमिट करें"
13 | "ध्वनि खोज"
14 | "इसके द्वारा साझा करें"
15 | "%s के साथ साझा करें"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hr/values-hr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Idi na početnu"
4 | "Idi gore"
5 | "Dodatne opcije"
6 | "Gotovo"
7 | "Prikaži sve"
8 | "Odabir aplikacije"
9 | "Izbriši upit"
10 | "Upit za pretraživanje"
11 | "Pretraživanje"
12 | "Pošalji upit"
13 | "Glasovno pretraživanje"
14 | "Dijeljenje sa"
15 | "Dijeljenje sa: %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hu/values-hu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Ugrás a főoldalra"
4 | "Felfelé mozgatás"
5 | "További lehetőségek"
6 | "Kész"
7 | "Összes megtekintése"
8 | "Válasszon ki egy alkalmazást"
9 | "Lekérdezés törlése"
10 | "Keresési lekérdezés"
11 | "Keresés"
12 | "Lekérdezés küldése"
13 | "Hangalapú keresés"
14 | "Megosztás a következővel:"
15 | "Megosztás a következővel: %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hy-rAM/values-hy-rAM.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Ուղղվել տուն"
4 | "Ուղղվել վերև"
5 | "Այլ ընտրանքներ"
6 | "Կատարված է"
7 | "Տեսնել բոլորը"
8 | "Ընտրել ծրագիր"
9 | "Մաքրել հարցումը"
10 | "Որոնման հարցում"
11 | "Որոնել"
12 | "Ուղարկել հարցումը"
13 | "Ձայնային որոնում"
14 | "Տարածել"
15 | "Տարածել ըստ %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-in/values-in.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigasi ke beranda"
4 | "Navigasi naik"
5 | "Opsi lain"
6 | "Selesai"
7 | "Lihat semua"
8 | "Pilih aplikasi"
9 | "Hapus kueri"
10 | "Kueri penelusuran"
11 | "Telusuri"
12 | "Kirim kueri"
13 | "Penelusuran suara"
14 | "Bagikan dengan"
15 | "Bagikan dengan %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-it/values-it.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Vai alla home page"
4 | "Vai in alto"
5 | "Altre opzioni"
6 | "Fine"
7 | "Visualizza tutte"
8 | "Scegli un\'applicazione"
9 | "Cancella query"
10 | "Query di ricerca"
11 | "Cerca"
12 | "Invia query"
13 | "Ricerca vocale"
14 | "Condividi con"
15 | "Condividi con %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-iw/values-iw.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "נווט לדף הבית"
4 | "נווט למעלה"
5 | "עוד אפשרויות"
6 | "בוצע"
7 | "ראה הכול"
8 | "בחר אפליקציה"
9 | "מחק שאילתה"
10 | "שאילתת חיפוש"
11 | "חפש"
12 | "שלח שאילתה"
13 | "חיפוש קולי"
14 | "שתף עם"
15 | "שתף עם %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ja/values-ja.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "ホームへ移動"
4 | "上へ移動"
5 | "その他のオプション"
6 | "完了"
7 | "すべて表示"
8 | "アプリの選択"
9 | "検索キーワードを削除"
10 | "検索キーワード"
11 | "検索"
12 | "検索キーワードを送信"
13 | "音声検索"
14 | "共有"
15 | "%sと共有"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ka-rGE/values-ka-rGE.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "მთავარზე ნავიგაცია"
4 | "ზემოთ ნავიგაცია"
5 | "მეტი ვარიანტები"
6 | "დასრულდა"
7 | "ყველას ნახვა"
8 | "აპის არჩევა"
9 | "მოთხოვნის გასუფთავება"
10 | "ძიების მოთხოვნა"
11 | "ძიება"
12 | "მოთხოვნის გადაგზავნა"
13 | "ხმოვანი ძიება"
14 | "გაზიარება:"
15 | "%s-თან გაზიარება"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-km-rKH/values-km-rKH.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "រកមើលទៅដើម"
4 | "រកមើលឡើងលើ"
5 | "ជម្រើសច្រើនទៀត"
6 | "រួចរាល់"
7 | "មើលទាំងអស់"
8 | "ជ្រើសកម្មវិធី"
9 | "សម្អាតសំណួរ"
10 | "ស្វែងរកសំណួរ"
11 | "ស្វែងរក"
12 | "ដាក់ស្នើសំណួរ"
13 | "ការស្វែងរកសំឡេង"
14 | "ចែករំលែកជាមួយ"
15 | "ចែករំលែកជាមួយ %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ko/values-ko.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "홈 탐색"
4 | "위로 탐색"
5 | "옵션 더보기"
6 | "완료"
7 | "전체 보기"
8 | "앱 선택"
9 | "검색어 삭제"
10 | "검색어"
11 | "검색"
12 | "검색어 보내기"
13 | "음성 검색"
14 | "공유 대상"
15 | "%s와(과) 공유"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-land/values-land.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | true
5 | false
6 | 40dip
7 | 4dip
8 | 32dp
9 | 4dip
10 | 12dp
11 | -2dp
12 | 16dp
13 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-large-v14/values-large-v14.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-large-v4/values-large-v4.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | true
5 | false
6 | 440dp
7 | 192dip
8 | 60%
9 | 90%
10 | 60%
11 | 90%
12 | 4
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-lo-rLA/values-lo-rLA.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "ກັບໄປໜ້າຫຼັກ"
4 | "ຂຶ້ນເທິງ"
5 | "ໂຕເລືອກອື່ນ"
6 | "ແລ້ວໆ"
7 | "ເບິ່ງທັງຫມົດ"
8 | "ເລືອກແອັບຯ"
9 | "ລຶບຂໍ້ຄວາມຊອກຫາ"
10 | "ຊອກຫາ"
11 | "ຊອກຫາ"
12 | "ສົ່ງການຊອກຫາ"
13 | "ຊອກຫາດ້ວຍສຽງ"
14 | "ແບ່ງປັນກັບ"
15 | "ແບ່ງປັນກັບ %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-lt/values-lt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Eiti į pagrindinį puslapį"
4 | "Eiti į viršų"
5 | "Daugiau parinkčių"
6 | "Atlikta"
7 | "Peržiūrėti viską"
8 | "Pasirinkti programą"
9 | "Išvalyti užklausą"
10 | "Paieškos užklausa"
11 | "Paieška"
12 | "Pateikti užklausą"
13 | "Paieška balsu"
14 | "Bendrinti naudojant"
15 | "Bendrinti naudojant „%s“"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-lv/values-lv.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Pārvietoties uz sākuma ekrānu"
4 | "Pārvietoties augšup"
5 | "Vairāk opciju"
6 | "Gatavs"
7 | "Skatīt visu"
8 | "Izvēlieties lietotni"
9 | "Notīrīt vaicājumu"
10 | "Meklēšanas vaicājums"
11 | "Meklēt"
12 | "Iesniegt vaicājumu"
13 | "Meklēšana ar balsi"
14 | "Kopīgot ar:"
15 | "Kopīgot ar %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-mn-rMN/values-mn-rMN.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Нүүр хуудас руу шилжих"
4 | "Дээш шилжих"
5 | "Нэмэлт сонголтууд"
6 | "Дууссан"
7 | "Бүгдийг харах"
8 | "Апп сонгох"
9 | "Асуулгыг цэвэрлэх"
10 | "Хайх асуулга"
11 | "Хайх"
12 | "Асуулгыг илгээх"
13 | "Дуут хайлт"
14 | "Хуваалцах"
15 | "%s-тай хуваалцах"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ms-rMY/values-ms-rMY.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigasi skrin utama"
4 | "Navigasi ke atas"
5 | "Lagi pilihan"
6 | "Selesai"
7 | "Lihat semua"
8 | "Pilih apl"
9 | "Kosongkan pertanyaan"
10 | "Pertanyaan carian"
11 | "Cari"
12 | "Serah pertanyaan"
13 | "Carian suara"
14 | "Kongsi dengan"
15 | "Kongsi dengan %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-nb/values-nb.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Gå til startsiden"
4 | "Gå opp"
5 | "Flere alternativer"
6 | "Fullført"
7 | "Se alle"
8 | "Velg en app"
9 | "Slett søket"
10 | "Søkeord"
11 | "Søk"
12 | "Utfør søket"
13 | "Talesøk"
14 | "Del med"
15 | "Del med %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-nl/values-nl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigeren naar startpositie"
4 | "Omhoog navigeren"
5 | "Meer opties"
6 | "Gereed"
7 | "Alles weergeven"
8 | "Een app selecteren"
9 | "Zoekopdracht wissen"
10 | "Zoekopdracht"
11 | "Zoeken"
12 | "Zoekopdracht verzenden"
13 | "Gesproken zoekopdracht"
14 | "Delen met"
15 | "Delen met %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-pl/values-pl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Przejdź do strony głównej"
4 | "Przejdź wyżej"
5 | "Więcej opcji"
6 | "Gotowe"
7 | "Zobacz wszystkie"
8 | "Wybierz aplikację"
9 | "Wyczyść zapytanie"
10 | "Wyszukiwane hasło"
11 | "Szukaj"
12 | "Wyślij zapytanie"
13 | "Wyszukiwanie głosowe"
14 | "Udostępnij dla"
15 | "Udostępnij dla %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-pt-rPT/values-pt-rPT.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navegar para a página inicial"
4 | "Navegar para cima"
5 | "Mais opções"
6 | "Concluído"
7 | "Ver tudo"
8 | "Escolher uma aplicação"
9 | "Limpar consulta"
10 | "Consulta de pesquisa"
11 | "Pesquisar"
12 | "Enviar consulta"
13 | "Pesquisa por voz"
14 | "Partilhar com"
15 | "Partilhar com %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-pt/values-pt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navegar para a página inicial"
4 | "Navegar para cima"
5 | "Mais opções"
6 | "Concluído"
7 | "Ver tudo"
8 | "Selecione um aplicativo"
9 | "Limpar consulta"
10 | "Consulta de pesquisa"
11 | "Pesquisar"
12 | "Enviar consulta"
13 | "Pesquisa por voz"
14 | "Compartilhar com"
15 | "Compartilhar com %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ro/values-ro.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Navigați la ecranul de pornire"
4 | "Navigați în sus"
5 | "Mai multe opțiuni"
6 | "Terminat"
7 | "Afișați-le pe toate"
8 | "Alegeți o aplicaţie"
9 | "Ștergeți interogarea"
10 | "Interogare de căutare"
11 | "Căutați"
12 | "Trimiteți interogarea"
13 | "Căutare vocală"
14 | "Trimiteți la"
15 | "Trimiteți la %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ru/values-ru.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Перейти на главный экран"
4 | "Перейти вверх"
5 | "Другие параметры"
6 | "Готово"
7 | "Показать все"
8 | "Выбрать приложение"
9 | "Удалить запрос"
10 | "Поисковый запрос"
11 | "Поиск"
12 | "Отправить запрос"
13 | "Голосовой поиск"
14 | "Открыть доступ"
15 | "Открыть доступ пользователю %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sk/values-sk.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Prejsť na plochu"
4 | "Prejsť hore"
5 | "Ďalšie možnosti"
6 | "Hotovo"
7 | "Zobraziť všetko"
8 | "Zvoľte aplikáciu"
9 | "Vymazať dopyt"
10 | "Vyhľadávací dopyt"
11 | "Hľadať"
12 | "Odoslať dopyt"
13 | "Hlasové vyhľadávanie"
14 | "Zdieľať pomocou"
15 | "Zdieľať pomocou %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sl/values-sl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Krmarjenje domov"
4 | "Krmarjenje navzgor"
5 | "Več možnosti"
6 | "Končano"
7 | "Pokaži vse"
8 | "Izbira aplikacije"
9 | "Izbris poizvedbe"
10 | "Iskalna poizvedba"
11 | "Iskanje"
12 | "Pošiljanje poizvedbe"
13 | "Glasovno iskanje"
14 | "Deljenje z"
15 | "Deljenje z:"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sr/values-sr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Одлазак на Почетну"
4 | "Кретање нагоре"
5 | "Још опција"
6 | "Готово"
7 | "Прикажи све"
8 | "Избор апликације"
9 | "Брисање упита"
10 | "Упит за претрагу"
11 | "Претрага"
12 | "Слање упита"
13 | "Гласовна претрага"
14 | "Дели са"
15 | "Дели са апликацијом %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sv/values-sv.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Visa startsidan"
4 | "Navigera uppåt"
5 | "Fler alternativ"
6 | "Klart"
7 | "Visa alla"
8 | "Välj en app"
9 | "Ta bort frågan"
10 | "Sökfråga"
11 | "Sök"
12 | "Skicka fråga"
13 | "Röstsökning"
14 | "Dela med"
15 | "Dela med %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sw/values-sw.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Nenda mwanzo"
4 | "Nenda juu"
5 | "Chaguo zaidi"
6 | "Nimemaliza"
7 | "Angalia zote"
8 | "Chagua programu"
9 | "Futa hoja"
10 | "Hoja ya utafutaji"
11 | "Tafuta"
12 | "Wasilisha hoja"
13 | "Tafuta kwa kutamka"
14 | "Shiriki na:"
15 | "Shiriki na %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sw600dp-v13/values-sw600dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 56dip
4 | 4dip
5 | 9dip
6 | 14dp
7 | -3dp
8 | 18dp
9 | 580dp
10 | 5
11 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-th/values-th.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "นำทางไปหน้าแรก"
4 | "นำทางขึ้น"
5 | "ตัวเลือกอื่น"
6 | "เสร็จสิ้น"
7 | "ดูทั้งหมด"
8 | "เลือกแอป"
9 | "ล้างข้อความค้นหา"
10 | "ข้อความค้นหา"
11 | "ค้นหา"
12 | "ส่งข้อความค้นหา"
13 | "ค้นหาด้วยเสียง"
14 | "แชร์กับ"
15 | "แชร์กับ %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-tl/values-tl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Mag-navigate patungo sa home"
4 | "Mag-navigate pataas"
5 | "Higit pang mga opsyon"
6 | "Tapos na"
7 | "Tingnan lahat"
8 | "Pumili ng isang app"
9 | "I-clear ang query"
10 | "Query sa paghahanap"
11 | "Maghanap"
12 | "Isumite ang query"
13 | "Paghahanap gamit ang boses"
14 | "Ibahagi sa/kay"
15 | "Ibahagi sa/kay %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-tr/values-tr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Ana ekrana git"
4 | "Yukarı git"
5 | "Diğer seçenekler"
6 | "Tamamlandı"
7 | "Tümünü göster"
8 | "Bir uygulama seçin"
9 | "Sorguyu temizle"
10 | "Arama sorgusu"
11 | "Ara"
12 | "Sorguyu gönder"
13 | "Sesli arama"
14 | "Şununla paylaş"
15 | "%s ile paylaş"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-uk/values-uk.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Перейти на головний"
4 | "Перейти вгору"
5 | "Інші опції"
6 | "Готово"
7 | "Переглянути всі"
8 | "Вибрати програму"
9 | "Очистити запит"
10 | "Пошуковий запит"
11 | "Пошук"
12 | "Надіслати запит"
13 | "Голосовий пошук"
14 | "Надіслати через"
15 | "Надіслати через %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-vi/values-vi.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Điều hướng về trang chủ"
4 | "Điều hướng lên trên"
5 | "Thêm tùy chọn"
6 | "Xong"
7 | "Xem tất cả"
8 | "Chọn một ứng dụng"
9 | "Xóa truy vấn"
10 | "Tìm kiếm truy vấn"
11 | "Tìm kiếm"
12 | "Gửi truy vấn"
13 | "Tìm kiếm bằng giọng nói"
14 | "Chia sẻ với"
15 | "Chia sẻ với %s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-w360dp-v13/values-w360dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 3
4 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-w480dp-v13/values-w480dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | true
5 | false
6 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-w500dp-v13/values-w500dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4
4 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-w600dp-v13/values-w600dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 56dip
4 | 4dip
5 | 9dip
6 | 14dp
7 | -3dp
8 | 18dp
9 | 64dip
10 | 192dip
11 | 5
12 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-w720dp-v13/values-w720dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | false
4 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-w820dp-v13/values-w820dp-v13.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 64dp
4 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-xlarge-v4/values-xlarge-v4.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | false
4 | 56dip
5 | 4dip
6 | 9dip
7 | 14dp
8 | -3dp
9 | 18dp
10 | 64dip
11 | 192dip
12 | 60%
13 | 90%
14 | 50%
15 | 70%
16 | 5
17 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-zh-rCN/values-zh-rCN.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "转到主屏幕"
4 | "转到上一层级"
5 | "更多选项"
6 | "完成"
7 | "查看全部"
8 | "选择应用"
9 | "清除查询"
10 | "搜索查询"
11 | "搜索"
12 | "提交查询"
13 | "语音搜索"
14 | "分享方式"
15 | "通过%s分享"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-zh-rHK/values-zh-rHK.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "瀏覽主頁"
4 | "向上瀏覽"
5 | "更多選項"
6 | "完成"
7 | "顯示全部"
8 | "選擇應用程式"
9 | "清除查詢"
10 | "搜尋查詢"
11 | "搜尋"
12 | "提交查詢"
13 | "語音搜尋"
14 | "分享對象"
15 | "與「%s」分享"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-zh-rTW/values-zh-rTW.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "瀏覽首頁"
4 | "向上瀏覽"
5 | "更多選項"
6 | "完成"
7 | "查看全部"
8 | "選擇應用程式"
9 | "清除查詢"
10 | "搜尋查詢"
11 | "搜尋"
12 | "提交查詢"
13 | "語音搜尋"
14 | "選擇分享對象"
15 | "與「%s」分享"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-zu/values-zu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | "Zulazulela ekhaya"
4 | "Zulazulela phezulu"
5 | "Izinketho eziningi"
6 | "Kwenziwe"
7 | "Buka konke"
8 | "Khetha uhlelo lokusebenza"
9 | "Sula inkinga"
10 | "Umbuzo wosesho"
11 | "Sesha"
12 | "Hambisa umbuzo"
13 | "Ukusesha ngezwi"
14 | "Yabelana no-"
15 | "Yabelana no-%s"
16 |
--------------------------------------------------------------------------------
/app/build/intermediates/res/resources-debug-androidTest.ap_:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/build/intermediates/res/resources-debug-androidTest.ap_
--------------------------------------------------------------------------------
/app/build/intermediates/res/resources-debug.ap_:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/build/intermediates/res/resources-debug.ap_
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/jni/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 |
4 | include $(CLEAR_VARS)
5 | LOCAL_MODULE := ffmpeg-prebuilt
6 | LOCAL_SRC_FILES := ffmpeg/armv7/libffmpeg.so
7 | LOCAL_EXPORT_C_INCLUDES := ffmpeg/armv7/include
8 | LOCAL_EXPORT_LDLIBS := ffmpeg/armv7/libffmpeg.so
9 | LOCAL_PRELINK_MODULE := true
10 | include $(PREBUILT_SHARED_LIBRARY)
11 |
12 |
13 | include $(CLEAR_VARS)
14 | LOCAL_MODULE := ffmpeg-jni
15 | LOCAL_SRC_FILES := ffmpeg-jni.c
16 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/ffmpeg/armv7/include
17 | LOCAL_LDLIBS := -lm -llog $(LOCAL_PATH)/ffmpeg/armv7/libffmpeg.so
18 | #LOCAL_SHARED_LIBRARY := ffmpeg-prebuilt
19 | include $(BUILD_SHARED_LIBRARY)
20 | #include $(BUILD_EXECUTABLE)
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg-jni.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 |
6 | #include "libavformat/avformat.h"
7 |
8 |
9 | #define LOG_TAG "FFmpegJNI"
10 | #define LOGI(...) {__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__);}
11 | #define LOGE(...) {__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__);}
12 |
13 |
14 | jstring Java_com_example_rtspplayer_MainActivity_stringFromJNI( JNIEnv* env, jobject thiz )
15 | {
16 | return (*env)->NewStringUTF(env, "Hello from My JNI work !");
17 | }
18 |
19 | void Java_com_example_rtspplayer_MainActivity_getVersions(JNIEnv *env, jclass jc, jobject jvers)
20 | {
21 | int *vers = (*env)->GetDirectBufferAddress(env, jvers);
22 | vers[0] = LIBAVFORMAT_VERSION_MAJOR;
23 | vers[1] = LIBAVCODEC_VERSION_MAJOR;
24 | vers[2] = LIBAVUTIL_VERSION_MAJOR;
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/config.fate:
--------------------------------------------------------------------------------
1 | config:arm::generic:linux:gcc 4.6 (GCC) 20120106 (prerelease):--target-os=linux --arch=arm --enable-cross-compile --cross-prefix=arm-linux-androideabi- --enable-shared --disable-symver --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-encoders --disable-muxers --disable-filters --disable-devices --disable-everything --enable-protocols --enable-parsers --enable-demuxers --enable-decoders --enable-bsfs --enable-network --enable-swscale --disable-demuxer=sbg --disable-demuxer=dts --disable-parser=dca --disable-decoder=dca --enable-asm --enable-version3 --prefix=/Users/Evan/Applications/android-ndk-r9d/samples/hello-jni/jni/build/ffmpeg/neon --prefix=/Users/Evan/Applications/android-ndk-r9d/samples/hello-jni/jni/build/ffmpeg/armv7 --extra-cflags='-O3 -Wall -mthumb -pipe -fpic -fasm -finline-limit=300 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -fmodulo-sched -fmodulo-sched-allow-regmoves -Wno-psabi -Wa,--noexecstack -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ -DANDROID -DNDEBUG -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp' --extra-ldflags='-Wl,--fix-cortex-a8'
2 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavcodec/dxva2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DXVA2 HW acceleration
3 | *
4 | * copyright (c) 2009 Laurent Aimar
5 | *
6 | * This file is part of FFmpeg.
7 | *
8 | * FFmpeg is free software; you can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public
10 | * License as published by the Free Software Foundation; either
11 | * version 2.1 of the License, or (at your option) any later version.
12 | *
13 | * FFmpeg is distributed in the hope that it will be useful,
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 | * Lesser General Public License for more details.
17 | *
18 | * You should have received a copy of the GNU Lesser General Public
19 | * License along with FFmpeg; if not, write to the Free Software
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 | */
22 |
23 | #ifndef AVCODEC_DXVA_H
24 | #define AVCODEC_DXVA_H
25 |
26 | /**
27 | * @file
28 | * @ingroup lavc_codec_hwaccel_dxva2
29 | * Public libavcodec DXVA2 header.
30 | */
31 |
32 | #include
33 |
34 | #include
35 | #include
36 |
37 | /**
38 | * @defgroup lavc_codec_hwaccel_dxva2 DXVA2
39 | * @ingroup lavc_codec_hwaccel
40 | *
41 | * @{
42 | */
43 |
44 | #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards
45 |
46 | /**
47 | * This structure is used to provides the necessary configurations and data
48 | * to the DXVA2 FFmpeg HWAccel implementation.
49 | *
50 | * The application must make it available as AVCodecContext.hwaccel_context.
51 | */
52 | struct dxva_context {
53 | /**
54 | * DXVA2 decoder object
55 | */
56 | IDirectXVideoDecoder *decoder;
57 |
58 | /**
59 | * DXVA2 configuration used to create the decoder
60 | */
61 | const DXVA2_ConfigPictureDecode *cfg;
62 |
63 | /**
64 | * The number of surface in the surface array
65 | */
66 | unsigned surface_count;
67 |
68 | /**
69 | * The array of Direct3D surfaces used to create the decoder
70 | */
71 | LPDIRECT3DSURFACE9 *surface;
72 |
73 | /**
74 | * A bit field configuring the workarounds needed for using the decoder
75 | */
76 | uint64_t workaround;
77 |
78 | /**
79 | * Private to the FFmpeg AVHWAccel implementation
80 | */
81 | unsigned report_id;
82 | };
83 |
84 | /**
85 | * @}
86 | */
87 |
88 | #endif /* AVCODEC_DXVA_H */
89 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/adler32.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2006 Mans Rullgard
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_ADLER32_H
22 | #define AVUTIL_ADLER32_H
23 |
24 | #include
25 | #include "attributes.h"
26 |
27 | /**
28 | * @ingroup lavu_crypto
29 | * Calculate the Adler32 checksum of a buffer.
30 | *
31 | * Passing the return value to a subsequent av_adler32_update() call
32 | * allows the checksum of multiple buffers to be calculated as though
33 | * they were concatenated.
34 | *
35 | * @param adler initial checksum value
36 | * @param buf pointer to input buffer
37 | * @param len size of input buffer
38 | * @return updated checksum
39 | */
40 | unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
41 | unsigned int len) av_pure;
42 |
43 | #endif /* AVUTIL_ADLER32_H */
44 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/aes.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2007 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_AES_H
22 | #define AVUTIL_AES_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_aes AES
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 | extern const int av_aes_size;
33 |
34 | struct AVAES;
35 |
36 | /**
37 | * Initialize an AVAES context.
38 | * @param key_bits 128, 192 or 256
39 | * @param decrypt 0 for encryption, 1 for decryption
40 | */
41 | int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
42 |
43 | /**
44 | * Encrypt or decrypt a buffer using a previously initialized context.
45 | * @param count number of 16 byte blocks
46 | * @param dst destination array, can be equal to src
47 | * @param src source array, can be equal to dst
48 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used
49 | * @param decrypt 0 for encryption, 1 for decryption
50 | */
51 | void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt);
52 |
53 | /**
54 | * @}
55 | */
56 |
57 | #endif /* AVUTIL_AES_H */
58 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/avassert.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2010 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | /**
22 | * @file
23 | * simple assert() macros that are a bit more flexible than ISO C assert().
24 | * @author Michael Niedermayer
25 | */
26 |
27 | #ifndef AVUTIL_AVASSERT_H
28 | #define AVUTIL_AVASSERT_H
29 |
30 | #include
31 | #include "avutil.h"
32 | #include "log.h"
33 |
34 | /**
35 | * assert() equivalent, that is always enabled.
36 | */
37 | #define av_assert0(cond) do { \
38 | if (!(cond)) { \
39 | av_log(NULL, AV_LOG_FATAL, "Assertion %s failed at %s:%d\n", \
40 | AV_STRINGIFY(cond), __FILE__, __LINE__); \
41 | abort(); \
42 | } \
43 | } while (0)
44 |
45 |
46 | /**
47 | * assert() equivalent, that does not lie in speed critical code.
48 | * These asserts() thus can be enabled without fearing speedloss.
49 | */
50 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0
51 | #define av_assert1(cond) av_assert0(cond)
52 | #else
53 | #define av_assert1(cond) ((void)0)
54 | #endif
55 |
56 |
57 | /**
58 | * assert() equivalent, that does lie in speed critical code.
59 | */
60 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1
61 | #define av_assert2(cond) av_assert0(cond)
62 | #else
63 | #define av_assert2(cond) ((void)0)
64 | #endif
65 |
66 | #endif /* AVUTIL_AVASSERT_H */
67 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/avconfig.h:
--------------------------------------------------------------------------------
1 | /* Generated by ffconf */
2 | #ifndef AVUTIL_AVCONFIG_H
3 | #define AVUTIL_AVCONFIG_H
4 | #define AV_HAVE_BIGENDIAN 0
5 | #define AV_HAVE_FAST_UNALIGNED 1
6 | #endif /* AVUTIL_AVCONFIG_H */
7 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/base64.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com)
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_BASE64_H
22 | #define AVUTIL_BASE64_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_base64 Base64
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 |
33 | /**
34 | * Decode a base64-encoded string.
35 | *
36 | * @param out buffer for decoded data
37 | * @param in null-terminated input string
38 | * @param out_size size in bytes of the out buffer, must be at
39 | * least 3/4 of the length of in
40 | * @return number of bytes written, or a negative value in case of
41 | * invalid input
42 | */
43 | int av_base64_decode(uint8_t *out, const char *in, int out_size);
44 |
45 | /**
46 | * Encode data to base64 and null-terminate.
47 | *
48 | * @param out buffer for encoded data
49 | * @param out_size size in bytes of the output buffer, must be at
50 | * least AV_BASE64_SIZE(in_size)
51 | * @param in_size size in bytes of the 'in' buffer
52 | * @return 'out' or NULL in case of error
53 | */
54 | char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
55 |
56 | /**
57 | * Calculate the output size needed to base64-encode x bytes.
58 | */
59 | #define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1)
60 |
61 | /**
62 | * @}
63 | */
64 |
65 | #endif /* AVUTIL_BASE64_H */
66 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/blowfish.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Blowfish algorithm
3 | * Copyright (c) 2012 Samuel Pitoiset
4 | *
5 | * This file is part of FFmpeg.
6 | *
7 | * FFmpeg is free software; you can redistribute it and/or
8 | * modify it under the terms of the GNU Lesser General Public
9 | * License as published by the Free Software Foundation; either
10 | * version 2.1 of the License, or (at your option) any later version.
11 | *
12 | * FFmpeg is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with FFmpeg; if not, write to the Free Software
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 | */
21 |
22 | #ifndef AVUTIL_BLOWFISH_H
23 | #define AVUTIL_BLOWFISH_H
24 |
25 | #include
26 |
27 | /**
28 | * @defgroup lavu_blowfish Blowfish
29 | * @ingroup lavu_crypto
30 | * @{
31 | */
32 |
33 | #define AV_BF_ROUNDS 16
34 |
35 | typedef struct AVBlowfish {
36 | uint32_t p[AV_BF_ROUNDS + 2];
37 | uint32_t s[4][256];
38 | } AVBlowfish;
39 |
40 | /**
41 | * Initialize an AVBlowfish context.
42 | *
43 | * @param ctx an AVBlowfish context
44 | * @param key a key
45 | * @param key_len length of the key
46 | */
47 | void av_blowfish_init(struct AVBlowfish *ctx, const uint8_t *key, int key_len);
48 |
49 | /**
50 | * Encrypt or decrypt a buffer using a previously initialized context.
51 | *
52 | * @param ctx an AVBlowfish context
53 | * @param xl left four bytes halves of input to be encrypted
54 | * @param xr right four bytes halves of input to be encrypted
55 | * @param decrypt 0 for encryption, 1 for decryption
56 | */
57 | void av_blowfish_crypt_ecb(struct AVBlowfish *ctx, uint32_t *xl, uint32_t *xr,
58 | int decrypt);
59 |
60 | /**
61 | * Encrypt or decrypt a buffer using a previously initialized context.
62 | *
63 | * @param ctx an AVBlowfish context
64 | * @param dst destination array, can be equal to src
65 | * @param src source array, can be equal to dst
66 | * @param count number of 8 byte blocks
67 | * @param iv initialization vector for CBC mode, if NULL ECB will be used
68 | * @param decrypt 0 for encryption, 1 for decryption
69 | */
70 | void av_blowfish_crypt(struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src,
71 | int count, uint8_t *iv, int decrypt);
72 |
73 | /**
74 | * @}
75 | */
76 |
77 | #endif /* AVUTIL_BLOWFISH_H */
78 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/crc.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2006 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_CRC_H
22 | #define AVUTIL_CRC_H
23 |
24 | #include
25 | #include
26 | #include "attributes.h"
27 |
28 | typedef uint32_t AVCRC;
29 |
30 | typedef enum {
31 | AV_CRC_8_ATM,
32 | AV_CRC_16_ANSI,
33 | AV_CRC_16_CCITT,
34 | AV_CRC_32_IEEE,
35 | AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */
36 | AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil. */
37 | }AVCRCId;
38 |
39 | int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
40 | const AVCRC *av_crc_get_table(AVCRCId crc_id);
41 | uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure;
42 |
43 | #endif /* AVUTIL_CRC_H */
44 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/file.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is part of FFmpeg.
3 | *
4 | * FFmpeg is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Lesser General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2.1 of the License, or (at your option) any later version.
8 | *
9 | * FFmpeg is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Lesser General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Lesser General Public
15 | * License along with FFmpeg; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | #ifndef AVUTIL_FILE_H
20 | #define AVUTIL_FILE_H
21 |
22 | #include "avutil.h"
23 |
24 | /**
25 | * @file
26 | * Misc file utilities.
27 | */
28 |
29 | /**
30 | * Read the file with name filename, and put its content in a newly
31 | * allocated buffer or map it with mmap() when available.
32 | * In case of success set *bufptr to the read or mmapped buffer, and
33 | * *size to the size in bytes of the buffer in *bufptr.
34 | * The returned buffer must be released with av_file_unmap().
35 | *
36 | * @param log_offset loglevel offset used for logging
37 | * @param log_ctx context used for logging
38 | * @return a non negative number in case of success, a negative value
39 | * corresponding to an AVERROR error code in case of failure
40 | */
41 | int av_file_map(const char *filename, uint8_t **bufptr, size_t *size,
42 | int log_offset, void *log_ctx);
43 |
44 | /**
45 | * Unmap or free the buffer bufptr created by av_file_map().
46 | *
47 | * @param size size in bytes of bufptr, must be the same as returned
48 | * by av_file_map()
49 | */
50 | void av_file_unmap(uint8_t *bufptr, size_t size);
51 |
52 | /**
53 | * Wrapper to work around the lack of mkstemp() on mingw.
54 | * Also, tries to create file in /tmp first, if possible.
55 | * *prefix can be a character constant; *filename will be allocated internally.
56 | * @return file descriptor of opened file (or -1 on error)
57 | * and opened file name in **filename.
58 | */
59 | int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx);
60 |
61 | #endif /* AVUTIL_FILE_H */
62 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/intfloat.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 Mans Rullgard
3 | *
4 | * This file is part of Libav.
5 | *
6 | * Libav is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * Libav is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with Libav; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_INTFLOAT_H
22 | #define AVUTIL_INTFLOAT_H
23 |
24 | #include
25 | #include "attributes.h"
26 |
27 | union av_intfloat32 {
28 | uint32_t i;
29 | float f;
30 | };
31 |
32 | union av_intfloat64 {
33 | uint64_t i;
34 | double f;
35 | };
36 |
37 | /**
38 | * Reinterpret a 32-bit integer as a float.
39 | */
40 | static av_always_inline float av_int2float(uint32_t i)
41 | {
42 | union av_intfloat32 v;
43 | v.i = i;
44 | return v.f;
45 | }
46 |
47 | /**
48 | * Reinterpret a float as a 32-bit integer.
49 | */
50 | static av_always_inline uint32_t av_float2int(float f)
51 | {
52 | union av_intfloat32 v;
53 | v.f = f;
54 | return v.i;
55 | }
56 |
57 | /**
58 | * Reinterpret a 64-bit integer as a double.
59 | */
60 | static av_always_inline double av_int2double(uint64_t i)
61 | {
62 | union av_intfloat64 v;
63 | v.i = i;
64 | return v.f;
65 | }
66 |
67 | /**
68 | * Reinterpret a double as a 64-bit integer.
69 | */
70 | static av_always_inline uint64_t av_double2int(double f)
71 | {
72 | union av_intfloat64 v;
73 | v.f = f;
74 | return v.i;
75 | }
76 |
77 | #endif /* AVUTIL_INTFLOAT_H */
78 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/intfloat_readwrite.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2005 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_INTFLOAT_READWRITE_H
22 | #define AVUTIL_INTFLOAT_READWRITE_H
23 |
24 | #include
25 | #include "attributes.h"
26 |
27 | /* IEEE 80 bits extended float */
28 | typedef struct AVExtFloat {
29 | uint8_t exponent[2];
30 | uint8_t mantissa[8];
31 | } AVExtFloat;
32 |
33 | attribute_deprecated double av_int2dbl(int64_t v) av_const;
34 | attribute_deprecated float av_int2flt(int32_t v) av_const;
35 | attribute_deprecated double av_ext2dbl(const AVExtFloat ext) av_const;
36 | attribute_deprecated int64_t av_dbl2int(double d) av_const;
37 | attribute_deprecated int32_t av_flt2int(float d) av_const;
38 | attribute_deprecated AVExtFloat av_dbl2ext(double d) av_const;
39 |
40 | #endif /* AVUTIL_INTFLOAT_READWRITE_H */
41 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/lfg.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Lagged Fibonacci PRNG
3 | * Copyright (c) 2008 Michael Niedermayer
4 | *
5 | * This file is part of FFmpeg.
6 | *
7 | * FFmpeg is free software; you can redistribute it and/or
8 | * modify it under the terms of the GNU Lesser General Public
9 | * License as published by the Free Software Foundation; either
10 | * version 2.1 of the License, or (at your option) any later version.
11 | *
12 | * FFmpeg is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with FFmpeg; if not, write to the Free Software
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 | */
21 |
22 | #ifndef AVUTIL_LFG_H
23 | #define AVUTIL_LFG_H
24 |
25 | typedef struct {
26 | unsigned int state[64];
27 | int index;
28 | } AVLFG;
29 |
30 | void av_lfg_init(AVLFG *c, unsigned int seed);
31 |
32 | /**
33 | * Get the next random unsigned 32-bit number using an ALFG.
34 | *
35 | * Please also consider a simple LCG like state= state*1664525+1013904223,
36 | * it may be good enough and faster for your specific use case.
37 | */
38 | static inline unsigned int av_lfg_get(AVLFG *c){
39 | c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63];
40 | return c->state[c->index++ & 63];
41 | }
42 |
43 | /**
44 | * Get the next random unsigned 32-bit number using a MLFG.
45 | *
46 | * Please also consider av_lfg_get() above, it is faster.
47 | */
48 | static inline unsigned int av_mlfg_get(AVLFG *c){
49 | unsigned int a= c->state[(c->index-55) & 63];
50 | unsigned int b= c->state[(c->index-24) & 63];
51 | return c->state[c->index++ & 63] = 2*a*b+a+b;
52 | }
53 |
54 | /**
55 | * Get the next two numbers generated by a Box-Muller Gaussian
56 | * generator using the random numbers issued by lfg.
57 | *
58 | * @param out array where the two generated numbers are placed
59 | */
60 | void av_bmg_get(AVLFG *lfg, double out[2]);
61 |
62 | #endif /* AVUTIL_LFG_H */
63 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/md5.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2006 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_MD5_H
22 | #define AVUTIL_MD5_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_md5 MD5
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 | extern const int av_md5_size;
33 |
34 | struct AVMD5;
35 |
36 | void av_md5_init(struct AVMD5 *ctx);
37 | void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len);
38 | void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
39 | void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
40 |
41 | /**
42 | * @}
43 | */
44 |
45 | #endif /* AVUTIL_MD5_H */
46 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/random_seed.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2009 Baptiste Coudurier
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_RANDOM_SEED_H
22 | #define AVUTIL_RANDOM_SEED_H
23 |
24 | #include
25 | /**
26 | * @addtogroup lavu_crypto
27 | * @{
28 | */
29 |
30 | /**
31 | * Get a seed to use in conjunction with random functions.
32 | * This function tries to provide a good seed at a best effort bases.
33 | * Its possible to call this function multiple times if more bits are needed.
34 | * It can be quite slow, which is why it should only be used as seed for a faster
35 | * PRNG. The quality of the seed depends on the platform.
36 | */
37 | uint32_t av_get_random_seed(void);
38 |
39 | /**
40 | * @}
41 | */
42 |
43 | #endif /* AVUTIL_RANDOM_SEED_H */
44 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/sha.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2007 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_SHA_H
22 | #define AVUTIL_SHA_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_sha SHA
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 | extern const int av_sha_size;
33 |
34 | struct AVSHA;
35 |
36 | /**
37 | * Initialize SHA-1 or SHA-2 hashing.
38 | *
39 | * @param context pointer to the function context (of size av_sha_size)
40 | * @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits)
41 | * @return zero if initialization succeeded, -1 otherwise
42 | */
43 | int av_sha_init(struct AVSHA* context, int bits);
44 |
45 | /**
46 | * Update hash value.
47 | *
48 | * @param context hash function context
49 | * @param data input data to update hash with
50 | * @param len input data length
51 | */
52 | void av_sha_update(struct AVSHA* context, const uint8_t* data, unsigned int len);
53 |
54 | /**
55 | * Finish hashing and output digest value.
56 | *
57 | * @param context hash function context
58 | * @param digest buffer where output digest value is stored
59 | */
60 | void av_sha_final(struct AVSHA* context, uint8_t *digest);
61 |
62 | /**
63 | * @}
64 | */
65 |
66 | #endif /* AVUTIL_SHA_H */
67 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2000-2003 Fabrice Bellard
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_TIME_H
22 | #define AVUTIL_TIME_H
23 |
24 | #include
25 |
26 | /**
27 | * Get the current time in microseconds.
28 | */
29 | int64_t av_gettime(void);
30 |
31 | /**
32 | * Sleep for a period of time. Although the duration is expressed in
33 | * microseconds, the actual delay may be rounded to the precision of the
34 | * system timer.
35 | *
36 | * @param usec Number of microseconds to sleep.
37 | * @return zero on success or (negative) error code.
38 | */
39 | int av_usleep(unsigned usec);
40 |
41 | #endif /* AVUTIL_TIME_H */
42 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libavutil/xtea.h:
--------------------------------------------------------------------------------
1 | /*
2 | * A 32-bit implementation of the XTEA algorithm
3 | * Copyright (c) 2012 Samuel Pitoiset
4 | *
5 | * This file is part of FFmpeg.
6 | *
7 | * FFmpeg is free software; you can redistribute it and/or
8 | * modify it under the terms of the GNU Lesser General Public
9 | * License as published by the Free Software Foundation; either
10 | * version 2.1 of the License, or (at your option) any later version.
11 | *
12 | * FFmpeg is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with FFmpeg; if not, write to the Free Software
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 | */
21 |
22 | #ifndef AVUTIL_XTEA_H
23 | #define AVUTIL_XTEA_H
24 |
25 | #include
26 |
27 | /**
28 | * @defgroup lavu_xtea XTEA
29 | * @ingroup lavu_crypto
30 | * @{
31 | */
32 |
33 | typedef struct AVXTEA {
34 | uint32_t key[16];
35 | } AVXTEA;
36 |
37 | /**
38 | * Initialize an AVXTEA context.
39 | *
40 | * @param x an AVXTEA context
41 | * @param key a key of 16 bytes used for encryption/decryption
42 | */
43 | void av_xtea_init(struct AVXTEA *ctx, const uint8_t key[16]);
44 |
45 | /**
46 | * Encrypt or decrypt a buffer using a previously initialized context.
47 | *
48 | * @param x an AVXTEA context
49 | * @param dst destination array, can be equal to src
50 | * @param src source array, can be equal to dst
51 | * @param count number of 8 byte blocks
52 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used
53 | * @param decrypt 0 for encryption, 1 for decryption
54 | */
55 | void av_xtea_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src,
56 | int count, uint8_t *iv, int decrypt);
57 |
58 | /**
59 | * @}
60 | */
61 |
62 | #endif /* AVUTIL_XTEA_H */
63 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/include/libswscale/version.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is part of FFmpeg.
3 | *
4 | * FFmpeg is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Lesser General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2.1 of the License, or (at your option) any later version.
8 | *
9 | * FFmpeg is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Lesser General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Lesser General Public
15 | * License along with FFmpeg; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | #ifndef SWSCALE_VERSION_H
20 | #define SWSCALE_VERSION_H
21 |
22 | /**
23 | * @file
24 | * swscale version macros
25 | */
26 |
27 | #include "libavutil/avutil.h"
28 |
29 | #define LIBSWSCALE_VERSION_MAJOR 2
30 | #define LIBSWSCALE_VERSION_MINOR 1
31 | #define LIBSWSCALE_VERSION_MICRO 100
32 |
33 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
34 | LIBSWSCALE_VERSION_MINOR, \
35 | LIBSWSCALE_VERSION_MICRO)
36 | #define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \
37 | LIBSWSCALE_VERSION_MINOR, \
38 | LIBSWSCALE_VERSION_MICRO)
39 | #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT
40 |
41 | #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)
42 |
43 | /**
44 | * FF_API_* defines may be placed below to indicate public API that will be
45 | * dropped at a future version bump. The defines themselves are not part of
46 | * the public API and may change, break or disappear at any time.
47 | */
48 |
49 | #ifndef FF_API_SWS_GETCONTEXT
50 | #define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 3)
51 | #endif
52 | #ifndef FF_API_SWS_CPU_CAPS
53 | #define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 3)
54 | #endif
55 | #ifndef FF_API_SWS_FORMAT_NAME
56 | #define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 3)
57 | #endif
58 |
59 | #endif /* SWSCALE_VERSION_H */
60 |
--------------------------------------------------------------------------------
/app/src/main/jni/ffmpeg/armv7/libffmpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/jni/ffmpeg/armv7/libffmpeg.so
--------------------------------------------------------------------------------
/app/src/main/jniLibs/armeabi/libffmpeg-jni.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/jniLibs/armeabi/libffmpeg-jni.so
--------------------------------------------------------------------------------
/app/src/main/jniLibs/armeabi/libffmpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/jniLibs/armeabi/libffmpeg.so
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_main.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
18 |
19 |
25 |
26 |
33 |
34 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v14/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 | 64dp
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | RTSPPlayer
5 | Hello world!
6 | Settings
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/bin/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | buildscript {
3 | repositories {
4 | jcenter()
5 | }
6 | dependencies {
7 | classpath 'com.android.tools.build:gradle:2.3.3'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-42-43-136.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-42-43-136.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-42-50-836.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-42-50-836.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-43-16-748.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-43-16-748.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-45-30-653.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-45-30-653.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-49-41-787.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-49-41-787.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-50-31-871.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-50-31-871.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-50-50-092.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-50-50-092.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-52-23-484.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-52-23-484.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-53-01-362.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-53-01-362.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-54-21-772.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-21-772.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-54-22-918.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-22-918.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-54-24-238.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-24-238.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-54-53-751.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-53-751.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-55-45-566.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-55-45-566.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-56-03-116.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-03-116.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-56-04-571.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-04-571.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-56-14-287.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-14-287.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-56-14-996.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-14-996.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-56-35-416.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-35-416.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-59-39-822.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-59-39-822.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-02-59-45-021.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-59-45-021.rawproto
--------------------------------------------------------------------------------
/build/android-profile/profile-2017-09-03-03-00-21-806.rawproto:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-03-00-21-806.rawproto
--------------------------------------------------------------------------------
/build/generated/mockable-android-19.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/generated/mockable-android-19.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Sep 03 02:42:36 CST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/ic_launcher-web.png
--------------------------------------------------------------------------------
/import-summary.txt:
--------------------------------------------------------------------------------
1 | ECLIPSE ANDROID PROJECT IMPORT SUMMARY
2 | ======================================
3 |
4 | Ignored Files:
5 | --------------
6 | The following files were *not* copied into the new Gradle project; you
7 | should evaluate whether these are still needed in your project and if
8 | so manually move them:
9 |
10 | * .externalToolBuilders/
11 | * .externalToolBuilders/NDK.launch
12 | * .gitignore
13 | * README.md
14 | * ic_launcher-web.png
15 | * proguard-project.txt
16 |
17 | Replaced Libraries with Dependencies:
18 | -------------------------------------
19 | The importer recognized the following library projects as third party
20 | libraries and replaced them with Gradle dependencies instead. This has
21 | the advantage that more explicit version information is known, and the
22 | libraries can be updated automatically. However, it is possible that
23 | the source files in your project were of an older version than the
24 | dependency we picked, which could render the project not compileable.
25 | You can disable the library replacement in the import wizard and try
26 | again:
27 |
28 | appcompat-v7 => [com.android.support:appcompat-v7:19.1.0]
29 |
30 | Moved Files:
31 | ------------
32 | Android Gradle projects use a different directory structure than ADT
33 | Eclipse projects. Here's how the projects were restructured:
34 |
35 | * AndroidManifest.xml => app/src/main/AndroidManifest.xml
36 | * jni/ => app/src/main/jni/
37 | * libs/armeabi/libffmpeg-jni.so => app/src/main/jniLibs/armeabi/libffmpeg-jni.so
38 | * libs/armeabi/libffmpeg.so => app/src/main/jniLibs/armeabi/libffmpeg.so
39 | * res/ => app/src/main/res/
40 | * src/ => app/src/main/java/
41 |
42 | Next Steps:
43 | -----------
44 | You can now build the project. The Gradle project needs network
45 | connectivity to download dependencies.
46 |
47 | Bugs:
48 | -----
49 | If for some reason your project does not build, and you determine that
50 | it is due to a bug or limitation of the Eclipse to Gradle importer,
51 | please file a bug at http://b.android.com with category
52 | Component-Tools.
53 |
54 | (This import summary is for your information only, and can be deleted
55 | after import once you are satisfied with the results.)
56 |
--------------------------------------------------------------------------------
/jni/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 |
4 | include $(CLEAR_VARS)
5 | LOCAL_MODULE := ffmpeg-prebuilt
6 | LOCAL_SRC_FILES := ffmpeg/armv7/libffmpeg.so
7 | LOCAL_EXPORT_C_INCLUDES := ffmpeg/armv7/include
8 | LOCAL_EXPORT_LDLIBS := ffmpeg/armv7/libffmpeg.so
9 | LOCAL_PRELINK_MODULE := true
10 | include $(PREBUILT_SHARED_LIBRARY)
11 |
12 |
13 | include $(CLEAR_VARS)
14 | LOCAL_MODULE := ffmpeg-jni
15 | LOCAL_SRC_FILES := ffmpeg-jni.c
16 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/ffmpeg/armv7/include
17 | LOCAL_LDLIBS := -lm -llog $(LOCAL_PATH)/ffmpeg/armv7/libffmpeg.so
18 | #LOCAL_SHARED_LIBRARY := ffmpeg-prebuilt
19 | include $(BUILD_SHARED_LIBRARY)
20 | #include $(BUILD_EXECUTABLE)
--------------------------------------------------------------------------------
/jni/ffmpeg-jni.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 |
6 | #include "libavformat/avformat.h"
7 |
8 |
9 | #define LOG_TAG "FFmpegJNI"
10 | #define LOGI(...) {__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__);}
11 | #define LOGE(...) {__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__);}
12 |
13 |
14 | jstring Java_com_example_rtspplayer_MainActivity_stringFromJNI( JNIEnv* env, jobject thiz )
15 | {
16 | return (*env)->NewStringUTF(env, "Hello from My JNI work !");
17 | }
18 |
19 | void Java_com_example_rtspplayer_MainActivity_getVersions(JNIEnv *env, jclass jc, jobject jvers)
20 | {
21 | int *vers = (*env)->GetDirectBufferAddress(env, jvers);
22 | vers[0] = LIBAVFORMAT_VERSION_MAJOR;
23 | vers[1] = LIBAVCODEC_VERSION_MAJOR;
24 | vers[2] = LIBAVUTIL_VERSION_MAJOR;
25 | }
26 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/config.fate:
--------------------------------------------------------------------------------
1 | config:arm::generic:linux:gcc 4.6 (GCC) 20120106 (prerelease):--target-os=linux --arch=arm --enable-cross-compile --cross-prefix=arm-linux-androideabi- --enable-shared --disable-symver --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-encoders --disable-muxers --disable-filters --disable-devices --disable-everything --enable-protocols --enable-parsers --enable-demuxers --enable-decoders --enable-bsfs --enable-network --enable-swscale --disable-demuxer=sbg --disable-demuxer=dts --disable-parser=dca --disable-decoder=dca --enable-asm --enable-version3 --prefix=/Users/Evan/Applications/android-ndk-r9d/samples/hello-jni/jni/build/ffmpeg/neon --prefix=/Users/Evan/Applications/android-ndk-r9d/samples/hello-jni/jni/build/ffmpeg/armv7 --extra-cflags='-O3 -Wall -mthumb -pipe -fpic -fasm -finline-limit=300 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -fmodulo-sched -fmodulo-sched-allow-regmoves -Wno-psabi -Wa,--noexecstack -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ -DANDROID -DNDEBUG -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp' --extra-ldflags='-Wl,--fix-cortex-a8'
2 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavcodec/dxva2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * DXVA2 HW acceleration
3 | *
4 | * copyright (c) 2009 Laurent Aimar
5 | *
6 | * This file is part of FFmpeg.
7 | *
8 | * FFmpeg is free software; you can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public
10 | * License as published by the Free Software Foundation; either
11 | * version 2.1 of the License, or (at your option) any later version.
12 | *
13 | * FFmpeg is distributed in the hope that it will be useful,
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 | * Lesser General Public License for more details.
17 | *
18 | * You should have received a copy of the GNU Lesser General Public
19 | * License along with FFmpeg; if not, write to the Free Software
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 | */
22 |
23 | #ifndef AVCODEC_DXVA_H
24 | #define AVCODEC_DXVA_H
25 |
26 | /**
27 | * @file
28 | * @ingroup lavc_codec_hwaccel_dxva2
29 | * Public libavcodec DXVA2 header.
30 | */
31 |
32 | #include
33 |
34 | #include
35 | #include
36 |
37 | /**
38 | * @defgroup lavc_codec_hwaccel_dxva2 DXVA2
39 | * @ingroup lavc_codec_hwaccel
40 | *
41 | * @{
42 | */
43 |
44 | #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards
45 |
46 | /**
47 | * This structure is used to provides the necessary configurations and data
48 | * to the DXVA2 FFmpeg HWAccel implementation.
49 | *
50 | * The application must make it available as AVCodecContext.hwaccel_context.
51 | */
52 | struct dxva_context {
53 | /**
54 | * DXVA2 decoder object
55 | */
56 | IDirectXVideoDecoder *decoder;
57 |
58 | /**
59 | * DXVA2 configuration used to create the decoder
60 | */
61 | const DXVA2_ConfigPictureDecode *cfg;
62 |
63 | /**
64 | * The number of surface in the surface array
65 | */
66 | unsigned surface_count;
67 |
68 | /**
69 | * The array of Direct3D surfaces used to create the decoder
70 | */
71 | LPDIRECT3DSURFACE9 *surface;
72 |
73 | /**
74 | * A bit field configuring the workarounds needed for using the decoder
75 | */
76 | uint64_t workaround;
77 |
78 | /**
79 | * Private to the FFmpeg AVHWAccel implementation
80 | */
81 | unsigned report_id;
82 | };
83 |
84 | /**
85 | * @}
86 | */
87 |
88 | #endif /* AVCODEC_DXVA_H */
89 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/adler32.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2006 Mans Rullgard
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_ADLER32_H
22 | #define AVUTIL_ADLER32_H
23 |
24 | #include
25 | #include "attributes.h"
26 |
27 | /**
28 | * @ingroup lavu_crypto
29 | * Calculate the Adler32 checksum of a buffer.
30 | *
31 | * Passing the return value to a subsequent av_adler32_update() call
32 | * allows the checksum of multiple buffers to be calculated as though
33 | * they were concatenated.
34 | *
35 | * @param adler initial checksum value
36 | * @param buf pointer to input buffer
37 | * @param len size of input buffer
38 | * @return updated checksum
39 | */
40 | unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
41 | unsigned int len) av_pure;
42 |
43 | #endif /* AVUTIL_ADLER32_H */
44 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/aes.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2007 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_AES_H
22 | #define AVUTIL_AES_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_aes AES
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 | extern const int av_aes_size;
33 |
34 | struct AVAES;
35 |
36 | /**
37 | * Initialize an AVAES context.
38 | * @param key_bits 128, 192 or 256
39 | * @param decrypt 0 for encryption, 1 for decryption
40 | */
41 | int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
42 |
43 | /**
44 | * Encrypt or decrypt a buffer using a previously initialized context.
45 | * @param count number of 16 byte blocks
46 | * @param dst destination array, can be equal to src
47 | * @param src source array, can be equal to dst
48 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used
49 | * @param decrypt 0 for encryption, 1 for decryption
50 | */
51 | void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt);
52 |
53 | /**
54 | * @}
55 | */
56 |
57 | #endif /* AVUTIL_AES_H */
58 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/avassert.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2010 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | /**
22 | * @file
23 | * simple assert() macros that are a bit more flexible than ISO C assert().
24 | * @author Michael Niedermayer
25 | */
26 |
27 | #ifndef AVUTIL_AVASSERT_H
28 | #define AVUTIL_AVASSERT_H
29 |
30 | #include
31 | #include "avutil.h"
32 | #include "log.h"
33 |
34 | /**
35 | * assert() equivalent, that is always enabled.
36 | */
37 | #define av_assert0(cond) do { \
38 | if (!(cond)) { \
39 | av_log(NULL, AV_LOG_FATAL, "Assertion %s failed at %s:%d\n", \
40 | AV_STRINGIFY(cond), __FILE__, __LINE__); \
41 | abort(); \
42 | } \
43 | } while (0)
44 |
45 |
46 | /**
47 | * assert() equivalent, that does not lie in speed critical code.
48 | * These asserts() thus can be enabled without fearing speedloss.
49 | */
50 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0
51 | #define av_assert1(cond) av_assert0(cond)
52 | #else
53 | #define av_assert1(cond) ((void)0)
54 | #endif
55 |
56 |
57 | /**
58 | * assert() equivalent, that does lie in speed critical code.
59 | */
60 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1
61 | #define av_assert2(cond) av_assert0(cond)
62 | #else
63 | #define av_assert2(cond) ((void)0)
64 | #endif
65 |
66 | #endif /* AVUTIL_AVASSERT_H */
67 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/avconfig.h:
--------------------------------------------------------------------------------
1 | /* Generated by ffconf */
2 | #ifndef AVUTIL_AVCONFIG_H
3 | #define AVUTIL_AVCONFIG_H
4 | #define AV_HAVE_BIGENDIAN 0
5 | #define AV_HAVE_FAST_UNALIGNED 1
6 | #endif /* AVUTIL_AVCONFIG_H */
7 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/base64.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com)
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_BASE64_H
22 | #define AVUTIL_BASE64_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_base64 Base64
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 |
33 | /**
34 | * Decode a base64-encoded string.
35 | *
36 | * @param out buffer for decoded data
37 | * @param in null-terminated input string
38 | * @param out_size size in bytes of the out buffer, must be at
39 | * least 3/4 of the length of in
40 | * @return number of bytes written, or a negative value in case of
41 | * invalid input
42 | */
43 | int av_base64_decode(uint8_t *out, const char *in, int out_size);
44 |
45 | /**
46 | * Encode data to base64 and null-terminate.
47 | *
48 | * @param out buffer for encoded data
49 | * @param out_size size in bytes of the output buffer, must be at
50 | * least AV_BASE64_SIZE(in_size)
51 | * @param in_size size in bytes of the 'in' buffer
52 | * @return 'out' or NULL in case of error
53 | */
54 | char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
55 |
56 | /**
57 | * Calculate the output size needed to base64-encode x bytes.
58 | */
59 | #define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1)
60 |
61 | /**
62 | * @}
63 | */
64 |
65 | #endif /* AVUTIL_BASE64_H */
66 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/blowfish.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Blowfish algorithm
3 | * Copyright (c) 2012 Samuel Pitoiset
4 | *
5 | * This file is part of FFmpeg.
6 | *
7 | * FFmpeg is free software; you can redistribute it and/or
8 | * modify it under the terms of the GNU Lesser General Public
9 | * License as published by the Free Software Foundation; either
10 | * version 2.1 of the License, or (at your option) any later version.
11 | *
12 | * FFmpeg is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with FFmpeg; if not, write to the Free Software
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 | */
21 |
22 | #ifndef AVUTIL_BLOWFISH_H
23 | #define AVUTIL_BLOWFISH_H
24 |
25 | #include
26 |
27 | /**
28 | * @defgroup lavu_blowfish Blowfish
29 | * @ingroup lavu_crypto
30 | * @{
31 | */
32 |
33 | #define AV_BF_ROUNDS 16
34 |
35 | typedef struct AVBlowfish {
36 | uint32_t p[AV_BF_ROUNDS + 2];
37 | uint32_t s[4][256];
38 | } AVBlowfish;
39 |
40 | /**
41 | * Initialize an AVBlowfish context.
42 | *
43 | * @param ctx an AVBlowfish context
44 | * @param key a key
45 | * @param key_len length of the key
46 | */
47 | void av_blowfish_init(struct AVBlowfish *ctx, const uint8_t *key, int key_len);
48 |
49 | /**
50 | * Encrypt or decrypt a buffer using a previously initialized context.
51 | *
52 | * @param ctx an AVBlowfish context
53 | * @param xl left four bytes halves of input to be encrypted
54 | * @param xr right four bytes halves of input to be encrypted
55 | * @param decrypt 0 for encryption, 1 for decryption
56 | */
57 | void av_blowfish_crypt_ecb(struct AVBlowfish *ctx, uint32_t *xl, uint32_t *xr,
58 | int decrypt);
59 |
60 | /**
61 | * Encrypt or decrypt a buffer using a previously initialized context.
62 | *
63 | * @param ctx an AVBlowfish context
64 | * @param dst destination array, can be equal to src
65 | * @param src source array, can be equal to dst
66 | * @param count number of 8 byte blocks
67 | * @param iv initialization vector for CBC mode, if NULL ECB will be used
68 | * @param decrypt 0 for encryption, 1 for decryption
69 | */
70 | void av_blowfish_crypt(struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src,
71 | int count, uint8_t *iv, int decrypt);
72 |
73 | /**
74 | * @}
75 | */
76 |
77 | #endif /* AVUTIL_BLOWFISH_H */
78 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/crc.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2006 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_CRC_H
22 | #define AVUTIL_CRC_H
23 |
24 | #include
25 | #include
26 | #include "attributes.h"
27 |
28 | typedef uint32_t AVCRC;
29 |
30 | typedef enum {
31 | AV_CRC_8_ATM,
32 | AV_CRC_16_ANSI,
33 | AV_CRC_16_CCITT,
34 | AV_CRC_32_IEEE,
35 | AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */
36 | AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil. */
37 | }AVCRCId;
38 |
39 | int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
40 | const AVCRC *av_crc_get_table(AVCRCId crc_id);
41 | uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure;
42 |
43 | #endif /* AVUTIL_CRC_H */
44 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/file.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is part of FFmpeg.
3 | *
4 | * FFmpeg is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Lesser General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2.1 of the License, or (at your option) any later version.
8 | *
9 | * FFmpeg is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Lesser General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Lesser General Public
15 | * License along with FFmpeg; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | #ifndef AVUTIL_FILE_H
20 | #define AVUTIL_FILE_H
21 |
22 | #include "avutil.h"
23 |
24 | /**
25 | * @file
26 | * Misc file utilities.
27 | */
28 |
29 | /**
30 | * Read the file with name filename, and put its content in a newly
31 | * allocated buffer or map it with mmap() when available.
32 | * In case of success set *bufptr to the read or mmapped buffer, and
33 | * *size to the size in bytes of the buffer in *bufptr.
34 | * The returned buffer must be released with av_file_unmap().
35 | *
36 | * @param log_offset loglevel offset used for logging
37 | * @param log_ctx context used for logging
38 | * @return a non negative number in case of success, a negative value
39 | * corresponding to an AVERROR error code in case of failure
40 | */
41 | int av_file_map(const char *filename, uint8_t **bufptr, size_t *size,
42 | int log_offset, void *log_ctx);
43 |
44 | /**
45 | * Unmap or free the buffer bufptr created by av_file_map().
46 | *
47 | * @param size size in bytes of bufptr, must be the same as returned
48 | * by av_file_map()
49 | */
50 | void av_file_unmap(uint8_t *bufptr, size_t size);
51 |
52 | /**
53 | * Wrapper to work around the lack of mkstemp() on mingw.
54 | * Also, tries to create file in /tmp first, if possible.
55 | * *prefix can be a character constant; *filename will be allocated internally.
56 | * @return file descriptor of opened file (or -1 on error)
57 | * and opened file name in **filename.
58 | */
59 | int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx);
60 |
61 | #endif /* AVUTIL_FILE_H */
62 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/intfloat.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 Mans Rullgard
3 | *
4 | * This file is part of Libav.
5 | *
6 | * Libav is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * Libav is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with Libav; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_INTFLOAT_H
22 | #define AVUTIL_INTFLOAT_H
23 |
24 | #include
25 | #include "attributes.h"
26 |
27 | union av_intfloat32 {
28 | uint32_t i;
29 | float f;
30 | };
31 |
32 | union av_intfloat64 {
33 | uint64_t i;
34 | double f;
35 | };
36 |
37 | /**
38 | * Reinterpret a 32-bit integer as a float.
39 | */
40 | static av_always_inline float av_int2float(uint32_t i)
41 | {
42 | union av_intfloat32 v;
43 | v.i = i;
44 | return v.f;
45 | }
46 |
47 | /**
48 | * Reinterpret a float as a 32-bit integer.
49 | */
50 | static av_always_inline uint32_t av_float2int(float f)
51 | {
52 | union av_intfloat32 v;
53 | v.f = f;
54 | return v.i;
55 | }
56 |
57 | /**
58 | * Reinterpret a 64-bit integer as a double.
59 | */
60 | static av_always_inline double av_int2double(uint64_t i)
61 | {
62 | union av_intfloat64 v;
63 | v.i = i;
64 | return v.f;
65 | }
66 |
67 | /**
68 | * Reinterpret a double as a 64-bit integer.
69 | */
70 | static av_always_inline uint64_t av_double2int(double f)
71 | {
72 | union av_intfloat64 v;
73 | v.f = f;
74 | return v.i;
75 | }
76 |
77 | #endif /* AVUTIL_INTFLOAT_H */
78 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/intfloat_readwrite.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2005 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_INTFLOAT_READWRITE_H
22 | #define AVUTIL_INTFLOAT_READWRITE_H
23 |
24 | #include
25 | #include "attributes.h"
26 |
27 | /* IEEE 80 bits extended float */
28 | typedef struct AVExtFloat {
29 | uint8_t exponent[2];
30 | uint8_t mantissa[8];
31 | } AVExtFloat;
32 |
33 | attribute_deprecated double av_int2dbl(int64_t v) av_const;
34 | attribute_deprecated float av_int2flt(int32_t v) av_const;
35 | attribute_deprecated double av_ext2dbl(const AVExtFloat ext) av_const;
36 | attribute_deprecated int64_t av_dbl2int(double d) av_const;
37 | attribute_deprecated int32_t av_flt2int(float d) av_const;
38 | attribute_deprecated AVExtFloat av_dbl2ext(double d) av_const;
39 |
40 | #endif /* AVUTIL_INTFLOAT_READWRITE_H */
41 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/lfg.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Lagged Fibonacci PRNG
3 | * Copyright (c) 2008 Michael Niedermayer
4 | *
5 | * This file is part of FFmpeg.
6 | *
7 | * FFmpeg is free software; you can redistribute it and/or
8 | * modify it under the terms of the GNU Lesser General Public
9 | * License as published by the Free Software Foundation; either
10 | * version 2.1 of the License, or (at your option) any later version.
11 | *
12 | * FFmpeg is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with FFmpeg; if not, write to the Free Software
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 | */
21 |
22 | #ifndef AVUTIL_LFG_H
23 | #define AVUTIL_LFG_H
24 |
25 | typedef struct {
26 | unsigned int state[64];
27 | int index;
28 | } AVLFG;
29 |
30 | void av_lfg_init(AVLFG *c, unsigned int seed);
31 |
32 | /**
33 | * Get the next random unsigned 32-bit number using an ALFG.
34 | *
35 | * Please also consider a simple LCG like state= state*1664525+1013904223,
36 | * it may be good enough and faster for your specific use case.
37 | */
38 | static inline unsigned int av_lfg_get(AVLFG *c){
39 | c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63];
40 | return c->state[c->index++ & 63];
41 | }
42 |
43 | /**
44 | * Get the next random unsigned 32-bit number using a MLFG.
45 | *
46 | * Please also consider av_lfg_get() above, it is faster.
47 | */
48 | static inline unsigned int av_mlfg_get(AVLFG *c){
49 | unsigned int a= c->state[(c->index-55) & 63];
50 | unsigned int b= c->state[(c->index-24) & 63];
51 | return c->state[c->index++ & 63] = 2*a*b+a+b;
52 | }
53 |
54 | /**
55 | * Get the next two numbers generated by a Box-Muller Gaussian
56 | * generator using the random numbers issued by lfg.
57 | *
58 | * @param out array where the two generated numbers are placed
59 | */
60 | void av_bmg_get(AVLFG *lfg, double out[2]);
61 |
62 | #endif /* AVUTIL_LFG_H */
63 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/md5.h:
--------------------------------------------------------------------------------
1 | /*
2 | * copyright (c) 2006 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_MD5_H
22 | #define AVUTIL_MD5_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_md5 MD5
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 | extern const int av_md5_size;
33 |
34 | struct AVMD5;
35 |
36 | void av_md5_init(struct AVMD5 *ctx);
37 | void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len);
38 | void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
39 | void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
40 |
41 | /**
42 | * @}
43 | */
44 |
45 | #endif /* AVUTIL_MD5_H */
46 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/random_seed.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2009 Baptiste Coudurier
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_RANDOM_SEED_H
22 | #define AVUTIL_RANDOM_SEED_H
23 |
24 | #include
25 | /**
26 | * @addtogroup lavu_crypto
27 | * @{
28 | */
29 |
30 | /**
31 | * Get a seed to use in conjunction with random functions.
32 | * This function tries to provide a good seed at a best effort bases.
33 | * Its possible to call this function multiple times if more bits are needed.
34 | * It can be quite slow, which is why it should only be used as seed for a faster
35 | * PRNG. The quality of the seed depends on the platform.
36 | */
37 | uint32_t av_get_random_seed(void);
38 |
39 | /**
40 | * @}
41 | */
42 |
43 | #endif /* AVUTIL_RANDOM_SEED_H */
44 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/sha.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2007 Michael Niedermayer
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_SHA_H
22 | #define AVUTIL_SHA_H
23 |
24 | #include
25 |
26 | /**
27 | * @defgroup lavu_sha SHA
28 | * @ingroup lavu_crypto
29 | * @{
30 | */
31 |
32 | extern const int av_sha_size;
33 |
34 | struct AVSHA;
35 |
36 | /**
37 | * Initialize SHA-1 or SHA-2 hashing.
38 | *
39 | * @param context pointer to the function context (of size av_sha_size)
40 | * @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits)
41 | * @return zero if initialization succeeded, -1 otherwise
42 | */
43 | int av_sha_init(struct AVSHA* context, int bits);
44 |
45 | /**
46 | * Update hash value.
47 | *
48 | * @param context hash function context
49 | * @param data input data to update hash with
50 | * @param len input data length
51 | */
52 | void av_sha_update(struct AVSHA* context, const uint8_t* data, unsigned int len);
53 |
54 | /**
55 | * Finish hashing and output digest value.
56 | *
57 | * @param context hash function context
58 | * @param digest buffer where output digest value is stored
59 | */
60 | void av_sha_final(struct AVSHA* context, uint8_t *digest);
61 |
62 | /**
63 | * @}
64 | */
65 |
66 | #endif /* AVUTIL_SHA_H */
67 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2000-2003 Fabrice Bellard
3 | *
4 | * This file is part of FFmpeg.
5 | *
6 | * FFmpeg is free software; you can redistribute it and/or
7 | * modify it under the terms of the GNU Lesser General Public
8 | * License as published by the Free Software Foundation; either
9 | * version 2.1 of the License, or (at your option) any later version.
10 | *
11 | * FFmpeg is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | * Lesser General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU Lesser General Public
17 | * License along with FFmpeg; if not, write to the Free Software
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 | */
20 |
21 | #ifndef AVUTIL_TIME_H
22 | #define AVUTIL_TIME_H
23 |
24 | #include
25 |
26 | /**
27 | * Get the current time in microseconds.
28 | */
29 | int64_t av_gettime(void);
30 |
31 | /**
32 | * Sleep for a period of time. Although the duration is expressed in
33 | * microseconds, the actual delay may be rounded to the precision of the
34 | * system timer.
35 | *
36 | * @param usec Number of microseconds to sleep.
37 | * @return zero on success or (negative) error code.
38 | */
39 | int av_usleep(unsigned usec);
40 |
41 | #endif /* AVUTIL_TIME_H */
42 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libavutil/xtea.h:
--------------------------------------------------------------------------------
1 | /*
2 | * A 32-bit implementation of the XTEA algorithm
3 | * Copyright (c) 2012 Samuel Pitoiset
4 | *
5 | * This file is part of FFmpeg.
6 | *
7 | * FFmpeg is free software; you can redistribute it and/or
8 | * modify it under the terms of the GNU Lesser General Public
9 | * License as published by the Free Software Foundation; either
10 | * version 2.1 of the License, or (at your option) any later version.
11 | *
12 | * FFmpeg is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with FFmpeg; if not, write to the Free Software
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 | */
21 |
22 | #ifndef AVUTIL_XTEA_H
23 | #define AVUTIL_XTEA_H
24 |
25 | #include
26 |
27 | /**
28 | * @defgroup lavu_xtea XTEA
29 | * @ingroup lavu_crypto
30 | * @{
31 | */
32 |
33 | typedef struct AVXTEA {
34 | uint32_t key[16];
35 | } AVXTEA;
36 |
37 | /**
38 | * Initialize an AVXTEA context.
39 | *
40 | * @param x an AVXTEA context
41 | * @param key a key of 16 bytes used for encryption/decryption
42 | */
43 | void av_xtea_init(struct AVXTEA *ctx, const uint8_t key[16]);
44 |
45 | /**
46 | * Encrypt or decrypt a buffer using a previously initialized context.
47 | *
48 | * @param x an AVXTEA context
49 | * @param dst destination array, can be equal to src
50 | * @param src source array, can be equal to dst
51 | * @param count number of 8 byte blocks
52 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used
53 | * @param decrypt 0 for encryption, 1 for decryption
54 | */
55 | void av_xtea_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src,
56 | int count, uint8_t *iv, int decrypt);
57 |
58 | /**
59 | * @}
60 | */
61 |
62 | #endif /* AVUTIL_XTEA_H */
63 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/include/libswscale/version.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is part of FFmpeg.
3 | *
4 | * FFmpeg is free software; you can redistribute it and/or
5 | * modify it under the terms of the GNU Lesser General Public
6 | * License as published by the Free Software Foundation; either
7 | * version 2.1 of the License, or (at your option) any later version.
8 | *
9 | * FFmpeg is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 | * Lesser General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU Lesser General Public
15 | * License along with FFmpeg; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | #ifndef SWSCALE_VERSION_H
20 | #define SWSCALE_VERSION_H
21 |
22 | /**
23 | * @file
24 | * swscale version macros
25 | */
26 |
27 | #include "libavutil/avutil.h"
28 |
29 | #define LIBSWSCALE_VERSION_MAJOR 2
30 | #define LIBSWSCALE_VERSION_MINOR 1
31 | #define LIBSWSCALE_VERSION_MICRO 100
32 |
33 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
34 | LIBSWSCALE_VERSION_MINOR, \
35 | LIBSWSCALE_VERSION_MICRO)
36 | #define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \
37 | LIBSWSCALE_VERSION_MINOR, \
38 | LIBSWSCALE_VERSION_MICRO)
39 | #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT
40 |
41 | #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)
42 |
43 | /**
44 | * FF_API_* defines may be placed below to indicate public API that will be
45 | * dropped at a future version bump. The defines themselves are not part of
46 | * the public API and may change, break or disappear at any time.
47 | */
48 |
49 | #ifndef FF_API_SWS_GETCONTEXT
50 | #define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 3)
51 | #endif
52 | #ifndef FF_API_SWS_CPU_CAPS
53 | #define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 3)
54 | #endif
55 | #ifndef FF_API_SWS_FORMAT_NAME
56 | #define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 3)
57 | #endif
58 |
59 | #endif /* SWSCALE_VERSION_H */
60 |
--------------------------------------------------------------------------------
/jni/ffmpeg/armv7/libffmpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/jni/ffmpeg/armv7/libffmpeg.so
--------------------------------------------------------------------------------
/libs/armeabi/libffmpeg-jni.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/libs/armeabi/libffmpeg-jni.so
--------------------------------------------------------------------------------
/libs/armeabi/libffmpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/libs/armeabi/libffmpeg.so
--------------------------------------------------------------------------------
/local.properties:
--------------------------------------------------------------------------------
1 | ## This file is automatically generated by Android Studio.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must *NOT* be checked into Version Control Systems,
5 | # as it contains information specific to your local configuration.
6 | #
7 | # Location of the SDK. This is only used by Gradle.
8 | # For customization when using a Version Control System, please read the
9 | # header note.
10 | #Sun Sep 03 02:41:39 CST 2017
11 | ndk.dir=/Users/Evan/Library/Android/sdk/ndk-bundle
12 | sdk.dir=/Users/Evan/Library/Android/sdk
13 |
--------------------------------------------------------------------------------
/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-19
15 | android.library.reference.1=../../../../../Documents/ADT_Workspace/appcompat_v7
16 |
--------------------------------------------------------------------------------
/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/res/layout/fragment_main.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
18 |
19 |
25 |
26 |
33 |
34 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/res/values-v14/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 | 64dp
9 |
10 |
11 |
--------------------------------------------------------------------------------
/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | RTSPPlayer
5 | Hello world!
6 | Settings
7 |
8 |
9 |
--------------------------------------------------------------------------------
/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------