/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/wilhelm/src/itf/ |
H A D | I3DMacroscopic.c | 23 SLmillimeter width, SLmillimeter height, SLmillimeter depth) 27 if (!((0 <= width) && (width <= SL_MILLIMETER_MAX) && 34 thiz->mSize.mWidth = width; 55 SLmillimeter width = thiz->mSize.mWidth; local 59 *pWidth = width; 22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
|
/frameworks/av/camera/ |
H A D | IProCameraUser.cpp | 142 virtual status_t createStream(int width, int height, int format, argument 149 data.writeInt32(width); 266 int width, height, format; local 268 width = data.readInt32(); 277 ret = createStream(width, height, format, bp, &streamId);
|
H A D | ProCamera.cpp | 182 status_t ProCamera::createStream(int width, int height, int format, argument 189 ALOGV("%s: createStreamW %dx%d (fmt=0x%x)", __FUNCTION__, width, height, 196 return createStream(width, height, format, 201 status_t ProCamera::createStream(int width, int height, int format, argument 207 ALOGV("%s: createStreamT %dx%d (fmt=0x%x)", __FUNCTION__, width, height, 215 status_t stat = c->createStream(width, height, format, bufferProducer, 227 status_t ProCamera::createStreamCpu(int width, int height, int format, argument 232 return createStreamCpu(width, height, format, heapCount, 237 status_t ProCamera::createStreamCpu(int width, int height, int format, argument 244 ALOGV("%s: createStreamW %dx%d (fmt=0x%x)", __FUNCTION__, width, heigh [all...] |
/frameworks/av/camera/camera2/ |
H A D | ICameraDeviceUser.cpp | 211 virtual status_t createStream(int width, int height, int format, argument 216 data.writeInt32(width); 399 int width, height, format; local 401 width = data.readInt32(); 402 ALOGV("%s: CREATE_STREAM: width = %d", __FUNCTION__, width); 422 ret = createStream(width, height, format, bp);
|
/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 143 int width = mEglWindow.getWidth(); local 146 glViewport(0, 0, width, height); 164 mTextRenderer.setScreenSize(width, height); 178 mGlConsumer->setDefaultBufferSize(width, height); 220 int width = mEglWindow.getWidth(); local 224 100, 100, width-200, height-200); 227 0, 0, width, height); 234 100, 100, width-200, height-200); 296 int width = window.getWidth(); local 298 glViewport(0, 0, width, heigh 331 int width = window.getWidth(); local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 112 int width , height; local 113 CHECK(format->findInt32("width", &width)); 115 bufferSize = width * height * 4; // Assuming it is maximally 4BPP
|
H A D | recordvideo.cpp | 42 fprintf(stderr, " -w width in pixels (default: 176)\n"); 55 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 56 : mWidth(width), 61 mSize((width * height * 3) / 2) { 161 int width = 176; local 212 width = atoi(optarg); 269 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 283 enc_meta->setInt32(kKeyWidth, width); 287 enc_meta->setInt32(kKeyStride, width);
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 154 uint32_t width, uint32_t height) { 157 data.writeInt32(width); 307 int32_t width = data.readInt32(); local 309 notifyResolution(width, height); 153 notifyResolution( uint32_t width, uint32_t height) argument
|
H A D | mediarecorder.cpp | 330 status_t MediaRecorder::setVideoSize(int width, int height) argument 332 ALOGV("setVideoSize(%d, %d)", width, height); 346 status_t ret = mMediaRecorder->setVideoSize(width, height);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 260 void Crypto::notifyResolution(uint32_t width, uint32_t height) { argument 264 mPlugin->notifyResolution(width, height);
|
H A D | MediaRecorderClient.cpp | 179 status_t MediaRecorderClient::setVideoSize(int width, int height) argument 181 ALOGV("setVideoSize(%dx%d)", width, height); 187 return mRecorder->setVideoSize(width, height);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 228 int32_t width; local 231 format->findInt32("width", &width) && format->findInt32("height", &height)) {
|
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 351 size_t width = 1; local 353 ++width; 357 timestamp.appendFormat("[%*s]", (int) width + 4, "");
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 87 mVideoWidth = videoSize.width; 90 if (OK == mInitCheck && !trySettingVideoSize(videoSize.width, videoSize.height)) { 123 int32_t width, int32_t height) { 141 int32_t pictureWidth = supportedSizes[i].width; 144 if ((pictureWidth == width) && (pictureHeight == height)) { 151 ALOGV("Video size (%d, %d) is supported", width, height); 153 params.setVideoSize(width, height); 155 params.setPreviewSize(width, height); 160 ALOGE("Failed to set preview size to %dx%d", width, height); 122 trySettingVideoSize( int32_t width, int32_t height) argument
|
H A D | JPEGSource.cpp | 207 uint16_t width, height; local 209 || !mSource->getUInt16(i + 3, &width)) { 213 mWidth = width;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | bit_cnt.c | 43 const Word16 width, 58 for(i=0;i<width;i+=4){ 119 const Word16 width, 133 for(i=0;i<width;i+=4){ 193 const Word16 width, 207 for(i=0;i<width;i+=2){ 250 const Word16 width, 262 for(i=0;i<width;i+=2){ 298 const Word16 width, 310 for(i=0;i<width; 42 count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 118 count3_4_5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 192 count5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 249 count7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 297 count9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 345 count11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 386 countEsc(const Word16 *values, const Word16 width, Word16 *bitCount) argument 469 bitCount(const Word16 *values, const Word16 width, Word16 maxVal, Word16 *bitCount) argument 495 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 130 int16 width; /* Width */ member in struct:tagVideoRefCopyInfoData 132 int16 realWidth; /* Non-padded width, not a multiple of 16. */ 150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode); 151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | block_idct.cpp | 123 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width); 124 static void idctrow_intra(int16 *blk, PIXEL *, int width); 231 int width, width_uv; local 233 width = video->width; 234 width_uv = width >> 1; 235 offset = (int32)(y_pos << 4) * width + (x_pos << 4); 241 BlockIDCT_intra(mblock, c_comp, 0, width); 242 BlockIDCT_intra(mblock, c_comp + 8, 1, width); 243 BlockIDCT_intra(mblock, c_comp + (width << 250 BlockIDCT_intra( MacroBlock *mblock, PIXEL *c_comp, int comp, int width) argument 323 Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) argument 348 BlockIDCT( uint8 *dst, uint8 *pred, int16 *coeff_in, int width, int nz_coefs, uint8 *bitmapcol, uint8 bitmaprow ) argument [all...] |
H A D | combined_decode.cpp | 539 int width = video->width; local 555 int32 offset = (int32)(y_pos << 4) * width + (x_pos << 4); 677 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp], 707 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 731 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5], 759 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp], 785 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> [all...] |
H A D | datapart_decode.cpp | 626 int width = video->width; local 715 offset = (int32)(y_pos << 4) * width + (x_pos << 4); 731 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp], 755 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 775 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
|
H A D | mb_motion_comp.cpp | 140 int height, width, pred_width; local 168 /* width of luminance data in pixels (y axis) */ 169 width = video->width; 184 /* ypos*width -> row, +x -> column */ 185 offset = (int32)ypos * width + xpos; 251 video->mblock->pred_block, width, height, 267 pred_width = width; 271 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) && 277 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width), 558 int width, width_uv; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 43 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local 210 offset += (lx << 4) - width; 271 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local 524 offset += (lx << 4) - width; 539 offset += (lx << 4) - width;
|
H A D | fastcodemb.cpp | 78 Int width = currVop->width; local 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ 151 dctMode = ((width << 3) - 8); 163 if (lx != width) input -= (ind_y << 7); 165 width >>= 1; 168 sad = getBlockSum(input, width); 178 sad = Sad8x8(input, pred, width); 184 if (lx != width) input -= (ind_y << 7); 187 sad = getBlockSum(input, width); 309 Int width = currVop->width; local 530 Sad8x8(UChar *cur, UChar *prev, Int width) argument 594 getBlockSum(UChar *cur, Int width) argument [all...] |
H A D | findhalfpel.cpp | 34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height, 80 Int width = video->currVop->width; /* padding */ local 102 else if (imin >= width - 1) 113 else if (imin >= width - 16) 195 Int width = video->currVop->width; /* , padding */ local 222 else if (imin >= width - 1) 231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
|