增加对Yuv图像操作的支持

Signed-off-by: duanhan <duanhan1@huawei.com>
This commit is contained in:
duanhan 2024-05-28 14:37:31 +08:00
parent 892a848676
commit 3562f4714a
3 changed files with 13 additions and 4 deletions

View File

@ -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",

View File

@ -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": []

View File

@ -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`