Home | History | Annotate | Download | only in src

Lines Matching refs:temp

790     uint8* temp = (uint8 *)OSCL_MALLOC(sizeof(uint8) * length);
794 if (temp)
796 sps = temp; // Make a copy of the original pointer to be freed later
808 OSCL_FREE(temp);
835 OSCL_FREE(temp);
844 OSCL_FREE(temp);
859 OSCL_FREE(temp);
877 OSCL_FREE(temp);
905 OSCL_FREE(temp);
930 uint32 temp;
935 ReadBits(psBits, 8, &temp);
937 if ((temp & 0x1F) != 7) {
942 ReadBits(psBits, 8, &temp);
943 *profile_idc = temp;
946 ReadBits(psBits, 1, &temp);
947 ReadBits(psBits, 1, &temp);
948 ReadBits(psBits, 1, &temp);
949 ReadBits(psBits, 1, &temp);
951 LOGV("intel: --- profile_idc = %d ---\n", temp);
954 ReadBits(psBits, 4, &temp);
957 ReadBits(psBits, 8, &temp);
958 *level_idc = temp;
960 if (temp > 51)
964 ue_v(psBits, &temp);
969 ue_v(psBits, &temp);
970 if(temp == 3) {
972 ReadBits(psBits, 1, &temp);
975 ue_v(psBits, &temp);
978 ue_v(psBits, &temp);
981 ReadBits(psBits, 1, &temp);
984 ReadBits(psBits, 1, &temp);
986 if(temp) {
989 ReadBits(psBits, 1, &temp);
990 if(temp) {
1002 ue_v(psBits, &temp);
1005 ue_v(psBits, &temp);
1007 if (temp == 0)
1009 ue_v(psBits, &temp);
1011 else if (temp == 1)
1013 ReadBits(psBits, 1, &temp);
1016 ue_v(psBits, &temp);
1018 for (i = 0; i < temp; i++)
1025 ue_v(psBits, &temp);
1028 ReadBits(psBits, 1, &temp);
1032 ue_v(psBits, &temp);
1033 *display_width = *width = (temp + 1) << 4;
1036 ue_v(psBits, &temp);
1037 *display_height = *height = (temp + 1) << 4;
1043 ReadBits(psBits, 1, &temp);
1045 if (!temp)
1048 ReadBits(psBits,1, &temp);
1052 ReadBits(psBits, 1, &temp);
1055 ReadBits(psBits, 1, &temp);
1057 if (temp)
1072 ReadBits(psBits, 1, &temp);
1073 if (temp)
1088 uint temp;
1093 ReadBits(psBits, 1, &temp); /* aspect_ratio_info_present_flag */
1094 if (temp)
1099 ReadBits(psBits, 16, &temp); /* sar_width */
1100 ReadBits(psBits, 16, &temp); /* sar_height */
1103 ReadBits(psBits, 1, &temp); /* overscan_info_present */
1104 if (temp)
1108 ReadBits(psBits, 1, &temp); /* video_signal_type_present_flag */
1109 if (temp)
1113 ReadBits(psBits, 1, &temp); /* colour_description_present_flag */
1114 if (temp)
1116 ReadBits(psBits, 8, &temp); /* colour_primaries */
1117 ReadBits(psBits, 8, &temp); /* transfer_characteristics */
1118 ReadBits(psBits, 8, &temp); /* matrix coefficients */
1121 ReadBits(psBits, 1, &temp);/* chroma_loc_info_present_flag */
1122 if (temp)
1124 ue_v(psBits, &temp); /* chroma_sample_loc_type_top_field */
1125 ue_v(psBits, &temp); /* chroma_sample_loc_type_bottom_field */
1128 ReadBits(psBits, 1, &temp); /* timing_info_present_flag*/
1129 if (temp)
1133 ReadBits(psBits, 1, &temp); /* fixed_frame_rate_flag */
1136 ReadBits(psBits, 1, &temp); /* nal_hrd_parameters_present_flag */
1137 if (temp)
1152 if (temp || temp32)
1154 ReadBits(psBits, 1, &temp); /* low_delay_hrd_flag */
1156 ReadBits(psBits, 1, &temp); /* pic_struct_present_flag */
1157 status = ReadBits(psBits, 1, &temp); /* _restriction_flag */
1163 if (temp)
1165 ReadBits(psBits, 1, &temp); /* motion_vectors_over_pic_boundaries_flag */
1166 ue_v(psBits, &temp); /* max_bytes_per_pic_denom */
1167 ue_v(psBits, &temp); /* max_bits_per_mb_denom */
1168 ue_v(psBits, &temp); /* log2_max_mv_length_horizontal */
1169 ue_v(psBits, &temp); /* log2_max_mv_length_vertical */
1170 ue_v(psBits, &temp); /* num_reorder_frames */
1171 ue_v(psBits, &temp); /* max_dec_frame_buffering */
1180 uint temp;
1186 ReadBits(psBits, 4, &temp); /* bit_rate_scale */
1187 ReadBits(psBits, 4, &temp); /* cpb_size_scale */
1190 ue_v(psBits, &temp); /* bit_rate_value_minus1[i] */
1191 ue_v(psBits, &temp); /* cpb_size_value_minus1[i] */
1192 ue_v(psBits, &temp); /* cbr_flag[i] */
1194 ReadBits(psBits, 5, &temp); /* initial_cpb_removal_delay_length_minus1 */
1195 ReadBits(psBits, 5, &temp); /* cpb_removal_delay_length_minus1 */
1196 ReadBits(psBits, 5, &temp); /* dpb_output_delay_length_minus1 */
1197 status = ReadBits(psBits, 5, &temp); /* time_offset_length */
1211 uint32 temp, pic_parameter_set_id, seq_parameter_set_id, entropy_coding_mode_flag;
1213 ReadBits(psBits, 8, &temp);
1215 if ((temp & 0x1F) != 8) return MP4_INVALID_VOL_PARAM;
1231 uint32 temp;
1234 ShowBits(psBits, 16, &temp);
1236 tmp_cnt = temp | 0x1;
1242 *codeNum = (temp >> (15 - (leading_zeros << 1))) - 1;
1249 ReadBits(psBits, (leading_zeros << 1) + 1, &temp);
1250 *codeNum = temp - 1;
1260 uint32 temp;
1264 ReadBits(psBits, 1, &temp);
1265 while (!temp)
1268 if (ReadBits(psBits, 1, &temp))
1273 ReadBits(psBits, leadingZeros, &temp);