mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
增加对Yuv图像操作的支持
Signed-off-by: duanhan <duanhan1@huawei.com>
This commit is contained in:
parent
892a848676
commit
3562f4714a
4
BUILD.gn
4
BUILD.gn
@ -1060,6 +1060,10 @@ ohos_source_set("ffmpeg_dynamic") {
|
||||
"//third_party/ffmpeg/libavfilter/graphparser.c",
|
||||
"//third_party/ffmpeg/libavfilter/pthread.c",
|
||||
"//third_party/ffmpeg/libavfilter/transform.c",
|
||||
"//third_party/ffmpeg/libavfilter/vf_crop.c",
|
||||
"//third_party/ffmpeg/libavfilter/vf_hflip.c",
|
||||
"//third_party/ffmpeg/libavfilter/vf_transpose.c",
|
||||
"//third_party/ffmpeg/libavfilter/vf_vflip.c",
|
||||
"//third_party/ffmpeg/libavfilter/video.c",
|
||||
|
||||
# "//third_party/ffmpeg/libavformat/3dostr.c",
|
||||
|
@ -25,10 +25,15 @@
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"sub_component": ["//third_party/ffmpeg:libohosffmpeg"],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/ffmpeg:libohosffmpeg"
|
||||
"name": "//third_party/ffmpeg:libohosffmpeg",
|
||||
"header": {
|
||||
"header_files": [
|
||||
],
|
||||
"header_base": "//third_party/ffmpeg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
|
@ -18,7 +18,6 @@ FF_CONFIG_OPTIONS="
|
||||
--disable-programs
|
||||
--disable-avdevice
|
||||
--disable-postproc
|
||||
--disable-avfilter
|
||||
--disable-network
|
||||
--disable-dwt
|
||||
--disable-faan
|
||||
@ -65,6 +64,7 @@ FF_CONFIG_OPTIONS="
|
||||
--enable-cross-compile
|
||||
--enable-shared
|
||||
--enable-lsp
|
||||
--enable-filter=crop,transpose,vflip,hflip
|
||||
--cc=${LLVM_PATH}/bin/clang
|
||||
--ld=${LLVM_PATH}/bin/clang
|
||||
--strip=${LLVM_PATH}/bin/llvm-strip
|
||||
@ -104,7 +104,6 @@ FF_CONFIG_OPTIONS="
|
||||
--disable-programs
|
||||
--disable-avdevice
|
||||
--disable-postproc
|
||||
--disable-avfilter
|
||||
--disable-network
|
||||
--disable-dwt
|
||||
--disable-faan
|
||||
@ -149,6 +148,7 @@ FF_CONFIG_OPTIONS="
|
||||
--enable-bsf=h264_mp4toannexb
|
||||
--enable-protocol=file
|
||||
--enable-lsp
|
||||
--enable-filter=crop,transpose,vflip,hflip
|
||||
"
|
||||
|
||||
FF_CONFIG_OPTIONS=`echo $FF_CONFIG_OPTIONS`
|
||||
|
Loading…
Reference in New Issue
Block a user