Home
last modified time | relevance | path

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

/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.c175 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
184 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
185 video_encode_metadata.state = -1; in process_video_encode_hint()
186 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
189 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
198 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
203 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
210 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
213 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
216 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/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.c181 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
190 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
191 video_encode_metadata.state = -1; in process_video_encode_hint()
192 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
195 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
204 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
209 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
216 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
219 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
222 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/google/marlin/power/
Dpower-8996.c170 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
180 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
181 video_encode_metadata.state = -1; in process_video_encode_hint()
182 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
185 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
194 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
222 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
239 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
244 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
250 undo_hint_action(video_encode_metadata.hint_id); in process_video_encode_hint()
Dpower.c185 struct video_encode_metadata_t video_encode_metadata; in process_video_encode_hint() local
194 memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); in process_video_encode_hint()
195 video_encode_metadata.state = -1; in process_video_encode_hint()
196 video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; in process_video_encode_hint()
199 if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == in process_video_encode_hint()
208 if (video_encode_metadata.state == 1) { in process_video_encode_hint()
213 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
220 perform_hint_action(video_encode_metadata.hint_id, in process_video_encode_hint()
223 } else if (video_encode_metadata.state == 0) { in process_video_encode_hint()
226 undo_hint_action(video_encode_metadata.hint_id); in process_video_encode_hint()
[all …]
Dmetadata-parser.c97 struct video_encode_metadata_t *video_encode_metadata) in parse_video_encode_metadata() argument
108 video_encode_metadata->hint_id = atoi(value); in parse_video_encode_metadata()
115 video_encode_metadata->state = atoi(value); in parse_video_encode_metadata()
Dmetadata-defs.h58 struct video_encode_metadata_t *video_encode_metadata);