/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
conceal.cpp | 18 #include "mp4dec_lib.h" /* video decoder function prototypes */ 31 void ConcealTexture_I(VideoDecData *video, int32 startFirstPartition, int mb_start, int mb_stop, int slice_counter) 34 BitstreamDecVideo *stream = video->bitstream; 36 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr; 40 video->usePrevQP = 0; 43 video->mbnum = mbnum; 44 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow); 45 video->mbnum_col = mbnum - video->mbnum_row * video->nMBPerRow [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...] |
datapart_decode.cpp | 39 PV_STATUS DecodeFrameDataPartMode(VideoDecData *video) 42 Vop *currVop = video->currVop; 43 BitstreamDecVideo *stream = video->bitstream; 45 int nMBPerRow = video->nMBPerRow; 49 int nTotalMB = video->nTotalMB; 61 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB); 62 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB); 73 // oscl_memset(video->sliceNo, 0, sizeof(uint8)*nTotalMB); 79 video->mbnum = mbnum; 80 video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow); /* This is needed if nbnum is read from the packet h (…) [all...] |
combined_decode.cpp | 18 #include "mp4dec_lib.h" /* video decoder function prototypes */ 42 PV_STATUS DecodeFrameCombinedMode(VideoDecData *video) 46 Vop *currVop = video->currVop; 47 BitstreamDecVideo *stream = video->bitstream; 48 int shortVideoHeader = video->shortVideoHeader; 49 int16 QP, *QPMB = video->QPMB; 50 uint8 *Mode = video->headerInfo.Mode; 51 int nTotalMB = video->nTotalMB; 52 int nMBPerRow = video->nMBPerRow; 72 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB) [all...] |
vop.cpp | 80 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer) 96 currVol = video->vol[layer]; 105 /* Bitstream Exchange requires we allow start with Video Object Sequence */ 252 video->shortVideoHeader = TRUE; 275 video->shortVideoHeader = 0; 406 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13); 409 video->width = (video->width + 15) & -16; 410 // video->displayWidth += (video->displayWidth & 0x1); /* displayed image should be even size * [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
mp4enc_api.cpp | 131 Int DetermineCodingLayer(VideoEncData *video, Int *nLayer, ULong modTime); 132 void DetermineVopType(VideoEncData *video, Int currLayer); 133 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status); 134 Bool SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized); 193 VideoEncData *video; local 220 video = (VideoEncData *)M4VENC_MALLOC(sizeof(VideoEncData)); /* allocate memory for encData */ 222 if (video == NULL) 225 M4VENC_MEMSET(video, 0, sizeof(VideoEncData)); 227 encoderControl->videoEncoderData = (void *) video; /* set up pointer in VideoEncData structure */ 229 video->encParams = (VideoEncParams *)M4VENC_MALLOC(sizeof(VideoEncParams)) 1081 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local 1327 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 1358 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 1651 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 1842 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 2048 VideoEncData* video; local 2405 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local 2570 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local [all...] |
datapart_encode.cpp | 36 PV_STATUS EncodeFrameDataPartMode(VideoEncData *video) 39 Vol *currVol = video->vol[video->currLayer]; 40 Vop *currVop = video->currVop; 41 VideoEncParams *encParams = video->encParams; 47 UChar *QPMB = video->QPMB; 51 BitstreamEncVideo *bs1 = video->bitstream1; 52 BitstreamEncVideo *bs2 = video->bitstream2; 53 BitstreamEncVideo *bs3 = video->bitstream3; 61 video->QP_prev = currVop->quantizer [all...] |
combined_encode.cpp | 25 PV_STATUS EncodeGOBHeader(VideoEncData *video, Int GOB_number, Int quant_scale, Int bs1stream); 37 PV_STATUS EncodeFrameCombinedMode(VideoEncData *video) 40 Vol *currVol = video->vol[video->currLayer]; 41 Vop *currVop = video->currVop; 42 VideoEncParams *encParams = video->encParams; 48 UChar *QPMB = video->QPMB; 53 BitstreamEncVideo *bs1 = video->bitstream1; 64 video->QP_prev = currVop->quantizer; 105 video->usePrevQP = 0 [all...] |
vop.cpp | 28 PV_STATUS EncodeVop_BXRC(VideoEncData *video); 29 PV_STATUS EncodeVop_NoME(VideoEncData *video); 39 PV_STATUS EncodeVop(VideoEncData *video) 43 Int currLayer = video->currLayer; 44 Vol *currVol = video->vol[currLayer]; 45 Vop *currVop = video->currVop; 46 // BitstreamEncVideo *stream=video->bitstream1; 47 UChar *Mode = video->headerInfo.Mode; 48 rateControl **rc = video->rc; 75 MotionEstimation(video); /* do ME for the whole frame * [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
dpb.cpp | 22 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMbs, bool padding) 24 AVCDecPicBuffer *dpb = video->decPicBuf; 31 level = video->currSeqParams->level_idc; 41 video->padded_size = (int)((((FrameHeightInMbs + 2) * (PicWidthInMbs + 2)) << 7) * 3) - framesize; 45 video->padded_size = 0; 63 if (video->currSeqParams->num_ref_frames + 1 > (uint32)dpb->num_fs) 65 dpb->num_fs = video->currSeqParams->num_ref_frames + 1; 68 dpb->dpb_size = dpb->num_fs * (framesize + video->padded_size); 99 video->RefPicList0[num_fs] = &(dpb->fs[num_fs]->frame); 101 dpb->used_size += (framesize + video->padded_size) [all...] |
mb_access.cpp | 22 OSCL_EXPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum) 24 int PicWidthInMbs = video->PicWidthInMbs; 27 video->mbAddrA = mbNum - 1; 28 video->mbAddrB = mbNum - PicWidthInMbs; 29 video->mbAddrC = mbNum - PicWidthInMbs + 1; 30 video->mbAddrD = mbNum - PicWidthInMbs - 1; 32 video->mbAvailA = video->mbAvailB = video->mbAvailC = video->mbAvailD = 0 [all...] |
reflist.cpp | 21 OSCL_EXPORT_REF void RefListInit(AVCCommonObj *video) 23 AVCSliceHeader *sliceHdr = video->sliceHdr; 24 AVCDecPicBuffer *dpb = video->decPicBuf; 25 int slice_type = video->slice_type; 34 video->refList0Size = 0; 35 video->refList1Size = 0; 47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; 71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; 78 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame); 85 video->RefPicList0[0] = &(dpb->fs[0]->frame) [all...] |
/external/qemu/distrib/sdl-1.2.15/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_video.c | 24 /* The high-level video driver subsystem */ 34 /* Available video drivers */ 149 * Initialize the video and event subsystems -- determine native pixel format 153 SDL_VideoDevice *video; local 174 /* Select the proper video driver */ 176 video = NULL; 186 video = bootstrap[i]->create(index); 194 video = bootstrap[i]->create(index); 195 if ( video != NULL ) { 201 if ( video == NULL ) 333 SDL_VideoDevice *video = current_video; local 585 SDL_VideoDevice *video, *this; local 1040 SDL_VideoDevice *video = current_video; local 1107 SDL_VideoDevice *video = current_video; local 1186 SDL_VideoDevice *video = current_video; local 1304 SDL_VideoDevice *video = current_video; local 1349 SDL_VideoDevice *video = current_video; local 1411 SDL_VideoDevice *video = current_video; local 1430 SDL_VideoDevice *video = current_video; local 1451 SDL_VideoDevice *video = current_video; local 1518 SDL_VideoDevice* video = current_video; local 1533 SDL_VideoDevice *video = current_video; local 1701 SDL_VideoDevice *video = current_video; local 1730 SDL_VideoDevice *video = current_video; local 1804 SDL_VideoDevice *video = current_video; local 1837 SDL_VideoDevice *video = current_video; local 1876 SDL_VideoDevice *video = current_video; local 1924 SDL_VideoDevice *video = current_video; local 1940 SDL_VideoDevice *video = current_video; local 1973 SDL_VideoDevice* video = current_video; local 1984 SDL_VideoDevice* video = current_video; local 1998 SDL_VideoDevice* video = current_video; local 2009 SDL_VideoDevice* video = current_video; local 2020 SDL_VideoDevice* video = current_video; local 2033 SDL_VideoDevice *video = current_video; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
decode_test_driver.cc | 28 void DecoderTest::RunLoop(CompressedVideoSource *video) { 34 for (video->Begin(); video->cxdata(); video->Next()) { 35 PreDecodeFrameHook(*video, decoder); 36 vpx_codec_err_t res_dec = decoder->DecodeFrame(video->cxdata(), 37 video->frame_size()); 45 DecompressedFrameHook(*img, video->frame_number());
|
vp8_decrypt_test.cc | 47 libvpx_test::IVFVideoSource video("vp80-00-comprehensive-001.ivf"); 48 video.Init(); 53 video.Begin(); 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); 60 video.Next(); 62 std::vector<uint8_t> encrypted(video.frame_size()); 63 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0);
|
vp9_decrypt_test.cc | 47 libvpx_test::IVFVideoSource video("vp90-2-05-resize.ivf"); 48 video.Init(); 53 video.Begin(); 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); 60 video.Next(); 62 std::vector<uint8_t> encrypted(video.frame_size()); 63 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0);
|
/external/libvpx/libvpx/test/ |
decode_test_driver.cc | 28 void DecoderTest::RunLoop(CompressedVideoSource *video) { 34 for (video->Begin(); video->cxdata(); video->Next()) { 35 PreDecodeFrameHook(*video, decoder); 36 vpx_codec_err_t res_dec = decoder->DecodeFrame(video->cxdata(), 37 video->frame_size()); 45 DecompressedFrameHook(*img, video->frame_number());
|
vp8_decrypt_test.cc | 47 libvpx_test::IVFVideoSource video("vp80-00-comprehensive-001.ivf"); 48 video.Init(); 53 video.Begin(); 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); 60 video.Next(); 63 std::vector<uint8_t> encrypted(video.frame_size()); 64 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0); 69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size()) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
decode_test_driver.cc | 28 void DecoderTest::RunLoop(CompressedVideoSource *video) { 34 for (video->Begin(); video->cxdata(); video->Next()) { 35 PreDecodeFrameHook(*video, decoder); 36 vpx_codec_err_t res_dec = decoder->DecodeFrame(video->cxdata(), 37 video->frame_size()); 45 DecompressedFrameHook(*img, video->frame_number());
|
vp8_decrypt_test.cc | 47 libvpx_test::IVFVideoSource video("vp80-00-comprehensive-001.ivf"); 48 video.Init(); 53 video.Begin(); 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); 60 video.Next(); 63 std::vector<uint8_t> encrypted(video.frame_size()); 64 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0); 69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size()) [all...] |
/frameworks/base/data/videos/ |
VideoPackage1.mk | 20 TARGET_PATH := system/media/video
|
VideoPackage2.mk | 20 TARGET_PATH := system/media/video
|
/external/chromium_org/chrome/browser/resources/feedback/js/ |
take_screenshot.js | 12 var video = document.createElement('video'); 14 video.addEventListener('canplay', function(e) { 17 canvas.setAttribute('width', video.videoWidth); 18 canvas.setAttribute('height', video.videoHeight); 20 video, 0, 0, video.videoWidth, video.videoHeight); 22 video.pause(); 23 video.src = '' [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
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...] |