Home
last modified time | relevance | path

Searched refs:video_encode_metadata (Results 1 – 10 of 10) sorted by relevance

/device/huawei/angler/power/
Dpower-8992.c55 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
64 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
65 video_encode_metadata.state = -1; in process_video_encode_hint()
66 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
69 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
78 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
87 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
91 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
94 undo_hint_action(video_encode_metadata.hint_id); in process_video_encode_hint()
Dpower-8994.c101 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
110 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
111 video_encode_metadata.state = -1; in process_video_encode_hint()
112 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
115 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
124 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
129 new_hint_id = video_encode_metadata.hint_id; in process_video_encode_hint()
148 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
Dpower.c186 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
195 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
196 video_encode_metadata.state = -1; in process_video_encode_hint()
197 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
200 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
209 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
214 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
221 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
224 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
227 undo_hint_action(video_encode_metadata.hint_id); in process_video_encode_hint()
[all …]
Dmetadata-parser.c70 struct video_encode_metadata_t *video_encode_metadata) in parse_video_encode_metadata() argument
81 video_encode_metadata->hint_id = atoi(value); in parse_video_encode_metadata()
88 video_encode_metadata->state = atoi(value); in parse_video_encode_metadata()
Dmetadata-defs.h52 struct video_encode_metadata_t *video_encode_metadata);
/device/lge/bullhead/power/
Dpower-8994.c55 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
64 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
65 video_encode_metadata.state = -1; in process_video_encode_hint()
66 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
69 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
78 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
87 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
91 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
94 undo_hint_action(video_encode_metadata.hint_id); in process_video_encode_hint()
Dpower-8992.c101 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
110 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
111 video_encode_metadata.state = -1; in process_video_encode_hint()
112 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
115 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
124 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
129 new_hint_id = video_encode_metadata.hint_id; in process_video_encode_hint()
148 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
Dpower.c179 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
188 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
189 video_encode_metadata.state = -1; in process_video_encode_hint()
190 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
193 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
202 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
207 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
214 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
217 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
220 undo_hint_action(video_encode_metadata.hint_id); in process_video_encode_hint()
[all …]
Dmetadata-parser.c70 struct video_encode_metadata_t *video_encode_metadata) in parse_video_encode_metadata() argument
81 video_encode_metadata->hint_id = atoi(value); in parse_video_encode_metadata()
88 video_encode_metadata->state = atoi(value); in parse_video_encode_metadata()
Dmetadata-defs.h52 struct video_encode_metadata_t *video_encode_metadata);