/packages/apps/Mms/src/com/android/mms/ui/ |
MmsThumbnailPresenter.java | 60 private void presentVideoThumbnail(SlideViewInterface view, VideoModel video) { 61 if (video.isDrmProtected()) { 62 showDrmIcon(view, video.getSrc()); 64 view.setVideo(video.getSrc(), video.getUri());
|
SlideshowEditor.java | 154 VideoModel video = new VideoModel(mContext, newVideo, local 157 slide.add(video); 158 slide.updateDuration(video.getDuration());
|
SlideshowPresenter.java | 220 * @param video 224 protected void presentVideo(SlideViewInterface view, VideoModel video, 227 view.setVideo(video.getSrc(), video.getUriWithDrmCheck()); 237 view.setVideoVisibility(video.isVisible()); 239 MediaAction action = video.getCurrentAction(); 247 view.seekVideo(video.getSeekTo());
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_gamma.c | 96 SDL_VideoDevice *video = current_video; local 109 if ( (succeeded < 0) && video->SetGamma ) { 111 succeeded = video->SetGamma(this, red, green, blue); 122 SDL_VideoDevice *video = current_video; local 137 if ( (succeeded < 0) && video->GetGamma ) { 139 succeeded = video->GetGamma(this, red, green, blue); 147 SDL_VideoDevice *video = current_video; local 153 SDL_SetError("No video mode has been set"); 158 if ( ! video->gamma ) { 164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma)) 198 SDL_VideoDevice *video = current_video; local [all...] |
SDL_yuv.c | 24 /* This is the implementation of the YUV video surface support */ 35 SDL_VideoDevice *video = current_video; local 45 /* Display directly on video surface, if possible */ 55 if ( ((display == SDL_VideoSurface) && video->CreateYUVOverlay) && 57 overlay = video->CreateYUVOverlay(this, w, h, format, display);
|
SDL_blit.c | 276 SDL_VideoDevice *video = current_video; local 278 video->CheckHWBlit(this, surface, surface->map->dst); 287 SDL_VideoDevice *video = current_video; local 289 video->CheckHWBlit(this, surface, surface->map->dst);
|
SDL_cursor.c | 111 SDL_VideoDevice *video = current_video; local 155 if ( video->CreateWMCursor ) { 156 cursor->wm_cursor = video->CreateWMCursor(video, data, mask, 166 the video mode and when the SDL window gains the mouse focus. 170 SDL_VideoDevice *video = current_video; local 173 /* Make sure that the video subsystem has been initialized */ 174 if ( ! video ) { 186 } else if ( video->MoveWMCursor ) { 187 /* If the video driver is moving the cursor directly 246 SDL_VideoDevice *video = current_video; local 279 SDL_VideoDevice *video = current_video; local 295 SDL_VideoDevice *video = current_video; local 323 SDL_VideoDevice *video = current_video; local 660 SDL_VideoDevice *video = current_video; local 734 SDL_VideoDevice *video = current_video; local [all...] |
/external/grub/stage2/ |
hercules.c | 84 volatile unsigned short *video local 87 video[herc_y * HERCULES_WIDTH + herc_x] 101 volatile unsigned long *video = (unsigned long *) HERCULES_VIDEO_ADDR; local 111 video[i] = 0x07200720; 119 volatile unsigned long *video = (unsigned long *) HERCULES_VIDEO_ADDR; local 122 video[i] = 0x07200720;
|
/external/webkit/WebCore/bindings/js/ |
JSCanvasRenderingContext2DCustom.cpp | 239 #if ENABLE(VIDEO) 241 HTMLVideoElement* video = static_cast<HTMLVideoElement*>(static_cast<JSHTMLElement*>(o)->impl()); local 244 context->drawImage(video, args.at(1).toFloat(exec), args.at(2).toFloat(exec)); 247 context->drawImage(video, args.at(1).toFloat(exec), args.at(2).toFloat(exec), 252 context->drawImage(video, FloatRect(args.at(1).toFloat(exec), args.at(2).toFloat(exec),
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
avcenc_api.cpp | 61 AVCCommonObj *video; local 92 video = encvid->common; 93 memset(video, 0, sizeof(AVCCommonObj)); 104 video->currSeqParams = (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet), DEFAULT_ATTR); 105 if (video->currSeqParams == NULL) 109 memset(video->currSeqParams, 0, sizeof(AVCSeqParamSet)); 112 video->currPicParams = (AVCPicParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCPicParamSet), DEFAULT_ATTR); 113 if (video->currPicParams == NULL) 117 memset(video->currPicParams, 0, sizeof(AVCPicParamSet)); 120 video->sliceHdr = (AVCSliceHeader*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSliceHeader), DEFAULT_AT (…) 287 AVCCommonObj *video = encvid->common; local 379 AVCCommonObj *video = encvid->common; local 561 AVCCommonObj *video = encvid->common; local 602 AVCCommonObj *video; local [all...] |
header.cpp | 27 AVCCommonObj *video = encvid->common; local 28 AVCSeqParamSet *seqParam = video->currSeqParams; 229 AVCCommonObj *video = encvid->common; local 231 AVCPicParamSet *picParam = video->currPicParams; 318 AVCCommonObj *video = encvid->common; local 319 AVCSliceHeader *sliceHdr = video->sliceHdr; 320 AVCPicParamSet *currPPS = video->currPicParams; 321 AVCSeqParamSet *currSPS = video->currSeqParams; 330 slice_type = video->slice_type; 332 if (video->mbNum == 0) /* first mb in frame * 650 AVCCommonObj *video = encvid->common; local [all...] |
init.cpp | 29 AVCCommonObj *video = encvid->common; local 30 AVCSeqParamSet *seqParam = video->currSeqParams; 31 AVCPicParamSet *picParam = video->currPicParams; 32 AVCSliceHeader *sliceHdr = video->sliceHdr; 63 video->MaxPicOrderCntLsb = 1 << (extS->log2_max_pic_order_cnt_lsb_minus4 + 4); 64 video->PicWidthInMbs = extS->pic_width_in_mbs_minus1 + 1; 65 video->PicHeightInMapUnits = extS->pic_height_in_map_units_minus1 + 1 ; 66 video->FrameHeightInMbs = (2 - extS->frame_mbs_only_flag) * video->PicHeightInMapUnits ; 70 video->MaxPicOrderCntLsb = 1 << (encParam->log2_max_poc_lsb_minus_4 + 4) 644 AVCCommonObj *video = encvid->common; local 707 AVCCommonObj *video = encvid->common; local 804 AVCCommonObj *video = encvid->common; local [all...] |
residual.cpp | 23 AVCCommonObj *video = encvid->common; local 26 int x_position = (video->mb_x << 4); 27 int y_position = (video->mb_y << 4); 44 pDst = video->currPic->Sl + offset1; 45 offset = video->PicWidthInSamplesL - 16; 77 pDst = video->currPic->Scb + ((offset1 + x_position) >> 2); 111 pDst = video->currPic->Scr + ((offset1 + x_position) >> 2); 148 AVCCommonObj *video = encvid->common; local 241 nC = predict_nnz(video, bindx & 3, bindx >> 2); 245 nC = predict_nnz_chroma(video, bindx & 3, bindx >> 2) [all...] |
block.cpp | 79 AVCCommonObj *video = encvid->common; local 81 int pitch = video->currPic->pitch; 82 int16 *coef = video->block; 83 uint8 *pred = video->pred_block; // size 16 for a 4x4 block 84 int pred_pitch = video->pred_pitch; 145 Rq = video->QPy_mod_6; 146 Qq = video->QPy_div_6; 192 if (video->currMB->mb_intra) // only do inverse transform with intra block 260 void MBInterIdct(AVCCommonObj *video, uint8 *curL, AVCMacroblock *currMB, int picPitch) 262 int16 *coef, *coef8 = video->block 362 AVCCommonObj *video = encvid->common; local 724 AVCCommonObj *video = encvid->common; local 1116 AVCCommonObj *video = encvid->common; local 1209 AVCCommonObj *video = encvid->common; local [all...] |
/external/grub/docs/ |
kernel.c | 32 /* The video memory address. */ 33 #define VIDEO 0xB8000 40 /* Point to the video memory. */ 41 static volatile unsigned char *video; variable 155 /* Clear the screen and initialize VIDEO, XPOS and YPOS. */ 161 video = (unsigned char *) VIDEO; 164 *(video + i) = 0; 230 *(video + (xpos + ypos * COLUMNS) * 2) = c & 0xFF; 231 *(video + (xpos + ypos * COLUMNS) * 2 + 1) = ATTRIBUTE [all...] |
/external/qemu/distrib/sdl-1.2.12/src/events/ |
SDL_keyboard.c | 54 SDL_VideoDevice *video = current_video; local 64 video->InitOSKeymap(this);
|
SDL_events.c | 102 SDL_VideoDevice *video = current_video; local 105 /* Get events from the video subsystem */ 106 if ( video ) { 107 video->PumpEvents(this); 369 SDL_VideoDevice *video = current_video; local 372 /* Get events from the video subsystem */ 373 if ( video ) { 374 video->PumpEvents(this);
|
/external/webkit/WebCore/loader/ |
MediaDocument.cpp | 28 #if ENABLE(VIDEO) 159 HTMLVideoElement* video = static_cast<HTMLVideoElement*>(targetNode); local 161 if (!video->canPlay()) { 162 video->pause(event->fromUserGesture()); 166 if (video->canPlay()) { 167 video->play(event->fromUserGesture()); 174 HTMLVideoElement* video = 0; local 177 video = static_cast<HTMLVideoElement*>(targetNode); 179 RefPtr<NodeList> nodeList = targetNode->getElementsByTagName("video"); 181 video = static_cast<HTMLVideoElement*>(nodeList.get()->item(0)) [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
avcdec_api.cpp | 196 AVCCommonObj *video; local 227 video = decvid->common; 228 memset(video, 0, sizeof(AVCCommonObj)); 230 video->seq_parameter_set_id = 9999; /* set it to some illegal value */ 244 video = decvid->common; 251 video->forbidden_bit = nal_unit[0] >> 7; 252 if (video->forbidden_bit) return AVCDEC_FAIL; 253 video->nal_ref_idc = (nal_unit[0] & 0x60) >> 5; 254 video->nal_unit_type = (AVCNalUnitType)(nal_unit[0] & 0x1F); 256 if (video->nal_unit_type != AVC_NALTYPE_SPS) /* not a SPS NAL * 327 AVCCommonObj *video; local 393 AVCCommonObj *video; local 450 AVCCommonObj *video; local 725 AVCCommonObj *video; local 904 AVCCommonObj *video; local 957 AVCCommonObj *video; local [all...] |
residual.cpp | 24 AVCDec_Status DecodeIntraPCM(AVCCommonObj *video, AVCDecBitstream *stream) 33 mb_x = video->mb_x; 34 mb_y = video->mb_y; 37 pDst = video->pred_block + 84; 40 offset1 = (mb_x << 4) + (mb_y << 4) * video->PicWidthInSamplesL; 41 pDst = video->currPic->Sl + offset1; 42 pitch = video->currPic->pitch; 92 pDst = video->pred_block + 452; 96 pDst = video->currPic->Scb + offset1; 129 pDst = video->pred_block + 596 174 AVCCommonObj *video = decvid->common; local [all...] |
slice.cpp | 32 AVCCommonObj *video = decvid->common; local 33 AVCSliceHeader *sliceHdr = video->sliceHdr; 41 slice_group_id = video->MbToSliceGroupMap[CurrMbAddr]; 43 if ((CurrMbAddr && (CurrMbAddr != (uint)(video->mbNum + 1))) && video->currSeqParams->constrained_set1_flag == 1) 45 ConcealSlice(decvid, video->mbNum, CurrMbAddr); 49 video->mb_skip_run = -1; 55 if (CurrMbAddr >= video->PicSizeInMbs) 60 currMB = video->currMB = &(video->mblock[CurrMbAddr]) 119 AVCCommonObj *video = decvid->common; local 717 AVCCommonObj *video = decvid->common; local [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_dequant.cpp | 53 VideoDecData *video = (VideoDecData*) vid; local 54 Vol *currVol = video->vol[video->currLayer]; 55 BitstreamDecVideo *stream = video->bitstream; 56 int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero !!!*/ 57 int mbnum = video->mbnum; 58 uint CBP = video->headerInfo.CBP[mbnum]; 59 int QP = video->QPMB[mbnum]; 60 typeDCStore *DC = video->predDC + mbnum; 61 int x_pos = video->mbnum_col 386 VideoDecData *video = (VideoDecData*) vid; local [all...] |
pvdec_api.cpp | 59 /* Purpose : Initialization of the MPEG-4 video decoder library. */ 70 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 86 video = IMEM_VideoDecData; 88 video = (VideoDecData *) oscl_malloc(sizeof(VideoDecData)); 90 if (video != NULL) 92 oscl_memset(video, 0, sizeof(VideoDecData)); 93 video->memoryUsage = sizeof(VideoDecData); 94 video->numberOfLayers = nLayers; 96 video->vol = (Vol **) IMEM_VOL; 98 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *)) 284 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 528 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 556 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 720 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 726 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 742 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 758 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 774 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 798 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 828 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 842 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 859 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1032 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1243 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1457 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1529 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1546 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1600 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1641 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 188 output.write("H263 video record- reset after prepare Stress test\n"); 231 //Stress test case for switching camera and video recorder preview. 239 output.write("Camera and video recorder preview switching\n"); 283 Log.v(TAG, "release video recorder"); 310 File video = new File(filename); local 311 Log.v(TAG, "remove recorded video " + filename); 312 video.delete(); 315 //Stress test case for record a video and play right away. 334 output.write("Video record and play back stress test:\n");
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
bitstream_io.cpp | 45 /* Purpose : Create a bitstream to hold one encoded video packet or frame */ 320 /* Purpose : bit stuffing for next start code in short video header */ 776 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) 780 stream->video = video; 789 VideoEncData *video = stream->video; local 801 if (video->overrunBuffer) 803 M4VENC_FREE(video->overrunBuffer); 805 video->oBSize = stream->oBSize [all...] |