Bob Badour | c837504 | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: [ |
| 3 | "frameworks_av_media_codec2_components_vpx_license", |
| 4 | ], |
| 5 | } |
| 6 | |
| 7 | // Added automatically by a large-scale-change |
| 8 | // See: http://go/android-license-faq |
| 9 | license { |
| 10 | name: "frameworks_av_media_codec2_components_vpx_license", |
| 11 | visibility: [":__subpackages__"], |
| 12 | license_kinds: [ |
| 13 | "SPDX-license-identifier-Apache-2.0", |
| 14 | ], |
| 15 | license_text: [ |
| 16 | "NOTICE", |
| 17 | ], |
| 18 | } |
| 19 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 20 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 21 | name: "libcodec2_soft_vp9dec", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 22 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 23 | "libcodec2_soft-defaults", |
| 24 | "libcodec2_soft_sanitize_all-defaults", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 25 | ], |
| 26 | |
| 27 | srcs: ["C2SoftVpxDec.cpp"], |
| 28 | |
Harish Mahendrakar | a2f5a65 | 2019-05-10 19:33:03 -0700 | [diff] [blame] | 29 | shared_libs: ["libvpx"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 30 | |
| 31 | cflags: [ |
| 32 | "-DVP9", |
| 33 | ], |
| 34 | } |
| 35 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 36 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 37 | name: "libcodec2_soft_vp8dec", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 38 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 39 | "libcodec2_soft-defaults", |
| 40 | "libcodec2_soft_sanitize_all-defaults", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 41 | ], |
| 42 | |
| 43 | srcs: ["C2SoftVpxDec.cpp"], |
| 44 | |
Harish Mahendrakar | a2f5a65 | 2019-05-10 19:33:03 -0700 | [diff] [blame] | 45 | shared_libs: ["libvpx"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 46 | } |
| 47 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 48 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 49 | name: "libcodec2_soft_vp9enc", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 50 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 51 | "libcodec2_soft-defaults", |
| 52 | "libcodec2_soft_sanitize_all-defaults", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 53 | ], |
| 54 | |
| 55 | srcs: [ |
| 56 | "C2SoftVp9Enc.cpp", |
| 57 | "C2SoftVpxEnc.cpp", |
| 58 | ], |
| 59 | |
Harish Mahendrakar | a2f5a65 | 2019-05-10 19:33:03 -0700 | [diff] [blame] | 60 | shared_libs: ["libvpx"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 61 | |
| 62 | cflags: ["-DVP9"], |
| 63 | } |
| 64 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 65 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 66 | name: "libcodec2_soft_vp8enc", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 67 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 68 | "libcodec2_soft-defaults", |
| 69 | "libcodec2_soft_sanitize_all-defaults", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 70 | ], |
| 71 | |
| 72 | srcs: [ |
| 73 | "C2SoftVp8Enc.cpp", |
| 74 | "C2SoftVpxEnc.cpp", |
| 75 | ], |
| 76 | |
Harish Mahendrakar | a2f5a65 | 2019-05-10 19:33:03 -0700 | [diff] [blame] | 77 | shared_libs: ["libvpx"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 78 | } |