Searched defs:tokens (Results 1 - 18 of 18) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_treewriter.c13 static void tree2tok(struct vp9_token *tokens, const vp9_tree_index *tree, argument
21 tokens[-j].value = v;
22 tokens[-j].len = l;
24 tree2tok(tokens, tree, j, v, l);
29 void vp9_tokens_from_tree(struct vp9_token *tokens, argument
31 tree2tok(tokens, tree, 0, 0, 0);
H A Dvp9_encodemb.c96 // to scan previous tokens to work out the correct context.
115 vp9_token_state tokens[1025][2]; local
146 tokens[eob][0].rate = 0;
147 tokens[eob][0].error = 0;
148 tokens[eob][0].next = default_eob;
149 tokens[eob][0].token = EOB_TOKEN;
150 tokens[eob][0].qc = 0;
151 *(tokens[eob] + 1) = *(tokens[eob] + 0);
165 error0 = tokens[nex
[all...]
H A Dvp9_onyx_if.c609 unsigned int tokens = get_token_alloc(cm->mb_rows, cm->mb_cols); local
611 CHECK_MEM_ERROR(cm, cpi->tok, vpx_calloc(tokens, sizeof(*cpi->tok)));
/hardware/qcom/display/msm8996/libqdutils/
H A Dqd_utils.cpp34 int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count) { argument
44 tokens[index++] = tmpToken;
58 char *tokens[maxCount] = { NULL }; local
85 if (parseLine(line, tokens, maxCount, &tokenCount)) {
89 if (strncmp(tokens[0], "features", strlen("features"))) {
94 if (!strncmp(tokens[i], featureName, strlen(featureName))) {
/hardware/qcom/display/msm8998/libqdutils/
H A Dqd_utils.cpp34 int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count) { argument
44 tokens[index++] = tmpToken;
58 char *tokens[maxCount] = { NULL }; local
86 if (parseLine(line, tokens, maxCount, &tokenCount)) {
90 if (strncmp(tokens[0], "features", strlen("features"))) {
95 if (!strncmp(tokens[i], featureName, strlen(featureName))) {
/hardware/qcom/display/msm8084/libqdutils/
H A Dmdp_version.cpp169 char *tokens[10]; local
170 memset(tokens, 0, sizeof(tokens));
172 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens,
174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
175 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]);
180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) {
181 mPanelInfo.mLeftAlign = atoi(tokens[1]);
184 if(!strncmp(tokens[0], "walign", strlen("walign"))) {
185 mPanelInfo.mWidthAlign = atoi(tokens[
246 char *tokens[10]; local
[all...]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
H A Dhw_info.cpp71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, argument
81 tokens[index++] = tmp_token;
125 char *tokens[max_count] = { NULL }; local
128 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) {
129 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) {
130 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1]));
131 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) {
132 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1]));
133 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) {
134 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[
167 char *tokens[max_count] = { NULL }; local
370 char *tokens[max_count] = { NULL }; local
475 ParseFormats(char *tokens[], uint32_t token_count, HWSubBlockType sub_blk_type, HWResourceInfo *hw_resource) argument
[all...]
H A Dhw_hdmi.cpp204 char *tokens[edid_count_max] = { NULL }; local
207 ParseLine(ptr, tokens, edid_count_max, &hdmi_mode_count);
213 hdmi_modes_[i] = UINT32(atoi(tokens[i]));
445 char *tokens[scan_info_max_count] = { NULL }; local
446 ParseLine(data, tokens, scan_info_max_count, &scan_info_count);
452 hw_scan_info_.pt_scan_support = MapHWScanSupport(UINT32(atoi(tokens[0])));
453 hw_scan_info_.it_scan_support = MapHWScanSupport(UINT32(atoi(tokens[1])));
454 hw_scan_info_.cea_scan_support = MapHWScanSupport(UINT32(atoi(tokens[2])));
H A Dhw_device.cpp753 char *tokens[max_count] = { NULL }; local
754 if (!ParseLine(line.c_str(), "=\n", tokens, max_count, &token_count)) {
755 if (!strncmp(tokens[0], "panel_name", strlen("panel_name"))) {
756 snprintf(panel_info->panel_name, sizeof(panel_info->panel_name), "%s", tokens[1]);
776 char *tokens[max_count] = { NULL }; local
777 if (!ParseLine(line.c_str(), tokens, max_count, &token_count)) {
778 if (!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
779 panel_info->partial_update = atoi(tokens[1]);
780 } else if (!strncmp(tokens[0], "xstart", strlen("xstart"))) {
781 panel_info->left_align = atoi(tokens[
867 char *tokens[max_count] = { NULL }; local
901 ParseLine(const char *input, char *tokens[], const uint32_t max_token, uint32_t *count) argument
920 ParseLine(const char *input, const char *delim, char *tokens[], const uint32_t max_token, uint32_t *count) argument
[all...]
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
H A Dhw_info.cpp71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, argument
81 tokens[index++] = tmp_token;
125 char *tokens[max_count] = { NULL }; local
128 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) {
129 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) {
130 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1]));
131 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) {
132 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1]));
133 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) {
134 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[
167 char *tokens[max_count] = { NULL }; local
374 char *tokens[max_count] = { NULL }; local
479 ParseFormats(char *tokens[], uint32_t token_count, HWSubBlockType sub_blk_type, HWResourceInfo *hw_resource) argument
[all...]
H A Dhw_device.cpp829 char *tokens[max_count] = { NULL }; local
830 if (!ParseLine(line.c_str(), "=\n", tokens, max_count, &token_count)) {
831 if (!strncmp(tokens[0], "panel_name", strlen("panel_name"))) {
832 snprintf(panel_info->panel_name, sizeof(panel_info->panel_name), "%s", tokens[1]);
852 char *tokens[max_count] = { NULL }; local
853 if (!ParseLine(line.c_str(), tokens, max_count, &token_count)) {
854 if (!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
855 panel_info->partial_update = atoi(tokens[1]);
856 } else if (!strncmp(tokens[0], "xstart", strlen("xstart"))) {
857 panel_info->left_align = atoi(tokens[
956 char *tokens[max_count] = { NULL }; local
990 ParseLine(const char *input, char *tokens[], const uint32_t max_token, uint32_t *count) argument
1009 ParseLine(const char *input, const char *delim, char *tokens[], const uint32_t max_token, uint32_t *count) argument
[all...]
H A Dhw_hdmi.cpp179 char *tokens[edid_count_max] = { NULL }; local
182 ParseLine(ptr, tokens, edid_count_max, &hdmi_mode_count);
188 hdmi_modes_[i] = UINT32(atoi(tokens[i]));
420 char *tokens[scan_info_max_count] = { NULL }; local
421 ParseLine(data, tokens, scan_info_max_count, &scan_info_count);
427 hw_scan_info_.pt_scan_support = MapHWScanSupport(UINT32(atoi(tokens[0])));
428 hw_scan_info_.it_scan_support = MapHWScanSupport(UINT32(atoi(tokens[1])));
429 hw_scan_info_.cea_scan_support = MapHWScanSupport(UINT32(atoi(tokens[2])));
/hardware/qcom/display/msm8226/libqdutils/
H A Dmdp_version.cpp175 char *tokens[10]; local
176 memset(tokens, 0, sizeof(tokens));
178 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens,
180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
181 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]);
186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) {
187 mPanelInfo.mLeftAlign = atoi(tokens[1]);
190 if(!strncmp(tokens[0], "walign", strlen("walign"))) {
191 mPanelInfo.mWidthAlign = atoi(tokens[
252 char *tokens[10]; local
[all...]
/hardware/qcom/display/msm8909/libqdutils/
H A Dmdp_version.cpp190 char *tokens[10]; local
191 memset(tokens, 0, sizeof(tokens));
193 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens,
195 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
196 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]);
201 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) {
202 mPanelInfo.mLeftAlign = atoi(tokens[1]);
205 if(!strncmp(tokens[0], "walign", strlen("walign"))) {
206 mPanelInfo.mWidthAlign = atoi(tokens[
286 char *tokens[10]; local
[all...]
/hardware/qcom/display/msm8994/libqdutils/
H A Dmdp_version.cpp198 char *tokens[10]; local
199 memset(tokens, 0, sizeof(tokens));
201 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens,
203 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
204 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]);
209 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) {
210 mPanelInfo.mLeftAlign = atoi(tokens[1]);
213 if(!strncmp(tokens[0], "walign", strlen("walign"))) {
214 mPanelInfo.mWidthAlign = atoi(tokens[
295 char *tokens[10]; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dencodemb.c229 vp8_token_state tokens[17][2]; local
283 tokens[eob][0].rate = 0;
284 tokens[eob][0].error = 0;
285 tokens[eob][0].next = 16;
286 tokens[eob][0].token = DCT_EOB_TOKEN;
287 tokens[eob][0].qc = 0;
288 *(tokens[eob] + 1) = *(tokens[eob] + 0);
302 error0 = tokens[next][0].error;
303 error1 = tokens[nex
[all...]
H A Dbitstream.c400 int tokens = (int)(stop - p); local
402 vp8_pack_tokens_c(w, p, tokens);
419 int tokens = (int)(stop - p); local
421 vp8_pack_tokens_c(w, p, tokens);
H A Donyx_if.c1190 unsigned int tokens = 8 * 24 * 16; /* one MB for each thread */ local
1192 unsigned int tokens = cm->mb_rows * cm->mb_cols * 24 * 16; local
1194 CHECK_MEM_ERROR(cpi->tok, vpx_calloc(tokens, sizeof(*cpi->tok)));

Completed in 1885 milliseconds