Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b92f9f3 authored by Ray Essick's avatar Ray Essick
Browse files

m4v_h263 no longer requires consumers to define OSCL_* macros

the codec now defines a suitable default if it's not specified by
the consumer.

Bug: 149092204
Test: build
Change-Id: I02d51b8b535ed6b983a5b9f7d13b512b0c6c0fb0
parent 7e101988
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -47,9 +47,6 @@ cc_library_static {
    export_include_dirs: ["include"],

    cflags: [
        "-DOSCL_EXPORT_REF=",
        "-DOSCL_IMPORT_REF=",

        "-Werror",
    ],

@@ -74,8 +71,6 @@ cc_library_shared {
    local_include_dirs: ["src"],

    cflags: [
        "-DOSCL_EXPORT_REF=",
        "-DOSCL_IMPORT_REF=",
    ],

    static_libs: ["libstagefright_m4vh263dec"],
+7 −0
Original line number Diff line number Diff line
@@ -35,6 +35,13 @@ typedef uint Bool;
#define PV_TRUE  1
#define PV_FALSE 0

#ifndef OSCL_IMPORT_REF
#define OSCL_IMPORT_REF /* empty */
#endif
#ifndef OSCL_EXPORT_REF
#define OSCL_EXPORT_REF /* empty */
#endif

/* flag for post-processing  4/25/00 */

#ifdef DEC_NOPOSTPROC
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ cc_test {
    ],

    cflags: [
        "-DOSCL_IMPORT_REF=",
        "-Werror",
        "-Wall",
    ],
+0 −9
Original line number Diff line number Diff line
@@ -23,10 +23,6 @@ cc_library_static {

    cflags: [
        "-DBX_RC",
        "-DOSCL_IMPORT_REF=",
        "-DOSCL_UNUSED_ARG(x)=(void)(x)",
        "-DOSCL_EXPORT_REF=",

        "-Werror",
    ],

@@ -55,9 +51,6 @@ cc_library_shared {

    cflags: [
        "-DBX_RC",
        "-DOSCL_IMPORT_REF=",
        "-DOSCL_UNUSED_ARG(x)=(void)(x)",
        "-DOSCL_EXPORT_REF=",
    ],

    static_libs: ["libstagefright_m4vh263enc"],
@@ -81,8 +74,6 @@ cc_test {
    local_include_dirs: ["src"],

    cflags: [
        "-DOSCL_EXPORT_REF=",
        "-DOSCL_IMPORT_REF=",
        "-DBX_RC",
        "-Wall",
        "-Werror",
+10 −0
Original line number Diff line number Diff line
@@ -39,6 +39,16 @@ typedef uint32_t ULong;
#define PV_TRUE  1
#define PV_FALSE 0

#ifndef OSCL_IMPORT_REF
#define OSCL_IMPORT_REF /* empty */
#endif
#ifndef OSCL_EXPORT_REF
#define OSCL_EXPORT_REF /* empty */
#endif
#ifndef OSCL_UNUSED_ARG
#define OSCL_UNUSED_ARG(x) ((void)(x))
#endif

typedef enum
{
    SHORT_HEADER,