-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
ffmpeg/src/main/java/com/coder/ffmpeg/annotation/CodecProperty.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.coder.ffmpeg.annotation | ||
|
||
import androidx.annotation.IntDef | ||
|
||
/** | ||
* @author: AnJoiner | ||
* @datetime: 2023-11-05 | ||
* 解码器类型 | ||
*/ | ||
@IntDef(CodecProperty.VIDEO, | ||
CodecProperty.AUDIO) | ||
annotation class CodecProperty { | ||
companion object { | ||
const val VIDEO = 1 // 视频解码格式 | ||
const val AUDIO = 2 // 音频解码格式 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.coder.ffmpeg.model | ||
|
||
data class CodecInfo(val id:Int, val name:String, val type:Int){ | ||
override fun toString(): String { | ||
return "id = $id, name = $name, type = $type" | ||
} | ||
} |
Binary file not shown.
Binary file not shown.