power: clang-format

* Using AOSP interface .clang-format
* Clean Android.mk while we are at it

Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
Signed-off-by: Arian <arian.kulmer@web.de>
This commit is contained in:
Michael Bestas
2019-09-29 23:59:05 +03:00
parent 39e18570bf
commit 0b6459f08e
27 changed files with 634 additions and 809 deletions

View File

@@ -34,7 +34,7 @@
#define METADATA_PARSING_CONTINUE (0)
#define METADATA_PARSING_DONE (1)
#define MIN(x,y) (((x)>(y))?(y):(x))
#define MIN(x, y) (((x) > (y)) ? (y) : (x))
struct video_encode_metadata_t {
int hint_id;
@@ -46,9 +46,9 @@ struct video_decode_metadata_t {
int state;
};
int parse_metadata(char *metadata, char **metadata_saveptr,
char *attribute, int attribute_size, char *value, int value_size);
int parse_video_encode_metadata(char *metadata,
struct video_encode_metadata_t *video_encode_metadata);
int parse_video_decode_metadata(char *metadata,
struct video_decode_metadata_t *video_decode_metadata);
int parse_metadata(char* metadata, char** metadata_saveptr, char* attribute, int attribute_size,
char* value, int value_size);
int parse_video_encode_metadata(char* metadata,
struct video_encode_metadata_t* video_encode_metadata);
int parse_video_decode_metadata(char* metadata,
struct video_decode_metadata_t* video_decode_metadata);