Searched refs:mot (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, argument
93 imin = xpos + (mot[0].x >> 1);
94 jmin = ypos + (mot[0].y >> 1);
123 dmin = mot[0].sad;
145 PV_ABS(mot[0].x + xh) + PV_ABS(mot[0].y + yh) < PV_ABS(mot[0].x + xhmin[0]) + PV_ABS(mot[0].y + yhmin[0]))
168 mot[0].sad = dmin;
169 mot[
184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
[all...]
H A Dmotion_est.cpp148 MOT *mot_mb, **mot = video->mot; local
194 mot_mb = mot[mbnum];
271 mot_mb = mot[mbnum];
482 mot_mb = mot[mbnum];
779 MOT **mot = video->mot; local
851 mot[mbnum][0].sad = dmin;
852 mot[mbnum][0].x = (imin - i0) << 1;
853 mot[mbnu
1355 MOT **mot = video->mot; local
[all...]
H A Dmotion_comp.cpp103 MOT *mot = video->mot[mbnum]; local
133 dx = mot[0].x;
134 dy = mot[0].y;
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec,
170 xsum = mot[1].x + mot[2].x + mot[3].x + mot[4].x;
171 ysum = mot[
239 EncPrediction_INTER4V( Int xpos, Int ypos, MOT *mot, UChar *c_prev, UChar *c_rec, Int lx, Int round1 ) argument
[all...]
H A Dvlc_encode.cpp1028 if ((Mode == MODE_INTER) && (video->mot[mbnum][0].x == 0) && (video->mot[mbnum][0].y == 0))
1030 else if ((Mode == MODE_INTER4V) && (video->mot[mbnum][1].x == 0) && (video->mot[mbnum][1].y == 0)
1031 && (video->mot[mbnum][2].x == 0) && (video->mot[mbnum][2].y == 0)
1032 && (video->mot[mbnum][3].x == 0) && (video->mot[mbnum][3].y == 0)
1033 && (video->mot[mbnum][4].x == 0) && (video->mot[mbnu
[all...]
H A Dmp4enc_lib.h105 void EncPrediction_INTER4V(Int xpred, Int ypred, MOT *mot, UChar *c_prev, UChar *c_rec,
137 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand,
139 Int FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[],
H A Dfastcodemb.cpp143 sad = video->mot[mbnum][k+1].sad;
370 sad = video->mot[mbnum][k+1].sad;
H A Dmp4enc_api.cpp657 video->mot = (MOT **)M4VENC_MALLOC(sizeof(MOT *) * nTotalMB);
658 if (video->mot == NULL) goto CLEAN_UP;
662 video->mot[idx] = (MOT *)M4VENC_MALLOC(sizeof(MOT) * 8);
663 if (video->mot[idx] == NULL)
1123 if (video->mot)
1131 if (video->mot[idx])
1132 M4VENC_FREE(video->mot[idx]);
1134 M4VENC_FREE(video->mot);
H A Dmp4lib_int.h350 MOT **mot; /* Motion vectors */ member in struct:tagVideoEncData
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp54 int AVCFindHalfPelMB(AVCEncObject *encvid, uint8 *cur, AVCMV *mot, uint8 *ncand, argument
86 mvcost = MV_COST_S(lambda_motion, mot->x, mot->y, cmvx, cmvy);
95 mvcost = MV_COST_S(lambda_motion, mot->x + xh[h], mot->y + yh[h], cmvx, cmvy);
106 mot->sad = dmin;
107 mot->x += xh[hmin];
108 mot->y += yh[hmin];
119 mvcost = MV_COST_S(lambda_motion, mot->x + xq[q], mot
[all...]
H A Davcenc_lib.h613 \param "mot" "Pointer to the AVCMV array of the frame."
621 int AVCFindHalfPelMB(AVCEncObject *encvid, uint8 *cur, AVCMV *mot, uint8 *ncand,

Completed in 2514 milliseconds