Lines Matching refs:extraBit

68     int extraBit, extraByte = 0;  in Exynos_parsing_user_data_registered_itu_t_t35()  local
142 extraBit = (bit_offset % 8); in Exynos_parsing_user_data_registered_itu_t_t35()
143 data = data >> (8 - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
150 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
154 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
161 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
162 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
166 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
167 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
173 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
177 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
184 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
185 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
189 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
190 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
196 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
200 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
207 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
208 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
212 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
213 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
219 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
223 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
230 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
231 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
235 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
236 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
242 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
246 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
253 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
254 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
258 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
259 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
265 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
269 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
276 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
277 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
281 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
282 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
288 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
292 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
299 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
300 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
304 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
305 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
311 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
315 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
322 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
323 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
327 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
328 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
334 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
338 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
345 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
346 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
350 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
351 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
357 if (extraBit > 0) in Exynos_parsing_user_data_registered_itu_t_t35()
361 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
368 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
369 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
373 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
374 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
380 data |= (*((char *)src + (bit_offset / 8)) & (1 << (7 - extraBit))); in Exynos_parsing_user_data_registered_itu_t_t35()
384 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
385 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
392 if (extraBit > 5) in Exynos_parsing_user_data_registered_itu_t_t35()
394 else if (extraBit <= 5) in Exynos_parsing_user_data_registered_itu_t_t35()
398 for (j = extraBit; j < 8; j++) { in Exynos_parsing_user_data_registered_itu_t_t35()
405 extraBit += (j - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
406 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
410 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
411 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
417 data |= (*((char *)src + (bit_offset / 8)) & (1 << (7 - extraBit))); in Exynos_parsing_user_data_registered_itu_t_t35()
420 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
421 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
429 if (extraBit > 3) in Exynos_parsing_user_data_registered_itu_t_t35()
433 for (j = extraBit; j < 8; j++) { in Exynos_parsing_user_data_registered_itu_t_t35()
440 extraBit += (j - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
441 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
445 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
446 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
453 if (extraBit > 3) in Exynos_parsing_user_data_registered_itu_t_t35()
457 for (j = extraBit; j < 8; j++) { in Exynos_parsing_user_data_registered_itu_t_t35()
464 extraBit += (j - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
465 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
469 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
470 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
479 if (extraBit > 4) in Exynos_parsing_user_data_registered_itu_t_t35()
483 for (l = extraBit; l < 8; l++) { in Exynos_parsing_user_data_registered_itu_t_t35()
490 extraBit += (l - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
491 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
495 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
496 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
508 for (l = extraBit; l < 8; l++) { in Exynos_parsing_user_data_registered_itu_t_t35()
515 extraBit += (l - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
516 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
519 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
521 if (extraBit != 0) in Exynos_parsing_user_data_registered_itu_t_t35()
522 data = data >> (8 - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
531 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
538 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
539 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
542 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
543 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
549 if (extraBit > 4) in Exynos_parsing_user_data_registered_itu_t_t35()
553 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
560 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
561 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
565 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
566 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
573 if (extraBit > 1) in Exynos_parsing_user_data_registered_itu_t_t35()
577 for (l = extraBit; l < 8; l++) { in Exynos_parsing_user_data_registered_itu_t_t35()
584 extraBit += (l - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
585 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
589 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
590 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
596 if (extraBit >= 0) in Exynos_parsing_user_data_registered_itu_t_t35()
600 for (l = extraBit; l < 8; l++) { in Exynos_parsing_user_data_registered_itu_t_t35()
607 extraBit += (l - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
608 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
612 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
613 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
620 if (extraBit > 6) in Exynos_parsing_user_data_registered_itu_t_t35()
622 else if (extraBit <= 6) in Exynos_parsing_user_data_registered_itu_t_t35()
626 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
633 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
634 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
638 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
639 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
646 data |= (*((char *)src + (bit_offset / 8)) & (1 << (7 - extraBit))); in Exynos_parsing_user_data_registered_itu_t_t35()
649 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
650 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
658 if (extraBit > 3) in Exynos_parsing_user_data_registered_itu_t_t35()
662 for (j = extraBit; j < 8; j++) { in Exynos_parsing_user_data_registered_itu_t_t35()
669 extraBit += (j - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
670 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
674 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
675 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
682 if (extraBit > 3) in Exynos_parsing_user_data_registered_itu_t_t35()
686 for (j = extraBit; j < 8; j++) { in Exynos_parsing_user_data_registered_itu_t_t35()
693 extraBit += (j - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
694 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
698 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
699 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
708 if (extraBit > 4) in Exynos_parsing_user_data_registered_itu_t_t35()
712 for (l = extraBit; l < 8; l++) { in Exynos_parsing_user_data_registered_itu_t_t35()
719 extraBit += (l - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
720 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
724 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
725 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
735 data |= (*((char *)src + (bit_offset / 8)) & (1 << (7 - extraBit))); in Exynos_parsing_user_data_registered_itu_t_t35()
738 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
739 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
746 if (extraBit > 4) in Exynos_parsing_user_data_registered_itu_t_t35()
748 else if (extraBit <= 4) in Exynos_parsing_user_data_registered_itu_t_t35()
752 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
759 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
760 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
764 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
765 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
771 if (extraBit > 4) in Exynos_parsing_user_data_registered_itu_t_t35()
773 else if (extraBit <= 4) in Exynos_parsing_user_data_registered_itu_t_t35()
777 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
784 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
785 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
789 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
790 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
796 if (extraBit > 4) in Exynos_parsing_user_data_registered_itu_t_t35()
800 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
807 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
808 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
812 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
813 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
820 if (extraBit > 6) in Exynos_parsing_user_data_registered_itu_t_t35()
822 else if (extraBit <= 6) in Exynos_parsing_user_data_registered_itu_t_t35()
826 for (l = extraBit; l < 8; l++) { in Exynos_parsing_user_data_registered_itu_t_t35()
833 extraBit += (l - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
834 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
838 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
839 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
847 data |= (*((char *)src + (bit_offset / 8)) & (1 << (7 - extraBit))); in Exynos_parsing_user_data_registered_itu_t_t35()
851 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
852 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
859 if (extraBit > 2) in Exynos_parsing_user_data_registered_itu_t_t35()
863 for (k = extraBit; k < 8; k++) { in Exynos_parsing_user_data_registered_itu_t_t35()
870 extraBit += (k - extraBit); in Exynos_parsing_user_data_registered_itu_t_t35()
871 extraBit %= 8; in Exynos_parsing_user_data_registered_itu_t_t35()
875 extraBit = bit_offset % 8; in Exynos_parsing_user_data_registered_itu_t_t35()
876 data = (extraBit != 0) ? (data >> (8 - extraBit)) : data; in Exynos_parsing_user_data_registered_itu_t_t35()
894 int extraBit = 0; in Exynos_dynamic_meta_to_itu_t_t35() local
922 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
937 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
952 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
965 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
978 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
983 tempBuffer = pHDRDynamicInfo->data.num_windows << (6 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
992 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
999 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1003 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1009 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1017 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1026 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1030 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1036 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1044 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1053 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1057 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1063 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1071 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1080 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1084 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1090 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1098 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1107 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1111 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1117 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1125 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1134 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1138 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1144 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1152 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1161 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1165 tempBuffer = tempBuffer << (24 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1171 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1179 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1188 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1192 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1198 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1206 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1215 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1219 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1225 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1233 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1242 if (extraBit > 0) in Exynos_dynamic_meta_to_itu_t_t35()
1246 tempBuffer = tempBuffer << (16 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1252 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1260 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1268 *((char *)pBlob + (bit_offset / 8)) |= (1 << (7 - extraBit)); in Exynos_dynamic_meta_to_itu_t_t35()
1272 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1279 tempBuffer = tempBuffer << (5 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1285 for (j = extraBit; j < 8; j++) { in Exynos_dynamic_meta_to_itu_t_t35()
1292 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1299 *((char *)pBlob + (bit_offset / 8)) |= (1 << (7 - extraBit)); in Exynos_dynamic_meta_to_itu_t_t35()
1302 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1308 if (extraBit > 3) in Exynos_dynamic_meta_to_itu_t_t35()
1312 tempBuffer = tempBuffer << (27 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1318 for (j = extraBit; j < 8; j++) { in Exynos_dynamic_meta_to_itu_t_t35()
1326 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1335 if (extraBit > 3) in Exynos_dynamic_meta_to_itu_t_t35()
1339 tempBuffer = tempBuffer << (27 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1345 for (j = extraBit; j < 8; j++) { in Exynos_dynamic_meta_to_itu_t_t35()
1353 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1364 if (extraBit > 4) in Exynos_dynamic_meta_to_itu_t_t35()
1368 tempBuffer = tempBuffer << (28 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1374 for (l = extraBit; l < 8; l++) { in Exynos_dynamic_meta_to_itu_t_t35()
1382 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1396 tempBuffer = pHDRDynamicInfo->data.maxscl[i][j] << (15 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1402 for (l = extraBit; l < 8; l++) { in Exynos_dynamic_meta_to_itu_t_t35()
1409 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1418 tempBuffer = pHDRDynamicInfo->data.average_maxrgb[i] << (15 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1424 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1431 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1439 if (extraBit > 4) in Exynos_dynamic_meta_to_itu_t_t35()
1442 tempBuffer = pHDRDynamicInfo->data.num_maxrgb_percentiles[i] << (28 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1448 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1455 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1465 if (extraBit > 1) in Exynos_dynamic_meta_to_itu_t_t35()
1469 tempBuffer = tempBuffer << (25 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1475 for (l = extraBit; l < 8; l++) { in Exynos_dynamic_meta_to_itu_t_t35()
1483 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1492 tempBuffer = pHDRDynamicInfo->data.maxrgb_percentiles[i][j] << (15 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1498 for (l = extraBit; l < 8; l++) { in Exynos_dynamic_meta_to_itu_t_t35()
1506 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1513 if (extraBit > 6) in Exynos_dynamic_meta_to_itu_t_t35()
1519 tempBuffer = tempBuffer << (22 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1525 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1533 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1542 *((char *)pBlob + (bit_offset / 8)) |= (1 << (7 - extraBit)); in Exynos_dynamic_meta_to_itu_t_t35()
1545 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1551 if (extraBit > 3) in Exynos_dynamic_meta_to_itu_t_t35()
1555 tempBuffer = tempBuffer << (27 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1561 for (j = extraBit; j < 8; j++) { in Exynos_dynamic_meta_to_itu_t_t35()
1569 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1578 if (extraBit > 3) in Exynos_dynamic_meta_to_itu_t_t35()
1582 tempBuffer = tempBuffer << (27 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1588 for (j = extraBit; j < 8; j++) { in Exynos_dynamic_meta_to_itu_t_t35()
1596 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1607 if (extraBit > 4) in Exynos_dynamic_meta_to_itu_t_t35()
1611 tempBuffer = tempBuffer << (28 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1617 for (l = extraBit; l < 8; l++) { in Exynos_dynamic_meta_to_itu_t_t35()
1625 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1637 *((char *)pBlob + (bit_offset / 8)) |= (1 << (7 - extraBit)); in Exynos_dynamic_meta_to_itu_t_t35()
1640 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1644 if (extraBit > 4) in Exynos_dynamic_meta_to_itu_t_t35()
1650 tempBuffer = tempBuffer << (20 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1656 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1664 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1671 if (extraBit > 4) in Exynos_dynamic_meta_to_itu_t_t35()
1677 tempBuffer = tempBuffer << (20 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1683 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1691 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1698 if (extraBit > 4) in Exynos_dynamic_meta_to_itu_t_t35()
1704 tempBuffer = tempBuffer << (28 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1710 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1718 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1726 if (extraBit > 6) in Exynos_dynamic_meta_to_itu_t_t35()
1732 tempBuffer = tempBuffer << (22 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1738 for (l = extraBit; l < 8; l++) { in Exynos_dynamic_meta_to_itu_t_t35()
1746 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1756 *((char *)pBlob + (bit_offset / 8)) |= (1 << (7 - extraBit)); in Exynos_dynamic_meta_to_itu_t_t35()
1759 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1763 if (extraBit > 2) in Exynos_dynamic_meta_to_itu_t_t35()
1769 tempBuffer = tempBuffer << (26 - extraBit); in Exynos_dynamic_meta_to_itu_t_t35()
1775 for (k = extraBit; k < 8; k++) { in Exynos_dynamic_meta_to_itu_t_t35()
1783 extraBit = (bit_offset % 8); in Exynos_dynamic_meta_to_itu_t_t35()
1791 if(extraBit > 0) { in Exynos_dynamic_meta_to_itu_t_t35()