/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
intra_est.cpp | 32 bool IntraDecisionABE(AVCEncObject *encvid, int min_cost, uint8 *curL, int picPitch) 98 if (ABE*0.8 >= min_cost / 384.0) 116 int min_cost; local 128 min_cost = encvid->min_cost[mbnum]; 138 intra = IntraDecisionABE(encvid, min_cost, curL, picPitch); 150 find_cost_16x16(encvid, orgY, &min_cost); 171 mb_intra4x4_search(encvid, &min_cost); 173 encvid->min_cost[mbnum] = min_cost; /* update min_cost * 731 uint16 min_cost, cost; local [all...] |
avcenc_lib.h | 295 \param "min_cost" "Best inter cost." 301 //bool IntraDecisionABE(AVCEncObject *encvid, int min_cost, uint8 *curL, int picPitch); 302 bool IntraDecision(int *min_cost, uint8 *cur, int pitch, bool ave); 326 \param "min_cost" "Pointer to the minimal cost so-far." 329 void find_cost_16x16(AVCEncObject *encvid, uint8 *orgY, int *min_cost); 336 \param "min_cost" "Minimal cost so-far." 340 int cost_i16(uint8 *org, int org_pitch, uint8 *pred, int min_cost); 347 \param "min_cost" "Pointer to the minimal cost so-far." 350 void mb_intra4x4_search(AVCEncObject *encvid, int *min_cost); [all...] |
avcenc_api.cpp | 197 encvid->min_cost = (int*) avcHandle->CBAVC_Malloc(userData, sizeof(int) * framesize, DEFAULT_ATTR); 198 if (encvid->min_cost == NULL) 608 if (encvid->min_cost) 610 avcHandle->CBAVC_Free(userData, encvid->min_cost);
|
motion_est.cpp | 187 bool IntraDecisionABE(int *min_cost, uint8 *cur, int pitch, bool ave) 216 if (ABE >= *min_cost / 256.0) //if( ABE*0.8 >= min_cost/384.0) // 224 *min_cost = (*min_cost + (int)(SBE * 8)) >> 1; // possibility of intra, averaging the cost 228 *min_cost = (int)(SBE * 8); 280 encvid->min_cost[i] = 0x7FFFFFFF; /* max value for int */ 369 abe_cost = encvid->min_cost[mbnum] = mot_mb_16x16->sad; 406 abe_cost = encvid->min_cost[mbnum] = 0x7FFFFFFF; /* max value for int */ 447 encvid->min_cost[i] = 0x7FFFFFFF; /* max value for int * [all...] |
avcenc_int.h | 422 int *min_cost; /* Minimum cost for the all MBs */ member in struct:tagEncObject
|
/external/libavc/encoder/x86/ |
ih264e_intra_modes_eval_ssse3.c | 491 WORD32 min_cost; local 712 min_cost = MIN3(MIN3(cost[0], cost[1], cost[2]), 718 min_cost = MIN3(cost[0], cost[1], cost[2]); 721 *pu4_sadmin = min_cost; 723 if(min_cost == cost[0]) 727 else if(min_cost == cost[1]) 732 else if(min_cost == cost[2]) 737 else if(min_cost == cost[3]) 742 else if(min_cost == cost[4]) 747 else if(min_cost == cost[5] [all...] |
/external/libopus/src/ |
opus_encoder.c | 606 float min_cost; local 609 min_cost = cost[i-1][1]; 613 if (tmp < min_cost) 616 min_cost = tmp; 620 cost[i][1<<j] = min_cost; [all...] |