blob: 276071c8038be4061f7ed2986341d80e3ae84104 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#pragma once
#include <android/binder_interface_utils.h>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#ifdef BINDER_STABILITY_SUPPORT
#include <android/binder_stability.h>
#endif // BINDER_STABILITY_SUPPORT
#include <aidl/android/hardware/graphics/common/PlaneLayoutComponent.h>
namespace aidl {
namespace android {
namespace hardware {
namespace graphics {
namespace common {
class PlaneLayout {
public:
static const char* descriptor;
std::vector<::aidl::android::hardware::graphics::common::PlaneLayoutComponent> components;
int64_t offsetInBytes;
int64_t sampleIncrementInBits;
int64_t strideInBytes;
int64_t widthInSamples;
int64_t heightInSamples;
int64_t totalSizeInBytes;
int64_t horizontalSubsampling;
int64_t verticalSubsampling;
binder_status_t readFromParcel(const AParcel* parcel);
binder_status_t writeToParcel(AParcel* parcel) const;
};
} // namespace common
} // namespace graphics
} // namespace hardware
} // namespace android
} // namespace aidl
|