/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 121 int width , height; local 122 CHECK(format->findInt32("width", &width)); 124 bufferSize = width * height * 4; // Assuming it is maximally 4BPP
|
H A D | recordvideo.cpp | 49 fprintf(stderr, " -w width in pixels (default: 176)\n"); 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 63 : mWidth(width), 68 mSize((width * height * 3) / 2) { 168 int width = 176; local 219 width = atoi(optarg); 273 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 287 enc_meta->setInt32("width", width); 291 enc_meta->setInt32("stride", width); [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | Crypto.cpp | 270 void Crypto::notifyResolution(uint32_t width, uint32_t height) { argument 274 mPlugin->notifyResolution(width, height);
|
H A D | ICrypto.cpp | 165 uint32_t width, uint32_t height) { 168 data.writeInt32(width); 423 int32_t width = data.readInt32(); local 425 notifyResolution(width, height); 164 notifyResolution( uint32_t width, uint32_t height) argument
|
/frameworks/av/media/libmedia/ |
H A D | mediarecorder.cpp | 343 status_t MediaRecorder::setVideoSize(int width, int height) argument 345 ALOGV("setVideoSize(%d, %d)", width, height); 359 status_t ret = mMediaRecorder->setVideoSize(width, height);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 358 int32_t width; local 361 format->findInt32("width", &width) && format->findInt32("height", &height)) {
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 89 mVideoWidth = videoSize.width; 92 if (OK == mInitCheck && !trySettingVideoSize(videoSize.width, videoSize.height)) { 125 int32_t width, int32_t height) { 143 int32_t pictureWidth = supportedSizes[i].width; 146 if ((pictureWidth == width) && (pictureHeight == height)) { 153 ALOGV("Video size (%d, %d) is supported", width, height); 155 params.setVideoSize(width, height); 157 params.setPreviewSize(width, height); 162 ALOGE("Failed to set preview size to %dx%d", width, height); 124 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 | 144 int height, width, pred_width; local 172 /* width of luminance data in pixels (y axis) */ 173 width = video->width; 188 /* ypos*width -> row, +x -> column */ 189 offset = (int32)ypos * width + xpos; 260 video->mblock->pred_block, width, height, 276 pred_width = width; 280 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) && 286 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width), 567 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 533 Sad8x8(UChar *cur, UChar *prev, Int width) argument 599 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 ;
|
H A D | me_utils.cpp | 103 Input/Output: Center of the search, Half-pel memory, width 159 Input/Output: Center of the search, Half-pel memory, width 222 Int pitch, width, height; local 225 width = refVop->width; 233 temp2 = src[width-1]; /* top-right corner */ 246 M4VENC_MEMCPY(dst, src, width); 248 *((ULong*)(dst += width)) = temp2; 253 dst = dst - width - 16; 269 temp2 = src[width [all...] |
H A D | sad.cpp | 322 Int width = (lx - 32); local 344 kk += (width >> 2);
|
H A D | sad_halfpel.cpp | 19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh) 20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width) 21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh) 22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width) 24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument 75 else p2 = ref + width; 96 HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) argument 138 HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument 170 HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) argument 780 SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *extra_info) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
H A D | SoftVPX.cpp | 47 320 /* width */, 240 /* height */, callbacks, appData, component), 145 uint32_t width = mImg->d_w; local 150 handlePortSettingsChange(portWillReset, width, height); 199 uint32_t width = outputBufferWidth(); local 201 uint64_t nFilledLen = width; 205 (unsigned long long)nFilledLen, width, height);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_decoder.c | 627 Get width of the picture in macroblocks 636 picture width 671 picture width 831 width width of the image after cropping is stored here 841 u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) 854 *width = 16 * pStorage->activeSps->picWidthInMbs - 866 *width = 0; 885 sarHeight sample aspect ratio width 840 h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 229 int32_t *width, int32_t *height) const { 230 *width = 0; 242 *width = strtoul(s, &end, 10); 227 getDimensions( size_t index, unsigned long PT, int32_t *width, int32_t *height) const argument
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 184 size_t width, height, fps, score; local 186 if (!GetConfiguration(type, index, &width, &height, 191 score = width * height * fps * (!interlaced + 1); 195 &width, &height, &fps, &interlaced) 196 && score >= width * height * fps * (!interlaced + 1)) { 273 size_t *width, size_t *height, size_t *framesPerSecond, 283 if (config->width == 0) { 287 if (width) { 288 *width = config->width; 270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument 494 size_t width, height, framesPerSecond; local [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 454 int32_t *width, int32_t *height) { 455 if (!width || !height) { 466 if (w * h > s.width * s.height) { 467 w = s.width; 476 *width = w; 483 const sp<CameraHardwareInterface>& device, int32_t width, int32_t height) { 494 res = mSurfaceTexture->setDefaultBufferSize(width, height); 534 int32_t width, height; local 535 res = getSmallestSurfaceSize(&width, &height); 542 res = initializePreviewWindow(device, width, heigh 453 getSmallestSurfaceSize( int32_t *width, int32_t *height) argument 482 initializePreviewWindow( const sp<CameraHardwareInterface>& device, int32_t width, int32_t height) argument [all...] |