/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | decode.c | 226 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, in vlVdpDecoderRenderMpeg12() argument 233 r = vlVdpGetReferenceFrame(picture_info->forward_reference, &picture->ref[0]); in vlVdpDecoderRenderMpeg12() 237 r = vlVdpGetReferenceFrame(picture_info->backward_reference, &picture->ref[1]); in vlVdpDecoderRenderMpeg12() 241 picture->picture_coding_type = picture_info->picture_coding_type; in vlVdpDecoderRenderMpeg12() 242 picture->picture_structure = picture_info->picture_structure; in vlVdpDecoderRenderMpeg12() 243 picture->frame_pred_frame_dct = picture_info->frame_pred_frame_dct; in vlVdpDecoderRenderMpeg12() 244 picture->q_scale_type = picture_info->q_scale_type; in vlVdpDecoderRenderMpeg12() 245 picture->alternate_scan = picture_info->alternate_scan; in vlVdpDecoderRenderMpeg12() 246 picture->intra_vlc_format = picture_info->intra_vlc_format; in vlVdpDecoderRenderMpeg12() 247 picture->concealment_motion_vectors = picture_info->concealment_motion_vectors; in vlVdpDecoderRenderMpeg12() [all …]
|
/external/webp/src/enc/ |
D | picture_enc.c | 26 const WebPPicture* const picture) { in DummyWriter() argument 30 (void)picture; in DummyWriter() 34 int WebPPictureInitInternal(WebPPicture* picture, int version) { in WebPPictureInitInternal() argument 38 if (picture != NULL) { in WebPPictureInitInternal() 39 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal() 40 picture->writer = DummyWriter; in WebPPictureInitInternal() 41 WebPEncodingSetError(picture, VP8_ENC_OK); in WebPPictureInitInternal() 48 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { in WebPPictureResetBufferARGB() argument 49 picture->memory_argb_ = NULL; in WebPPictureResetBufferARGB() 50 picture->argb = NULL; in WebPPictureResetBufferARGB() [all …]
|
D | picture_csp_enc.c | 53 int WebPPictureHasTransparency(const WebPPicture* picture) { in WebPPictureHasTransparency() argument 54 if (picture == NULL) return 0; in WebPPictureHasTransparency() 55 if (!picture->use_argb) { in WebPPictureHasTransparency() 56 return CheckNonOpaque(picture->a, picture->width, picture->height, in WebPPictureHasTransparency() 57 1, picture->a_stride); in WebPPictureHasTransparency() 60 const uint32_t* argb = picture->argb; in WebPPictureHasTransparency() 62 for (y = 0; y < picture->height; ++y) { in WebPPictureHasTransparency() 63 for (x = 0; x < picture->width; ++x) { in WebPPictureHasTransparency() 66 argb += picture->argb_stride; in WebPPictureHasTransparency() 390 WebPPicture* const picture) { in ConvertWRGBToYUV() argument [all …]
|
/external/mesa3d/src/gallium/state_trackers/omx/ |
D | vid_dec_mpeg12.c | 82 priv->picture.base.profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN; in vid_dec_mpeg12_Init() 83 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Init() 84 priv->picture.mpeg12.non_intra_matrix = default_non_intra_matrix; in vid_dec_mpeg12_Init() 93 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in BeginFrame() 94 priv->picture.mpeg12.ref[0] = priv->picture.mpeg12.ref[1]; in BeginFrame() 95 priv->picture.mpeg12.ref[1] = NULL; in BeginFrame() 98 if (priv->target == priv->picture.mpeg12.ref[0]) { in BeginFrame() 106 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in BeginFrame() 114 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_mpeg12_EndFrame() 117 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in vid_dec_mpeg12_EndFrame() [all …]
|
D | vid_dec_h264.c | 90 priv->picture.base.profile = PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH; in vid_dec_h264_Init() 97 priv->picture.h264.field_order_cnt[0] = priv->picture.h264.field_order_cnt[1] = INT_MAX; in vid_dec_h264_Init() 116 templat.max_references = priv->picture.h264.num_ref_frames; in vid_dec_h264_BeginFrame() 120 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame() 131 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame() 133 priv->picture.h264.slice_count = 0; in vid_dec_h264_BeginFrame() 134 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_BeginFrame() 178 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_EndFrame() 182 priv->picture.h264.frame_num_list[0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame() 183 priv->picture.h264.field_order_cnt_list[0][0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame() [all …]
|
D | vid_dec_h265.c | 104 /* broken link access picture */ 112 /* random access point picture */ 128 priv->picture.h265.CurrPicOrderCntVal = i; in set_poc() 140 return priv->picture.h265.CurrPicOrderCntVal; in get_poc() 643 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h265_BeginFrame() 688 priv->picture.h265.NumPocStCurrBefore = 0; in vid_dec_h265_EndFrame() 689 priv->picture.h265.NumPocStCurrAfter = 0; in vid_dec_h265_EndFrame() 690 memset(priv->picture.h265.RefPicSetStCurrBefore, 0, 8); in vid_dec_h265_EndFrame() 691 memset(priv->picture.h265.RefPicSetStCurrAfter, 0, 8); in vid_dec_h265_EndFrame() 693 priv->picture.h265.ref[i] = NULL; in vid_dec_h265_EndFrame() [all …]
|
/external/webp/include/webp/ |
D | encode.h | 87 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot 121 int show_compressed; // if true, export the compressed picture back. 151 // of source picture. These presets are used when calling WebPConfigPreset(). 154 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot 230 // data/data_size is the segment of data to write, and 'picture' is for 231 // reference (and so one can make use of picture->custom_ptr). 233 const WebPPicture* picture); 254 const WebPPicture* picture); 259 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture); 277 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height [all …]
|
D | extras.h | 33 // Import luma sample (gray scale image) into 'picture'. The 'picture' 35 WEBP_EXTERN(int) WebPImportGray(const uint8_t* gray, WebPPicture* picture); 37 // Import rgb sample in RGB565 packed format into 'picture'. The 'picture' 41 // Import rgb sample in RGB4444 packed format into 'picture'. The 'picture'
|
/external/webp/src/webp/ |
D | encode.h | 87 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot 121 int show_compressed; // if true, export the compressed picture back. 151 // of source picture. These presets are used when calling WebPConfigPreset(). 154 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot 230 // data/data_size is the segment of data to write, and 'picture' is for 231 // reference (and so one can make use of picture->custom_ptr). 233 const WebPPicture* picture); 254 const WebPPicture* picture); 259 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture); 277 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height [all …]
|
/external/skia/include/effects/ |
D | SkPictureImageFilter.h | 17 * Refs the passed-in picture. 19 static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture); 22 * Refs the passed-in picture. cropRect can be used to crop or expand the destination rect when 23 * the picture is drawn. (No scaling is implied by the dest rect; only the CTM is applied.) 25 static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture, const SkRect& cropRect); 28 * Refs the passed-in picture. The picture is rasterized at a resolution that matches the 29 * local coordinate space. If the picture needs to be resampled for drawing it into the 31 * expand the destination rect when the picture is drawn. (No scaling is implied by the 34 static sk_sp<SkImageFilter> MakeForLocalSpace(sk_sp<SkPicture> picture, 51 * @param SkReadBuffer Serialized picture data. [all …]
|
/external/v4l2_codec2/vda/ |
D | picture.h | 18 // A picture buffer that has size and pixel format information. 44 // A decoded picture frame. 45 class Picture { 47 Picture(int32_t picture_buffer_id, 51 Picture(const Picture&); 52 ~Picture(); 54 // Returns the id of the picture buffer where this picture is contained. 64 // Returns the visible rectangle of the picture. Its size may be smaller 66 // Picture contained in the PictureBuffer.
|
D | h264_decoder.h | 38 // When the picture is no longer needed by decoder, it will just drop 49 // contains information about the picture for the current frame. 136 // Process current slice header to discover if we need to start a new picture, 139 // Process current slice as a slice of the current picture. 142 // Return true if we need to start a new picture. 145 // Initialize the current picture according to data in |slice_hdr|. 148 // Initialize |pic| as a "non-existing" picture (see spec) with |frame_num|, 152 // Calculate picture order counts for |pic| on initialization 157 // a picture with |frame_num|. 162 // Prepare reference picture lists for the current frame. [all …]
|
D | picture.cc | 5 #include "picture.h" 23 Picture::Picture(int32_t picture_buffer_id, in Picture() function in media::Picture 32 Picture::Picture(const Picture& other) = default; 34 Picture::~Picture() = default;
|
D | h264_dpb.h | 5 // This file contains an implementation of an H.264 Decoded Picture Buffer 23 // A picture (a frame or a field) in the H.264 spec sense. 61 bool idr; // IDR picture? 63 bool ref; // reference picture? 64 bool long_term; // long term reference picture? 67 // picture has finished decoding? 77 // memory management after finishing this picture. 93 // DPB - Decoded Picture Buffer. 108 // Remove a picture by its pic_order_cnt and free it. 114 // Store picture in DPB. DPB takes ownership of its resources. [all …]
|
D | video_decode_accelerator.h | 15 #include "picture.h" 142 // The list of picture buffer formats that the client knows how to use. An 153 // Interface for collaborating with picture interface to provide memory for 154 // output picture and blitting them. These callbacks will not be made unless 180 // Callback to dismiss picture buffer that was assigned earlier. 184 virtual void PictureReady(const Picture& picture) = 0; 235 // Assigns a set of texture-backed picture buffers to the video decoder. 237 // Ownership of each picture buffer remains with the client, but the client 242 // |buffers| contains the allocated picture buffers for the output. Note 248 // Imports |dmabuf_fds| as backing memory for picture buffer [all …]
|
/external/skia/tests/ |
D | PictureTest.cpp | 56 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_images_are_found_by_willPlayBackBitmaps() local 58 REPORTER_ASSERT(reporter, picture->willPlayBackBitmaps()); in test_images_are_found_by_willPlayBackBitmaps() 69 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_analysis() local 70 REPORTER_ASSERT(reporter, !picture->willPlayBackBitmaps()); in test_analysis() 99 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_deleting_empty_picture() local 104 // Ensure that serializing an empty picture does not assert. Likewise only runs in debug mode. 108 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_serializing_empty_picture() local 110 picture->serialize(&stream); in test_serializing_empty_picture() 175 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_gpu_veto() local 180 !SkPictureGpuAnalyzer(picture).suitableForGpuRasterization(&reason)); in test_gpu_veto() [all …]
|
D | PipeTest.cpp | 115 sk_sp<SkPicture> picture = []() { in DEF_TEST() local 128 wc->drawPicture(picture); in DEF_TEST() 131 REPORTER_ASSERT(reporter, offset0 > 100); // the raw picture must be sorta big in DEF_TEST() 134 // try drawing the same picture again -- it should be much smaller in DEF_TEST() 136 wc->drawPicture(picture); in DEF_TEST() 142 // try writing the picture directly, it should also be small in DEF_TEST() 143 sk_sp<SkData> data = serializer.writePicture(picture.get()); in DEF_TEST() 148 // try writing the picture directly, it should also be small in DEF_TEST() 149 data = serializer.writePicture(picture.get()); in DEF_TEST() 157 sk_sp<SkPicture> picture = []() { in DEF_TEST() local [all …]
|
D | PictureShaderTest.cpp | 16 // Test that attempting to create a picture shader with a nullptr picture or 17 // empty picture returns a shader that draws nothing. 52 sk_sp<SkPicture> picture = makePicture(); in DEF_TEST() local 53 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST() 59 paint.setShader(SkPictureShader::Make(picture, in DEF_TEST() 65 REPORTER_ASSERT(reporter, !picture->unique()); in DEF_TEST() 68 // Draw another picture shader to have a chance to purge. in DEF_TEST() 79 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
|
D | GpuLayerCacheTest.cpp | 53 const SkPicture& picture, 59 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), 67 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(), 73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); 122 sk_sp<SkPicture> picture; 127 // Draw something, anything, to prevent an empty-picture optimization, 130 picture = recorder.finishRecordingAsPicture(); 137 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0); 141 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), 170 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), [all …]
|
/external/libmpeg2/decoder/ |
D | impeg2d_globals.c | 46 /* frame prediction in P frame picture */ 49 /* field prediction in P frame picture */ 52 /* frame prediction in B frame picture */ 55 /* field prediction in B frame picture */ 58 /* dual prime prediction in P frame picture */ 62 /* field prediction in P field picture */ 64 /* 16x8 prediction in P field picture */ 66 /* field prediction in B field picture */ 68 /* 16x8 prediction in B field picture */ 70 /* dual prime prediction in P field picture */ [all …]
|
/external/skia/include/core/ |
D | SkPicture.h | 54 * Recreate a picture that was serialized into a stream. 66 * Recreate a picture that was serialized into a buffer. If the creation requires bitmap 69 * @param SkReadBuffer Serialized picture data. 77 * of the picture, this callback will periodically be invoked. If its 78 * abort() returns true, then picture playback will be interrupted. 93 this has the effect of unfurling this picture into the destination 101 /** Return a cull rect for this picture. 102 Ops recorded into this picture that attempt to draw outside the cull might not be drawn. 110 * Serialize the picture to SkData. If non nullptr, pixel-serializer will be used to 111 * customize how images reference by the picture are serialized/compressed. [all …]
|
D | SkMultiPictureDraw.h | 20 The MultiPictureDraw object accepts several picture/canvas pairs and 34 * Add a canvas/picture pair for later rendering. 35 * @param canvas the canvas in which to draw picture 36 * @param picture the picture to draw into canvas 38 * @param paint if non-NULL, draw picture to a temporary buffer 42 const SkPicture* picture,
|
D | SkPictureRecorder.h | 17 class Picture; variable 44 @param bounds the cull rect used when recording this picture. Any drawing the falls outside 70 * The returned picture is immutable. If during recording drawables were added to the canvas, 71 * these will have been "drawn" into a recording canvas, so that this resulting picture will 84 * @return the picture containing the recorded content. 94 * Unlike finishRecordingAsPicture(), which returns an immutable picture, the returned drawable 97 * it is drawn or a new picture is snapped from it (by calling drawable->newPictureSnapshot()). 108 friend class android::Picture;
|
/external/skia/src/effects/ |
D | SkPictureImageFilter.cpp | 19 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture) { in Make() argument 20 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture))); in Make() 23 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture, in Make() argument 25 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture), in Make() 32 sk_sp<SkImageFilter> SkPictureImageFilter::MakeForLocalSpace(sk_sp<SkPicture> picture, in MakeForLocalSpace() argument 35 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture), in MakeForLocalSpace() 42 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture) in SkPictureImageFilter() argument 44 , fPicture(std::move(picture)) in SkPictureImageFilter() 50 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, in SkPictureImageFilter() argument 55 , fPicture(std::move(picture)) in SkPictureImageFilter() [all …]
|
/external/libvncserver/client_examples/ |
D | vnc2mpg.c | 43 AVFrame *picture, *tmp_picture; variable 101 AVFrame *picture; in alloc_picture() local 105 picture = avcodec_alloc_frame(); in alloc_picture() 106 if (!picture) in alloc_picture() 111 av_free(picture); in alloc_picture() 114 avpicture_fill((AVPicture *)picture, picture_buf, in alloc_picture() 116 return picture; in alloc_picture() 151 /* allocate the encoded raw picture */ in open_video() 152 picture = alloc_picture(c->pix_fmt, c->width, c->height); in open_video() 153 if (!picture) { in open_video() [all …]
|