Searched refs:width (Results 76 - 100 of 355) sorted by relevance

1234567891011>>

/frameworks/base/media/libstagefright/
H A Davc_utils.cpp40 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) {
89 *width = pic_width_in_mbs_minus1 * 16 + 16;
123 *width -=
230 int32_t width, height; local
231 FindAVCDimensions(seqParamSet, &width, &height);
271 meta->setInt32(kKeyWidth, width);
274 LOGI("found AVC codec config (%d x %d)", width, height);
39 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) argument
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
H A DM4vH263Decoder.cpp73 void M4vH263Decoder::allocateFrames(int32_t width, int32_t height) { argument
75 (((width + 15) & - 16) * ((height + 15) & - 16) * 3) / 2;
139 int32_t width, height; local
140 PVGetVideoDimensions(mHandle, &width, &height);
141 if (mode == H263_MODE && (width == 0 || height == 0)) {
142 width = 352;
145 allocateFrames(width, height);
/frameworks/base/media/libstagefright/rtsp/
H A DAPacketSource.cpp107 const char *params, int32_t *width, int32_t *height) {
108 *width = 0;
194 FindAVCDimensions(nal, width, height);
195 LOGI("dimensions %dx%d", *width, *height);
332 const sp<ABuffer> &config, int32_t *width, int32_t *height) {
333 *width = 0;
416 *width = video_object_layer_width;
419 LOGI("VOL dimensions = %dx%d", *width, *height);
425 const char *params, int32_t *width, int32_t *height) {
426 *width
106 MakeAVCCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
331 ExtractDimensionsFromVOLHeader( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
424 MakeMPEG4VideoCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
518 int32_t width, height; local
550 int32_t width, height; local
603 int32_t width, height; local
[all...]
/frameworks/base/opengl/libagl/
H A DTextureObjectManager.cpp79 int w = surface.width;
152 sur.width = native_buffer->width;
182 surface.width = w;
214 mipmap.width = w;
230 uint32_t w = (prev->width >> 1) ? : 1;
232 if (w != curr->width || h != curr->height) {
/frameworks/base/cmds/stagefright/
H A Drecord.cpp45 DummySource(int width, int height, int colorFormat) argument
46 : mWidth(width),
49 mSize((width * height * 3) / 2) {
203 int width, height;
204 bool success = meta->findInt32(kKeyWidth, &width);
208 int width = 720; local
210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
217 enc_meta->setInt32(kKeyWidth, width);
221 enc_meta->setInt32(kKeyStride, width);
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dme_utils.cpp103 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 Dsad_halfpel.cpp19 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/base/core/java/android/text/style/
H A DImageSpan.java66 int width = mDrawable.getIntrinsicWidth();
68 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java160 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
161 super.initialize(width, height, parentWidth, parentHeight);
162 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
H A DTranslateAnimation.java163 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
164 super.initialize(width, height, parentWidth, parentHeight);
165 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth);
166 mToXDelta = resolveSize(mToXType, mToXValue, width, parentWidth);
/frameworks/base/libs/ui/
H A DPixelFormat.cpp25 size_t PixelFormatInfo::getScanlineSize(unsigned int width) const
30 size = (width * bitsPerPixel)>>3;
32 size = width * bytesPerPixel;
/frameworks/base/native/android/
H A Dnative_window.cpp60 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, argument
62 native_window_set_buffers_geometry(window, width, height, format);
81 outBuffer->width = (int32_t)info.w;
/frameworks/base/graphics/java/android/graphics/
H A DMovie.java32 public native int width(); method in class:Movie
H A DPicture.java57 public Canvas beginRecording(int width, int height) { argument
58 int ni = nativeBeginRecording(mNativePicture, width, height);
77 * Get the width of the picture as passed to beginRecording. This
/frameworks/base/media/libstagefright/codecs/aacenc/inc/
H A Dbit_cnt.h99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream);
/frameworks/base/media/libstagefright/codecs/avc/dec/include/
H A Dpvavcdecoder.h39 virtual void GetVideoDimensions(int32 *width, int32 *height, int32 *top, int32 *left, int32 *bottom, int32 *right);
H A Dpvavcdecoderinterface.h41 virtual void GetVideoDimensions(int32 *width, int32 *height, int32 *top, int32 *left, int32 *bottom, int32 *right) = 0;
/frameworks/base/media/libstagefright/include/
H A DM4vH263Decoder.h59 void allocateFrames(int32_t width, int32_t height);
/frameworks/base/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java232 int width = params.getInt("width", 0);
235 if (width <= 0 || height <= 0) {
262 return generateBitmap(context, bm, width, height);
274 int width = mService.getWidthHint();
277 if (width <= 0 || height <= 0) {
303 return generateBitmap(context, bm, width, height);
535 * Returns the desired minimum width for the wallpaper. Callers of
539 * minimum width.
541 * If the returned value is <= 0, the caller should use the width o
688 generateBitmap(Context context, Bitmap bm, int width, int height) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewStubTest.java80 assertEquals("Both stub and inflated should same width",
81 stub.getLayoutParams().width, swapped.getLayoutParams().width);
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp25 int width,
51 /* Calculate the width and height of the area in blocks (divide by 8) */
52 pp_w = (width >> 3);
56 w1 = width; /* Offset to next row in pixels */
57 w2 = width << 1; /* Offset to two rows in pixels */
60 incr = width - BLKSIZE; /* Offset to next row after processing block */
458 DeringAdaptiveSmoothMMX(ptr, width, thres, max_diff);
467 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff);
546 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff);
23 CombinedHorzVertRingFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
/frameworks/base/services/camera/libcameraservice/
H A DFakeCamera.cpp283 static void convert_rgb16_to_yuv420(uint8_t *rgb, uint8_t *yuv, int width, int height) argument
293 param[0] = (uint32_t) width;
295 param[2] = (uint32_t) width;
297 param[4] = (uint32_t) width;
312 FakeCamera::FakeCamera(int width, int height) argument
315 setSize(width, height);
323 void FakeCamera::setSize(int width, int height) argument
325 mWidth = width;
427 snprintf(buffer, 255, " width x height (%d x %d), counter (%d), check x-y coordinate(%d, %d)\n", mWidth, mHeight, mCounter, mCheckX, mCheckY);
/frameworks/base/media/libstagefright/codecs/on2/dec/
H A DVPXDecoder.cpp216 int32_t width = img->d_w; local
219 if (width != mWidth || height != mHeight) {
220 LOGI("Image dimensions changed, width = %d, height = %d",
221 width, height);
223 mWidth = width;
225 mFormat->setInt32(kKeyWidth, width);
265 output->set_range(0, (width * height * 3) / 2);
/frameworks/base/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp83 void init_scene(int width, int height) argument
93 float ratio = width / height;
94 glViewport(0, 0, width, height);
138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
145 init_scene(width, height);

Completed in 473 milliseconds

1234567891011>>