Loading media/libstagefright/codecs/avc/enc/src/avcenc_api.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -573,7 +573,7 @@ OSCL_EXPORT_REF AVCEnc_Status PVAVCEncGetRecon(AVCHandle *avcHandle, AVCFrameIO recon->pitch = currFS->frame.pitch; recon->disp_order = currFS->PicOrderCnt; recon->coding_order = currFS->FrameNum; recon->id = (uint32) currFS->base_dpb; /* use the pointer as the id */ recon->id = (intptr_t) currFS->base_dpb; /* use the pointer as the id */ currFS->IsOutputted |= 1; Loading media/libstagefright/codecs/avc/enc/src/motion_comp.cpp +7 −7 Original line number Diff line number Diff line Loading @@ -198,7 +198,7 @@ void eCreateAlign(uint8 *ref, int picpitch, int y_pos, out_offset = 24 - blkwidth; //switch(x_pos&0x3){ switch (((uint32)ref)&0x3) switch (((intptr_t)ref)&0x3) { case 1: offset = picpitch - blkwidth - 3; Loading Loading @@ -788,7 +788,7 @@ void eVertInterp1MC(uint8 *in, int inpitch, uint8 *out, int outpitch, uint8 tmp_in[24][24]; /* not word-aligned */ if (((uint32)in)&0x3) if (((intptr_t)in)&0x3) { eCreateAlign(in, inpitch, -2, &tmp_in[0][0], blkwidth, blkheight + 5); in = &tmp_in[2][0]; Loading Loading @@ -1461,7 +1461,7 @@ void eDiagonalInterpMC(uint8 *in1, uint8 *in2, int inpitch, /* perform vertical interpolation */ /* not word-aligned */ if (((uint32)in2)&0x3) if (((intptr_t)in2)&0x3) { eCreateAlign(in2, inpitch, -2, &tmp_in[0][0], blkwidth, blkheight + 5); in2 = &tmp_in[2][0]; Loading Loading @@ -1655,7 +1655,7 @@ void eFullPelMC(uint8 *in, int inpitch, uint8 *out, int outpitch, uint32 temp; uint8 byte; if (((uint32)in)&3) if (((intptr_t)in)&3) { for (j = blkheight; j > 0; j--) { Loading Loading @@ -1716,7 +1716,7 @@ void ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos else start = ref + x_pos; /* word-align start */ offset = (uint32)start & 0x3; offset = (intptr_t)start & 0x3; if (offset) start -= offset; word1 = *((uint32*)start); Loading @@ -1742,7 +1742,7 @@ void ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos else start = ref + picpitch * (picheight - 1) + x_pos; /* word-align start */ offset = (uint32)start & 0x3; offset = (intptr_t)start & 0x3; if (offset) start -= offset; word1 = *((uint32*)start); Loading Loading @@ -2117,7 +2117,7 @@ void eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint16 temp; uint8 byte; if (((uint32)pRef)&1) if (((intptr_t)pRef)&1) { for (j = blkheight; j > 0; j--) { Loading media/libstagefright/codecs/avc/enc/src/sad_inline.h +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ extern "C" x9 = 0x80808080; /* const. */ x8 = (uint32)ref & 0x3; x8 = (intptr_t)ref & 0x3; if (x8 == 3) goto SadMBOffset3; if (x8 == 2) Loading Loading
media/libstagefright/codecs/avc/enc/src/avcenc_api.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -573,7 +573,7 @@ OSCL_EXPORT_REF AVCEnc_Status PVAVCEncGetRecon(AVCHandle *avcHandle, AVCFrameIO recon->pitch = currFS->frame.pitch; recon->disp_order = currFS->PicOrderCnt; recon->coding_order = currFS->FrameNum; recon->id = (uint32) currFS->base_dpb; /* use the pointer as the id */ recon->id = (intptr_t) currFS->base_dpb; /* use the pointer as the id */ currFS->IsOutputted |= 1; Loading
media/libstagefright/codecs/avc/enc/src/motion_comp.cpp +7 −7 Original line number Diff line number Diff line Loading @@ -198,7 +198,7 @@ void eCreateAlign(uint8 *ref, int picpitch, int y_pos, out_offset = 24 - blkwidth; //switch(x_pos&0x3){ switch (((uint32)ref)&0x3) switch (((intptr_t)ref)&0x3) { case 1: offset = picpitch - blkwidth - 3; Loading Loading @@ -788,7 +788,7 @@ void eVertInterp1MC(uint8 *in, int inpitch, uint8 *out, int outpitch, uint8 tmp_in[24][24]; /* not word-aligned */ if (((uint32)in)&0x3) if (((intptr_t)in)&0x3) { eCreateAlign(in, inpitch, -2, &tmp_in[0][0], blkwidth, blkheight + 5); in = &tmp_in[2][0]; Loading Loading @@ -1461,7 +1461,7 @@ void eDiagonalInterpMC(uint8 *in1, uint8 *in2, int inpitch, /* perform vertical interpolation */ /* not word-aligned */ if (((uint32)in2)&0x3) if (((intptr_t)in2)&0x3) { eCreateAlign(in2, inpitch, -2, &tmp_in[0][0], blkwidth, blkheight + 5); in2 = &tmp_in[2][0]; Loading Loading @@ -1655,7 +1655,7 @@ void eFullPelMC(uint8 *in, int inpitch, uint8 *out, int outpitch, uint32 temp; uint8 byte; if (((uint32)in)&3) if (((intptr_t)in)&3) { for (j = blkheight; j > 0; j--) { Loading Loading @@ -1716,7 +1716,7 @@ void ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos else start = ref + x_pos; /* word-align start */ offset = (uint32)start & 0x3; offset = (intptr_t)start & 0x3; if (offset) start -= offset; word1 = *((uint32*)start); Loading @@ -1742,7 +1742,7 @@ void ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos else start = ref + picpitch * (picheight - 1) + x_pos; /* word-align start */ offset = (uint32)start & 0x3; offset = (intptr_t)start & 0x3; if (offset) start -= offset; word1 = *((uint32*)start); Loading Loading @@ -2117,7 +2117,7 @@ void eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint16 temp; uint8 byte; if (((uint32)pRef)&1) if (((intptr_t)pRef)&1) { for (j = blkheight; j > 0; j--) { Loading
media/libstagefright/codecs/avc/enc/src/sad_inline.h +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ extern "C" x9 = 0x80808080; /* const. */ x8 = (uint32)ref & 0x3; x8 = (intptr_t)ref & 0x3; if (x8 == 3) goto SadMBOffset3; if (x8 == 2) Loading