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

Commit 84415e08 authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Use forward declaration for Parcel in MetaData.h

C2SoftAvcEnc.h and FrameDecoder.h were updated since they
were using stl by relying on Parcel.h which was included
in MetaData.h.

Test: build
Bug: 67908544
Change-Id: I992aefdc137a23b34f07e29be72e2a38bd7ac36a
parent 9fc65009
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
#ifndef C2_SOFT_AVC_ENC_H__
#define C2_SOFT_AVC_ENC_H__

#include <map>

#include <media/stagefright/foundation/ABase.h>
#include <utils/Vector.h>

+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
//#define LOG_NDEBUG 0
#define LOG_TAG "MetaData"
#include <inttypes.h>
#include <binder/Parcel.h>
#include <utils/KeyedVector.h>
#include <utils/Log.h>

+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@
#ifndef FRAME_DECODER_H_
#define FRAME_DECODER_H_

#include <memory>
#include <vector>

#include <media/stagefright/foundation/AString.h>
#include <media/stagefright/foundation/ABase.h>
#include <media/MediaSource.h>
+2 −1
Original line number Diff line number Diff line
@@ -22,12 +22,13 @@

#include <stdint.h>

#include <binder/Parcel.h>
#include <utils/RefBase.h>
#include <utils/String8.h>

namespace android {

class Parcel;

// The following keys map to int32_t data unless indicated otherwise.
enum {
    kKeyMIMEType          = 'mime',  // cstring